X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fgrammar%2Flenv.ma;h=c34238632d50c18f97f9044bb0295291fa3a3b04;hb=a2092f7ba4c7c566ea90653ff57e4623ab94d8d5;hp=95e155b74e52d06592f6e3553eddcf402562c519;hpb=4aa343ba8e1c807108203ece4e142c81b27d28e8;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/grammar/lenv.ma b/matita/matita/contribs/lambdadelta/basic_2/grammar/lenv.ma index 95e155b74..c34238632 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/grammar/lenv.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/grammar/lenv.ma @@ -46,15 +46,13 @@ axiom eq_lenv_dec: ∀L1,L2:lenv. Decidable (L1 = L2). lemma destruct_lpair_lpair: ∀I1,I2,L1,L2,V1,V2. L1.ⓑ{I1}V1 = L2.ⓑ{I2}V2 → ∧∧L1 = L2 & I1 = I2 & V1 = V2. -#I1 #I2 #L1 #L2 #V1 #V2 #H destruct /2 width=1/ +#I1 #I2 #L1 #L2 #V1 #V2 #H destruct /2 width=1 by and3_intro/ qed-. lemma discr_lpair_x_xy: ∀I,V,L. L = L.ⓑ{I}V → ⊥. #I #V #L elim L -L [ #H destruct | #L #J #W #IHL #H - elim (destruct_lpair_lpair … H) -H #H1 #H2 #H3 destruct /2 width=1/ (**) (* destruct lemma needed *) + elim (destruct_lpair_lpair … H) -H #H1 #H2 #H3 destruct /2 width=1 by/ (**) (* destruct lemma needed *) ] qed-. - -(* Basic_1: removed theorems 2: chead_ctail c_tail_ind *)