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_teqx.ma;h=c465039d82a48fb76b25c6ffaedc0fd0cf8905ed;hp=90aca3c7eaf4468e26fa3d6079ce2d12189b0b52;hb=ca7327c20c6031829fade8bb84a3a1bb66113f54;hpb=25c634037771dff0138e5e8e3d4378183ff49b86 diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm_teqx.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm_teqx.ma index 90aca3c7e..c465039d8 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm_teqx.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_transition/cpm_teqx.ma @@ -19,21 +19,21 @@ include "basic_2/rt_transition/cpm_drops.ma". (* Inversion lemmas with sort-irrelevant equivalence for terms **************) -lemma cpm_teqx_inv_lref_sn (n) (h) (G) (L) (i): - ∀X. ❪G,L❫ ⊢ #i ➡[n,h] X → #i ≛ X → +lemma cpm_teqx_inv_lref_sn (h) (n) (G) (L) (i): + ∀X. ❪G,L❫ ⊢ #i ➡[h,n] X → #i ≛ X → ∧∧ X = #i & n = 0. -#n #h #G #L #i #X #H1 #H2 +#h #n #G #L #i #X #H1 #H2 lapply (teqx_inv_lref1 … H2) -H2 #H destruct elim (cpm_inv_lref1_drops … H1) -H1 // * [| #m ] #K #V1 #V2 #_ #_ #H -V1 elim (lifts_inv_lref2_uni_lt … H) -H // qed-. -lemma cpm_teqx_inv_atom_sn (n) (h) (I) (G) (L): - ∀X. ❪G,L❫ ⊢ ⓪[I] ➡[n,h] X → ⓪[I] ≛ X → +lemma cpm_teqx_inv_atom_sn (h) (n) (I) (G) (L): + ∀X. ❪G,L❫ ⊢ ⓪[I] ➡[h,n] X → ⓪[I] ≛ X → ∨∨ ∧∧ X = ⓪[I] & n = 0 | ∃∃s. X = ⋆(⫯[h]s) & I = Sort s & n = 1. -#n #h * #s #G #L #X #H1 #H2 +#h #n * #s #G #L #X #H1 #H2 [ elim (cpm_inv_sort1 … H1) -H1 cases n -n [| #n ] #H #Hn destruct -H2 [ /3 width=1 by or_introl, conj/