X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Freduction%2Ffpb.ma;h=8872199fd35cd35adf76602d4ac7dee228dd4415;hb=a02ba10c669642bd4b75a5b0ac9351c24ddb724a;hp=06ff76ac9813f99dc1cae8b9417215f8cc10723c;hpb=f5cd5870668ed096f6d93b005e2acd3bd555f3b0;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/reduction/fpb.ma b/matita/matita/contribs/lambdadelta/basic_2/reduction/fpb.ma index 06ff76ac9..8872199fd 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/reduction/fpb.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/reduction/fpb.ma @@ -12,25 +12,29 @@ (* *) (**************************************************************************) -include "basic_2/notation/relations/btpred_8.ma". -include "basic_2/relocation/fsup.ma". -include "basic_2/static/ssta.ma". -include "basic_2/reduction/lpr.ma". +include "basic_2/notation/relations/btpredproper_8.ma". +include "basic_2/substitution/fqu.ma". +include "basic_2/multiple/lleq.ma". +include "basic_2/reduction/lpx.ma". -(* "BIG TREE" PARALLEL REDUCTION FOR CLOSURES *******************************) +(* "RST" PROPER PARALLEL COMPUTATION FOR CLOSURES ***************************) inductive fpb (h) (g) (G1) (L1) (T1): relation3 genv lenv term ≝ -| fpb_fsup : ∀G2,L2,T2. ⦃G1, L1, T1⦄ ⊃ ⦃G2, L2, T2⦄ → fpb h g G1 L1 T1 G2 L2 T2 -| fpb_lpr : ∀L2. ⦃G1, L1⦄ ⊢ ➡ L2 → fpb h g G1 L1 T1 G1 L2 T1 -| fpb_cpr : ∀T2. ⦃G1, L1⦄ ⊢ T1 ➡ T2 → fpb h g G1 L1 T1 G1 L1 T2 -| fpb_ssta : ∀T2,l. ⦃G1, L1⦄ ⊢ T1 ▪[h, g] l+1 → ⦃G1, L1⦄ ⊢ T1 •[h, g] T2 → fpb h g G1 L1 T1 G1 L1 T2 +| fpb_fqu: ∀G2,L2,T2. ⦃G1, L1, T1⦄ ⊐ ⦃G2, L2, T2⦄ → fpb h g G1 L1 T1 G2 L2 T2 +| fpb_cpx: ∀T2. ⦃G1, L1⦄ ⊢ T1 ➡[h, g] T2 → (T1 = T2 → ⊥) → fpb h g G1 L1 T1 G1 L1 T2 +| fpb_lpx: ∀L2. ⦃G1, L1⦄ ⊢ ➡[h, g] L2 → (L1 ≡[T1, 0] L2 → ⊥) → fpb h g G1 L1 T1 G1 L2 T1 . interpretation - "'big tree' parallel reduction (closure)" - 'BTPRed h g G1 L1 T1 G2 L2 T2 = (fpb h g G1 L1 T1 G2 L2 T2). + "'rst' proper parallel reduction (closure)" + 'BTPRedProper h g G1 L1 T1 G2 L2 T2 = (fpb h g G1 L1 T1 G2 L2 T2). (* Basic properties *********************************************************) -lemma fpb_refl: ∀h,g. tri_reflexive … (fpb h g). -/2 width=1 by fpb_cpr/ qed. +lemma cpr_fpb: ∀h,g,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡ T2 → (T1 = T2 → ⊥) → + ⦃G, L, T1⦄ ≻[h, g] ⦃G, L, T2⦄. +/3 width=1 by fpb_cpx, cpr_cpx/ qed. + +lemma lpr_fpb: ∀h,g,G,L1,L2,T. ⦃G, L1⦄ ⊢ ➡ L2 → (L1 ≡[T, 0] L2 → ⊥) → + ⦃G, L1, T⦄ ≻[h, g] ⦃G, L2, T⦄. +/3 width=1 by fpb_lpx, lpr_lpx/ qed.