X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Ffpbg.ma;h=1a3d604e9ef226564349b4f8b4f0ba049b7b80c4;hb=3c7b4071a9ac096b02334c1d47468776b948e2de;hp=c1e2b94c1cbca338c80ecd6d8c171b05faa39e26;hpb=e9f96fa56226dfd74de214c89d827de0c5018ac7;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/fpbg.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/fpbg.ma index c1e2b94c1..1a3d604e9 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/fpbg.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/fpbg.ma @@ -12,28 +12,59 @@ (* *) (**************************************************************************) -include "basic_2/notation/relations/lazybtpredstarproper_8.ma". -include "basic_2/reduction/fpb.ma". -include "basic_2/computation/fpbs.ma". +include "ground/xoa/ex_2_3.ma". +include "basic_2/notation/relations/predsubtystarproper_6.ma". +include "basic_2/rt_transition/fpb.ma". +include "basic_2/rt_computation/fpbs.ma". -(* "QRST" PROPER PARALLEL COMPUTATION FOR CLOSURES **************************) +(* PROPER PARALLEL RST-COMPUTATION FOR CLOSURES *****************************) -definition fpbg: ∀h. sd h → tri_relation genv lenv term ≝ - λh,o,G1,L1,T1,G2,L2,T2. - ∃∃G,L,T. ⦃G1, L1, T1⦄ ≻[h, o] ⦃G, L, T⦄ & ⦃G, L, T⦄ ≥[h, o] ⦃G2, L2, T2⦄. +definition fpbg: tri_relation genv lenv term ≝ + λG1,L1,T1,G2,L2,T2. + ∃∃G,L,T. ❪G1,L1,T1❫ ≻ ❪G,L,T❫ & ❪G,L,T❫ ≥ ❪G2,L2,T2❫. -interpretation "'qrst' proper parallel computation (closure)" - 'LazyBTPRedStarProper h o G1 L1 T1 G2 L2 T2 = (fpbg h o G1 L1 T1 G2 L2 T2). +interpretation "proper parallel rst-computation (closure)" + 'PRedSubTyStarProper G1 L1 T1 G2 L2 T2 = (fpbg G1 L1 T1 G2 L2 T2). (* Basic properties *********************************************************) -lemma fpb_fpbg: ∀h,o,G1,G2,L1,L2,T1,T2. ⦃G1, L1, T1⦄ ≻[h, o] ⦃G2, L2, T2⦄ → - ⦃G1, L1, T1⦄ >≡[h, o] ⦃G2, L2, T2⦄. +lemma fpb_fpbg: + ∀G1,G2,L1,L2,T1,T2. + ❪G1,L1,T1❫ ≻ ❪G2,L2,T2❫ → ❪G1,L1,T1❫ > ❪G2,L2,T2❫. /2 width=5 by ex2_3_intro/ qed. -lemma fpbg_fpbq_trans: ∀h,o,G1,G,G2,L1,L,L2,T1,T,T2. - ⦃G1, L1, T1⦄ >≡[h, o] ⦃G, L, T⦄ → ⦃G, L, T⦄ ≽[h, o] ⦃G2, L2, T2⦄ → - ⦃G1, L1, T1⦄ >≡[h, o] ⦃G2, L2, T2⦄. -#h #o #G1 #G #G2 #L1 #L #L2 #T1 #T #T2 * +lemma fpbg_fpbq_trans: + ∀G1,G,G2,L1,L,L2,T1,T,T2. + ❪G1,L1,T1❫ > ❪G,L,T❫ → ❪G,L,T❫ ≽ ❪G2,L2,T2❫ → + ❪G1,L1,T1❫ > ❪G2,L2,T2❫. +#G1 #G #G2 #L1 #L #L2 #T1 #T #T2 * /3 width=9 by fpbs_strap1, ex2_3_intro/ qed-. + +lemma fpbg_fqu_trans: + ∀G1,G,G2,L1,L,L2,T1,T,T2. + ❪G1,L1,T1❫ > ❪G,L,T❫ → ❪G,L,T❫ ⬂ ❪G2,L2,T2❫ → + ❪G1,L1,T1❫ > ❪G2,L2,T2❫. +#G1 #G #G2 #L1 #L #L2 #T1 #T #T2 #H1 #H2 +/4 width=5 by fpbg_fpbq_trans, fpbq_fquq, fqu_fquq/ +qed-. + +(* Note: this is used in the closure proof *) +lemma fpbg_fpbs_trans: + ∀G,G2,L,L2,T,T2. ❪G,L,T❫ ≥ ❪G2,L2,T2❫ → + ∀G1,L1,T1. ❪G1,L1,T1❫ > ❪G,L,T❫ → ❪G1,L1,T1❫ > ❪G2,L2,T2❫. +#G #G2 #L #L2 #T #T2 #H @(fpbs_ind_dx … H) -G -L -T /3 width=5 by fpbg_fpbq_trans/ +qed-. + +(* Basic_2A1: uses: fpbg_fleq_trans *) +lemma fpbg_feqx_trans: + ∀G1,G,L1,L,T1,T. ❪G1,L1,T1❫ > ❪G,L,T❫ → + ∀G2,L2,T2. ❪G,L,T❫ ≛ ❪G2,L2,T2❫ → ❪G1,L1,T1❫ > ❪G2,L2,T2❫. +/3 width=5 by fpbg_fpbq_trans, fpbq_feqx/ qed-. + +(* Properties with t-bound rt-transition for terms **************************) + +lemma cpm_tneqx_cpm_fpbg (h) (G) (L): + ∀n1,T1,T. ❪G,L❫ ⊢ T1 ➡[h,n1] T → (T1 ≛ T → ⊥) → + ∀n2,T2. ❪G,L❫ ⊢ T ➡[h,n2] T2 → ❪G,L,T1❫ > ❪G,L,T2❫. +/4 width=5 by fpbq_fpbs, cpm_fpbq, cpm_fpb, ex2_3_intro/ qed.