X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fdynamic%2Fcnv_preserve_far.ma;h=971541b21fe05ce14b2b42f6f4a32c379444e8ac;hp=e8f2c8e2f415dbf91c3de367241d31cdf70a2eb0;hb=d71e53021b0c17e1a00c2d623e7139c6d18069d5;hpb=f9abd21eb0d26cf9b632af4df819225be4d091e3 diff --git a/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_preserve_far.ma b/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_preserve_far.ma index e8f2c8e2f..971541b21 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_preserve_far.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_preserve_far.ma @@ -12,6 +12,7 @@ (* *) (**************************************************************************) +include "basic_2/notation/relations/predstar_7.ma". include "basic_2/rt_computation/fpbg.ma". include "basic_2/rt_computation/cpms_fpbs.ma". include "basic_2/dynamic/cnv.ma". @@ -20,6 +21,13 @@ include "basic_2/dynamic/cnv.ma". (* Inductive premises for the preservation results **************************) +definition cpsms (n) (h) (o): relation4 genv lenv term term ≝ λG,L,T1,T2. + ∃∃n1,n2,T. T1 ≛[h,o] T → ⊥ & ⦃G, L⦄ ⊢ T1 ➡[n1,h] T & ⦃G, L⦄ ⊢ T ➡*[n2,h] T2 & n1+n2 = n. + +interpretation + "context-sensitive parallel stratified t-bound rt-computarion (term)" + 'PRedStar n h o G L T1 T2 = (cpsms n h o G L T1 T2). + definition IH_cnv_cpm_trans_lpr (a) (h): relation3 genv lenv term ≝ λG,L1,T1. ⦃G, L1⦄ ⊢ T1 ![a,h] → ∀n,T2. ⦃G, L1⦄ ⊢ T1 ➡[n,h] T2 → @@ -48,6 +56,12 @@ definition IH_cnv_cpms_conf_lpr (a) (h): relation3 genv lenv term ≝ ∀L1. ⦃G, L0⦄ ⊢ ➡[h] L1 → ∀L2. ⦃G, L0⦄ ⊢ ➡[h] L2 → ∃∃T. ⦃G, L1⦄ ⊢ T1 ➡*[n2-n1,h] T & ⦃G, L2⦄ ⊢ T2 ➡*[n1-n2,h] T. +definition IH_cnv_cpsms_conf_lpr (a) (h) (o): relation3 genv lenv term ≝ + λG,L0,T0. ⦃G, L0⦄ ⊢ T0 ![a,h] → + ∀n1,T1. ⦃G, L0⦄ ⊢ T0 ➡*[n1,h,o] T1 → ∀n2,T2. ⦃G, L0⦄ ⊢ T0 ➡*[n2,h,o] T2 → + ∀L1. ⦃G, L0⦄ ⊢ ➡[h] L1 → ∀L2. ⦃G, L0⦄ ⊢ ➡[h] L2 → + ∃∃T. ⦃G, L1⦄ ⊢ T1 ➡*[n2-n1,h] T & ⦃G, L2⦄ ⊢ T2 ➡*[n1-n2,h] T. + (* Properties for preservation **********************************************) lemma cnv_cpms_trans_lpr_far (a) (h) (o):