X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_transition%2Fcpm.ma;h=341ecee8cfde5b23e00b615b04c4d3ef40673cc7;hp=4ab5cff5158f89858a59da58262be730d804d42f;hb=5c92c318030a05c766b3f6070dbd23589cbdee04;hpb=fb4c641d43be3d601104751363782553bea0fb6b diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm.ma index 4ab5cff51..341ecee8c 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm.ma @@ -121,9 +121,8 @@ lemma cpr_refl: ∀h,G,L. reflexive … (cpm h G L 0). (* Advanced properties ******************************************************) -lemma cpm_sort_iter (h) (G) (L): - ∀n. n ≤ 1 → - ∀s. ⦃G,L⦄ ⊢ ⋆s ➡ [n,h] ⋆((next h)^n s). +lemma cpm_sort (h) (G) (L): + ∀n. n ≤ 1 → ∀s. ⦃G,L⦄ ⊢ ⋆s ➡[n,h] ⋆((next h)^n s). #h #G #L * // #n #H #s <(le_n_O_to_eq n) /2 width=1 by le_S_S_to_le/ qed. @@ -232,6 +231,13 @@ elim (cpm_inv_bind1 … H) -H ] qed-. +lemma cpm_inv_abst_bi: ∀n,h,p1,p2,G,L,V1,V2,T1,T2. ⦃G,L⦄ ⊢ ⓛ{p1}V1.T1 ➡[n,h] ⓛ{p2}V2.T2 → + ∧∧ ⦃G,L⦄ ⊢ V1 ➡[h] V2 & ⦃G,L.ⓛV1⦄ ⊢ T1 ➡[n,h] T2 & p1 = p2. +#n #h #p1 #p2 #G #L #V1 #V2 #T1 #T2 #H +elim (cpm_inv_abst1 … H) -H #XV #XT #HV #HT #H destruct +/2 width=1 by and3_intro/ +qed-. + (* Basic_1: includes: pr0_gen_appl pr2_gen_appl *) (* Basic_2A1: includes: cpr_inv_appl1 *) lemma cpm_inv_appl1: ∀n,h,G,L,V1,U1,U2. ⦃G, L⦄ ⊢ ⓐ V1.U1 ➡[n, h] U2 →