X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Fcpms_fpbg.ma;h=9a6f712d4c62e773682079ee71b6443f888bcd97;hb=9605ffc88831066a901ea4eb8e419f277662f372;hp=baa4aa7f9d7abb833e1347aab065e2d12dbf6a39;hpb=f308429a0fde273605a2330efc63268b4ac36c99;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpms_fpbg.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpms_fpbg.ma index baa4aa7f9..9a6f712d4 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpms_fpbg.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpms_fpbg.ma @@ -12,7 +12,8 @@ (* *) (**************************************************************************) -include "basic_2/rt_computation/fpbg_fqup.ma". +include "basic_2/rt_transition/cpm_fpbc.ma". +include "basic_2/rt_computation/fpbg_fqus.ma". include "basic_2/rt_computation/fpbg_cpxs.ma". include "basic_2/rt_computation/cpms_fpbs.ma". @@ -20,29 +21,29 @@ include "basic_2/rt_computation/cpms_fpbs.ma". (* Forward lemmas with proper parallel rst-computation for closures *********) -lemma cpms_tdneq_fwd_fpbg (h) (n): - ∀G,L,T1,T2. ⦃G,L⦄ ⊢ T1 ➡*[n,h] T2 → - (T1 ≛ T2 → ⊥) → ⦃G,L,T1⦄ >[h] ⦃G,L,T2⦄. -/3 width=2 by cpms_fwd_cpxs, cpxs_tdneq_fpbg/ qed-. +lemma cpms_tneqx_fwd_fpbg (h) (n): + ∀G,L,T1,T2. ❨G,L❩ ⊢ T1 ➡*[h,n] T2 → + (T1 ≅ T2 → ⊥) → ❨G,L,T1❩ > ❨G,L,T2❩. +/3 width=3 by cpms_fwd_cpxs, cpxs_tneqx_fpbg/ qed-. lemma fpbg_cpms_trans (h) (n): - ∀G1,G2,L1,L2,T1,T. ⦃G1,L1,T1⦄ >[h] ⦃G2,L2,T⦄ → - ∀T2. ⦃G2,L2⦄ ⊢ T ➡*[n,h] T2 → ⦃G1,L1,T1⦄ >[h] ⦃G2,L2,T2⦄. + ∀G1,G2,L1,L2,T1,T. ❨G1,L1,T1❩ > ❨G2,L2,T❩ → + ∀T2. ❨G2,L2❩ ⊢ T ➡*[h,n] T2 → ❨G1,L1,T1❩ > ❨G2,L2,T2❩. /3 width=5 by fpbg_fpbs_trans, cpms_fwd_fpbs/ qed-. lemma cpms_fpbg_trans (h) (n): - ∀G1,L1,T1,T. ⦃G1,L1⦄ ⊢ T1 ➡*[n,h] T → - ∀G2,L2,T2. ⦃G1,L1,T⦄ >[h] ⦃G2,L2,T2⦄ → ⦃G1,L1,T1⦄ >[h] ⦃G2,L2,T2⦄. + ∀G1,L1,T1,T. ❨G1,L1❩ ⊢ T1 ➡*[h,n] T → + ∀G2,L2,T2. ❨G1,L1,T❩ > ❨G2,L2,T2❩ → ❨G1,L1,T1❩ > ❨G2,L2,T2❩. /3 width=5 by fpbs_fpbg_trans, cpms_fwd_fpbs/ qed-. lemma fqup_cpms_fwd_fpbg (h): - ∀G1,G2,L1,L2,T1,T. ⦃G1,L1,T1⦄ ⊐+ ⦃G2,L2,T⦄ → - ∀n,T2. ⦃G2,L2⦄ ⊢ T ➡*[n,h] T2 → ⦃G1,L1,T1⦄ >[h] ⦃G2,L2,T2⦄. + ∀G1,G2,L1,L2,T1,T. ❨G1,L1,T1❩ ⬂+ ❨G2,L2,T❩ → + ∀n,T2. ❨G2,L2❩ ⊢ T ➡*[h,n] T2 → ❨G1,L1,T1❩ > ❨G2,L2,T2❩. /3 width=5 by cpms_fwd_fpbs, fqup_fpbg, fpbg_fpbs_trans/ qed-. -lemma cpm_tdneq_cpm_cpms_tdeq_sym_fwd_fpbg (h) (G) (L) (T1): - ∀n1,T. ⦃G,L⦄ ⊢ T1 ➡[n1,h] T → (T1 ≛ T → ⊥) → - ∀n2,T2. ⦃G,L⦄⊢ T ➡*[n2,h] T2 → T1 ≛ T2 → ⦃G,L,T1⦄ >[h] ⦃G,L,T1⦄. +lemma cpm_tneqx_cpm_cpms_teqx_sym_fwd_fpbg (h) (G) (L) (T1): + ∀n1,T. ❨G,L❩ ⊢ T1 ➡[h,n1] T → (T1 ≅ T → ⊥) → + ∀n2,T2. ❨G,L❩⊢ T ➡*[h,n2] T2 → T1 ≅ T2 → ❨G,L,T1❩ > ❨G,L,T1❩. #h #G #L #T1 #n1 #T #H1T1 #H2T1 #n2 #T2 #H1T2 #H2T12 -/4 width=7 by cpms_fwd_fpbs, cpm_fpb, fpbs_tdeq_trans, tdeq_sym, ex2_3_intro/ +/4 width=10 by fpbc_fpbs_fpbg, cpms_fwd_fpbs, fpbs_teqg_trans, cpm_fwd_fpbc, teqx_sym/ qed-.