X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fcomputation%2Fcpxe.ma;h=00fd04247f90aefe5d1ee428c42c2cbc421e3566;hb=5275f55f5ec528edbb223834f3ec2cf1d3ce9b84;hp=6d1ffd2b8f26b1fec5e91535ff3284a7fb61e602;hpb=57d4059f087d447300841f92d4724ab61f0e3d20;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/computation/cpxe.ma b/matita/matita/contribs/lambdadelta/basic_2/computation/cpxe.ma index 6d1ffd2b8..00fd04247 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/computation/cpxe.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/computation/cpxe.ma @@ -19,16 +19,16 @@ include "basic_2/computation/csx.ma". (* EVALUATION FOR CONTEXT-SENSITIVE EXTENDED PARALLEL REDUCTION ON TERMS ****) definition cpxe: ∀h. sd h → relation4 genv lenv term term ≝ - λh,g,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡*[h, g] T2 ∧ ⦃G, L⦄ ⊢ ➡[h, g] 𝐍⦃T2⦄. + λh,o,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡*[h, o] T2 ∧ ⦃G, L⦄ ⊢ ➡[h, o] 𝐍⦃T2⦄. interpretation "evaluation for context-sensitive extended parallel reduction (term)" - 'PRedEval h g G L T1 T2 = (cpxe h g G L T1 T2). + 'PRedEval h o G L T1 T2 = (cpxe h o G L T1 T2). (* Basic properties *********************************************************) -lemma csx_cpxe: ∀h,g,G,L,T1. ⦃G, L⦄ ⊢ ⬊*[h, g] T1 → ∃T2. ⦃G, L⦄ ⊢ T1 ➡*[h, g] 𝐍⦃T2⦄. -#h #g #G #L #T1 #H @(csx_ind … H) -T1 -#T1 #_ #IHT1 elim (cnx_dec h g G L T1) /3 width=3 by ex_intro, conj/ +lemma csx_cpxe: ∀h,o,G,L,T1. ⦃G, L⦄ ⊢ ⬊*[h, o] T1 → ∃T2. ⦃G, L⦄ ⊢ T1 ➡*[h, o] 𝐍⦃T2⦄. +#h #o #G #L #T1 #H @(csx_ind … H) -T1 +#T1 #_ #IHT1 elim (cnx_dec h o G L T1) /3 width=3 by ex_intro, conj/ * #T #H1T1 #H2T1 elim (IHT1 … H1T1 H2T1) -IHT1 -H2T1 #T2 * /4 width=3 by cpxs_strap2, ex_intro, conj/ qed-.