X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fstatic%2Ffle.ma;h=cfc4778db2cf5fa4768ef8b582e7ea9ec18411ea;hb=990f97071a9939d47be16b36f6045d3b23f218e0;hp=1ba1b6c01b55e0100d41fd97ff08e04d92e59cdd;hpb=02128ad2d07f4763e311a7f449d87aa022014c1f;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/static/fle.ma b/matita/matita/contribs/lambdadelta/basic_2/static/fle.ma index 1ba1b6c01..cfc4778db 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/static/fle.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/static/fle.ma @@ -12,40 +12,9 @@ (* *) (**************************************************************************) -include "ground_2/relocation/rtmap_id.ma". -include "basic_2/notation/relations/subseteq_4.ma". -include "basic_2/static/frees.ma". +include "basic_2/static/fsle.ma". -(* FREE VARIABLES INCLUSION FOR RESTRICTED CLOSURES *************************) +(* FREE VARIABLES INCLUSION FOR TERMS ***************************************) -definition fle: bi_relation lenv term ≝ λL1,T1,L2,T2. - ∃∃f1,f2. L1 ⊢ 𝐅*⦃T1⦄ ≡ f1 & L2 ⊢ 𝐅*⦃T2⦄ ≡ f2 & f1 ⊆ f2. - -interpretation "free variables inclusion (restricted closure)" - 'SubSetEq L1 T1 L2 T2 = (fle L1 T1 L2 T2). - -(* Basic properties *********************************************************) - -lemma fle_sort: ∀L1,L2,s1,s2. ⦃L1, ⋆s1⦄ ⊆ ⦃L2, ⋆s2⦄. -/3 width=5 by frees_sort, sle_refl, ex3_2_intro/ qed. - -lemma fle_gref: ∀L1,L2,l1,l2. ⦃L1, §l1⦄ ⊆ ⦃L2, §l2⦄. -/3 width=5 by frees_gref, sle_refl, ex3_2_intro/ qed. - -lemma fle_bind: ∀L1,L2,V1,V2. ⦃L1, V1⦄ ⊆ ⦃L2, V2⦄ → - ∀I1,I2,T1,T2. ⦃L1.ⓑ{I1}V1, T1⦄ ⊆ ⦃L2.ⓑ{I2}V2, T2⦄ → - ∀p. ⦃L1, ⓑ{p,I1}V1.T1⦄ ⊆ ⦃L2, ⓑ{p,I2}V2.T2⦄. -#L1 #L2 #V1 #V2 * #f1 #g1 #HV1 #HV2 #Hfg1 #I1 #I2 #T1 #T2 * #f2 #g2 #Hf2 #Hg2 #Hfg2 #p -elim (sor_isfin_ex f1 (⫱f2)) /3 width=3 by frees_fwd_isfin, isfin_tl/ #f #Hf #_ -elim (sor_isfin_ex g1 (⫱g2)) /3 width=3 by frees_fwd_isfin, isfin_tl/ #g #Hg #_ -/4 width=12 by frees_bind, monotonic_sle_sor, sle_tl, ex3_2_intro/ -qed. - -lemma fle_flat: ∀L1,L2,V1,V2. ⦃L1, V1⦄ ⊆ ⦃L2, V2⦄ → - ∀T1,T2. ⦃L1, T1⦄ ⊆ ⦃L2, T2⦄ → - ∀I1,I2. ⦃L1, ⓕ{I1}V1.T1⦄ ⊆ ⦃L2, ⓕ{I2}V2.T2⦄. -#L1 #L2 #V1 #V2 * #f1 #g1 #HV1 #HV2 #Hfg1 #T1 #T2 * #f2 #g2 #Hf2 #Hg2 #Hfg2 #I1 #I2 -elim (sor_isfin_ex f1 f2) /2 width=3 by frees_fwd_isfin/ #f #Hf #_ -elim (sor_isfin_ex g1 g2) /2 width=3 by frees_fwd_isfin/ #g #Hg #_ -/3 width=12 by frees_flat, monotonic_sle_sor, ex3_2_intro/ -qed. +interpretation "free variables inclusion (term)" + 'subseteq T1 T2 = (fsle LAtom T1 LAtom T2).