X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fstatic%2Ffle_fqup.ma;h=aeed5c14632b0e9eed36f5a226df5827e1ff3b82;hb=aff2f21cec89cf343297ae6bd720fc6573a3aba1;hp=23e46034183feec47e74025cb04ceb78c1efd0c4;hpb=6ed4f0127b8acb6caeba6fbfadef7f990dd7803e;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/static/fle_fqup.ma b/matita/matita/contribs/lambdadelta/basic_2/static/fle_fqup.ma index 23e460341..aeed5c146 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/static/fle_fqup.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/static/fle_fqup.ma @@ -18,31 +18,44 @@ include "basic_2/static/fle.ma". (* FREE VARIABLES INCLUSION FOR RESTRICTED CLOSURES *************************) (* Advanced properties ******************************************************) - +(* lemma fle_refl: bi_reflexive … fle. #L #T elim (frees_total L T) /2 width=5 by sle_refl, ex3_2_intro/ qed. - -lemma fle_bind_sn: ∀p,I,L,V,T. ⦃L, V⦄ ⊆ ⦃L, ⓑ{p,I}V.T⦄. -#p #I #L #V #T -elim (frees_total L V) #f1 #Hf1 -elim (frees_total (L.ⓑ{I}V) T) #f2 #Hf2 -elim (sor_isfin_ex f1 (⫱f2)) /3 width=3 by frees_fwd_isfin, isfin_tl/ #f #Hf #_ -/3 width=6 by frees_bind, sor_inv_sle_sn, ex3_2_intro/ +*) +lemma fle_bind_dx_sn: ∀L1,L2,V1,V2. ⦃L1, V1⦄ ⊆ ⦃L2, V2⦄ → + ∀p,I,T2. ⦃L1, V1⦄ ⊆ ⦃L2, ⓑ{p,I}V2.T2⦄. +#L1 #L2 #V1 #V2 * -L1 #f1 #g1 #L1 #n #Hf1 #Hg1 #HL12 #Hfg1 #p #I #T2 +elim (frees_total (L2.ⓧ) T2) #g2 #Hg2 +elim (sor_isfin_ex g1 (⫱g2)) /3 width=3 by frees_fwd_isfin, isfin_tl/ #g #Hg #_ +/4 width=8 by fle_intro, frees_bind_void, sor_inv_sle_sn, sle_trans/ qed. +(* +lemma fle_bind_dx_dx: ∀L1,L2,T1,T2. ⦃L1.ⓧ, T1⦄ ⊆ ⦃L2.ⓧ, T2⦄ → + ∀p,I,V2. ⦃L1.ⓧ, T1⦄ ⊆ ⦃L2, ⓑ{p,I}V2.T2⦄. +#L1 #L2 #T1 #T2 * -L1 #f2 #g2 #L1 #n #Hf2 #Hg2 #HL12 #Hfg2 #p #I #V2 +elim (frees_total L2 V2) #g1 #Hg1 +elim (sor_isfin_ex g1 (⫱g2)) /3 width=3 by frees_fwd_isfin, isfin_tl/ #g #Hg #_ +@(fle_intro … g … Hf2) /2 width=5 by frees_bind_void/ +@(sle_trans … Hfg1) @(sor_inv_sle_sn … Hg) + -lemma fle_flat_sn: ∀I,L,V,T. ⦃L, V⦄ ⊆ ⦃L, ⓕ{I}V.T⦄. -#I #L #V #T -elim (frees_total L V) #f1 #Hf1 -elim (frees_total L T) #f2 #Hf2 -elim (sor_isfin_ex f1 f2) /2 width=3 by frees_fwd_isfin/ #f #Hf #_ -/3 width=6 by frees_flat, sor_inv_sle_sn, ex3_2_intro/ + +/4 width=8 by fle_intro, frees_bind_void, sor_inv_sle_dx, sle_trans/ +qed. +*) +lemma fle_flat_dx_sn: ∀L1,L2,V1,V2. ⦃L1, V1⦄ ⊆ ⦃L2, V2⦄ → + ∀I,T2. ⦃L1, V1⦄ ⊆ ⦃L2, ⓕ{I}V2.T2⦄. +#L1 #L2 #V1 #V2 * -L1 #f1 #g1 #L1 #n #Hf1 #Hg1 #HL12 #Hfg1 #I #T2 +elim (frees_total L2 T2) #g2 #Hg2 +elim (sor_isfin_ex g1 g2) /2 width=3 by frees_fwd_isfin/ #g #Hg #_ +/4 width=8 by fle_intro, frees_flat, sor_inv_sle_sn, sle_trans/ qed. -lemma fle_flat_dx: ∀I,L,V,T. ⦃L, T⦄ ⊆ ⦃L, ⓕ{I}V.T⦄. -#I #L #V #T -elim (frees_total L V) #f1 #Hf1 -elim (frees_total L T) #f2 #Hf2 -elim (sor_isfin_ex f1 f2) /2 width=3 by frees_fwd_isfin/ #f #Hf #_ -/3 width=6 by frees_flat, sor_inv_sle_dx, ex3_2_intro/ +lemma fle_flat_dx_dx: ∀L1,L2,T1,T2. ⦃L1, T1⦄ ⊆ ⦃L2, T2⦄ → + ∀I,V2. ⦃L1, T1⦄ ⊆ ⦃L2, ⓕ{I}V2.T2⦄. +#L1 #L2 #T1 #T2 * -L1 #f2 #g2 #L1 #n #Hf2 #Hg2 #HL12 #Hfg2 #I #V2 +elim (frees_total L2 V2) #g1 #Hg1 +elim (sor_isfin_ex g1 g2) /2 width=3 by frees_fwd_isfin/ #g #Hg #_ +/4 width=8 by fle_intro, frees_flat, sor_inv_sle_dx, sle_trans/ qed.