X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fcomputation%2Fcpre.ma;h=d94fb6fba36ae33791978996f93bde46aa740cd4;hb=ad3ca38634cfae29e8c26d0ab23cb466407eca5e;hp=2e81a1a0a31e64a50a980138f994653ead0c63e8;hpb=606dab57f31b66eb3f30f603185124b88dfad4c1;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/computation/cpre.ma b/matita/matita/contribs/lambdadelta/basic_2/computation/cpre.ma index 2e81a1a0a..d94fb6fba 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/computation/cpre.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/computation/cpre.ma @@ -12,23 +12,23 @@ (* *) (**************************************************************************) -include "basic_2/notation/relations/peval_4.ma". +include "basic_2/notation/relations/predeval_4.ma". include "basic_2/computation/cprs.ma". include "basic_2/computation/csx.ma". -(* CONTEXT-SENSITIVE PARALLEL EVALUATION ON TERMS **************************) +(* EVALUATION FOR CONTEXT-SENSITIVE PARALLEL REDUCTION ON TERMS *************) definition cpre: relation4 genv lenv term term ≝ λG,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡* T2 ∧ ⦃G, L⦄ ⊢ ➡ 𝐍⦃T2⦄. -interpretation "context-sensitive parallel evaluation (term)" - 'PEval G L T1 T2 = (cpre G L T1 T2). +interpretation "evaluation for context-sensitive parallel reduction (term)" + 'PRedEval G L T1 T2 = (cpre G L T1 T2). -(* Basic_properties *********************************************************) +(* Basic properties *********************************************************) (* Basic_1: was just: nf2_sn3 *) -lemma csx_cpre: ∀h,g,G,L,T1. ⦃G, L⦄ ⊢ ⬊*[h, g] T1 → ∃T2. ⦃G, L⦄ ⊢ T1 ➡* 𝐍⦃T2⦄. -#h #g #G #L #T1 #H @(csx_ind … H) -T1 +lemma csx_cpre: ∀h,o,G,L,T1. ⦃G, L⦄ ⊢ ⬊*[h, o] T1 → ∃T2. ⦃G, L⦄ ⊢ T1 ➡* 𝐍⦃T2⦄. +#h #o #G #L #T1 #H @(csx_ind … H) -T1 #T1 #_ #IHT1 elim (cnr_dec G L T1) /3 width=3 by ex_intro, conj/ * #T #H1T1 #H2T1 elim (IHT1 … H2T1) -IHT1 -H2T1 /2 width=2 by cpr_cpx/ #T2 * /4 width=3 by cprs_strap2, ex_intro, conj/