X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Frelocation%2Fsex_tc.ma;h=379cfc75146fdc8ff995e03bd8024a131e71cad9;hp=c892868cbbff68842c0366b806b05d385339ae94;hb=bd53c4e895203eb049e75434f638f26b5a161a2b;hpb=3b7b8afcb429a60d716d5226a5b6ab0d003228b1 diff --git a/matita/matita/contribs/lambdadelta/static_2/relocation/sex_tc.ma b/matita/matita/contribs/lambdadelta/static_2/relocation/sex_tc.ma index c892868cb..379cfc751 100644 --- a/matita/matita/contribs/lambdadelta/static_2/relocation/sex_tc.ma +++ b/matita/matita/contribs/lambdadelta/static_2/relocation/sex_tc.ma @@ -18,7 +18,7 @@ include "static_2/relocation/sex.ma". (* GENERIC ENTRYWISE EXTENSION OF CONTEXT-SENSITIVE REALTIONS FOR TERMS *****) definition s_rs_transitive_isid: relation (relation3 lenv bind bind) ≝ λRN,RP. - ∀f. 𝐈⦃f⦄ → s_rs_transitive … RP (λ_.sex RN RP f). + ∀f. 𝐈❪f❫ → s_rs_transitive … RP (λ_.sex RN RP f). (* Properties with transitive closure ***************************************) @@ -28,28 +28,28 @@ lemma sex_tc_refl: ∀RN,RP. c_reflexive … RN → c_reflexive … RP → lemma sex_tc_next_sn: ∀RN,RP. c_reflexive … RN → ∀f,I2,L1,L2. TC … (sex RN RP f) L1 L2 → ∀I1. RN L1 I1 I2 → - TC … (sex RN RP (↑f)) (L1.ⓘ{I1}) (L2.ⓘ{I2}). + TC … (sex RN RP (↑f)) (L1.ⓘ[I1]) (L2.ⓘ[I2]). #RN #RP #HRN #f #I2 #L1 #L2 #H @(TC_ind_dx ??????? H) -L1 /3 width=3 by sex_next, TC_strap, inj/ qed. lemma sex_tc_next_dx: ∀RN,RP. c_reflexive … RN → c_reflexive … RP → ∀f,I1,I2,L1. (CTC … RN) L1 I1 I2 → ∀L2. L1 ⪤[RN,RP,f] L2 → - TC … (sex RN RP (↑f)) (L1.ⓘ{I1}) (L2.ⓘ{I2}). + TC … (sex RN RP (↑f)) (L1.ⓘ[I1]) (L2.ⓘ[I2]). #RN #RP #HRN #HRP #f #I1 #I2 #L1 #H elim H -I2 /4 width=5 by sex_refl, sex_next, step, inj/ qed. lemma sex_tc_push_sn: ∀RN,RP. c_reflexive … RP → ∀f,I2,L1,L2. TC … (sex RN RP f) L1 L2 → ∀I1. RP L1 I1 I2 → - TC … (sex RN RP (⫯f)) (L1.ⓘ{I1}) (L2.ⓘ{I2}). + TC … (sex RN RP (⫯f)) (L1.ⓘ[I1]) (L2.ⓘ[I2]). #RN #RP #HRP #f #I2 #L1 #L2 #H @(TC_ind_dx ??????? H) -L1 /3 width=3 by sex_push, TC_strap, inj/ qed. lemma sex_tc_push_dx: ∀RN,RP. c_reflexive … RN → c_reflexive … RP → ∀f,I1,I2,L1. (CTC … RP) L1 I1 I2 → ∀L2. L1 ⪤[RN,RP,f] L2 → - TC … (sex RN RP (⫯f)) (L1.ⓘ{I1}) (L2.ⓘ{I2}). + TC … (sex RN RP (⫯f)) (L1.ⓘ[I1]) (L2.ⓘ[I2]). #RN #RP #HRN #HRP #f #I1 #I2 #L1 #H elim H -I2 /4 width=5 by sex_refl, sex_push, step, inj/ qed. @@ -68,21 +68,21 @@ qed. theorem sex_tc_next: ∀RN,RP. c_reflexive … RN → c_reflexive … RP → ∀f,I1,I2,L1. (CTC … RN) L1 I1 I2 → ∀L2. TC … (sex RN RP f) L1 L2 → - TC … (sex RN RP (↑f)) (L1.ⓘ{I1}) (L2.ⓘ{I2}). + TC … (sex RN RP (↑f)) (L1.ⓘ[I1]) (L2.ⓘ[I2]). #RN #RP #HRN #HRP #f #I1 #I2 #L1 #H elim H -I2 /4 width=5 by sex_tc_next_sn, sex_tc_refl, trans_TC/ qed. theorem sex_tc_push: ∀RN,RP. c_reflexive … RN → c_reflexive … RP → ∀f,I1,I2,L1. (CTC … RP) L1 I1 I2 → ∀L2. TC … (sex RN RP f) L1 L2 → - TC … (sex RN RP (⫯f)) (L1.ⓘ{I1}) (L2.ⓘ{I2}). + TC … (sex RN RP (⫯f)) (L1.ⓘ[I1]) (L2.ⓘ[I2]). #RN #RP #HRN #HRP #f #I1 #I2 #L1 #H elim H -I2 /4 width=5 by sex_tc_push_sn, sex_tc_refl, trans_TC/ qed. (* Basic_2A1: uses: TC_lpx_sn_ind *) theorem sex_tc_step_dx: ∀RN,RP. s_rs_transitive_isid RN RP → - ∀f,L1,L. L1 ⪤[RN,RP,f] L → 𝐈⦃f⦄ → + ∀f,L1,L. L1 ⪤[RN,RP,f] L → 𝐈❪f❫ → ∀L2. L ⪤[RN,CTC … RP,f] L2 → L1⪤ [RN,CTC … RP,f] L2. #RN #RP #HRP #f #L1 #L #H elim H -f -L1 -L [ #f #_ #Y #H -HRP >(sex_inv_atom1 … H) -Y // ] @@ -99,7 +99,7 @@ qed-. (* Advanced properties ******************************************************) lemma sex_tc_dx: ∀RN,RP. s_rs_transitive_isid RN RP → - ∀f. 𝐈⦃f⦄ → ∀L1,L2. TC … (sex RN RP f) L1 L2 → L1 ⪤[RN,CTC … RP,f] L2. + ∀f. 𝐈❪f❫ → ∀L1,L2. TC … (sex RN RP f) L1 L2 → L1 ⪤[RN,CTC … RP,f] L2. #RN #RP #HRP #f #Hf #L1 #L2 #H @(TC_ind_dx ??????? H) -L1 /3 width=3 by sex_tc_step_dx, sex_tc_inj_dx/ qed.