X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Frtmap_sle.ma;h=c5d9428a562f07cb48c74c9e29d275627458a570;hb=8509994e58db23307b45081491d35d5f7ff6ea6f;hp=29614b3dc5c0a09a86a75e73f85f59fc3d5426ee;hpb=325bc2fb36e8f8db99a152037d71332c9ac7eff9;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_sle.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_sle.ma index 29614b3dc..c5d9428a5 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_sle.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/rtmap_sle.ma @@ -79,6 +79,13 @@ lemma sle_inv_px: ∀g1,g2. g1 ⊆ g2 → ∀f1. ↑f1 = g1 → /3 width=3 by ex2_intro, or_introl, or_intror/ qed-. +lemma sle_inv_xn: ∀g1,g2. g1 ⊆ g2 → ∀f2. ⫯f2 = g2 → + (∃∃f1. f1 ⊆ f2 & ↑f1 = g1) ∨ ∃∃f1. f1 ⊆ f2 & ⫯f1 = g1. +#g1 #g2 elim (pn_split g1) * #f1 #H1 #H #f2 #H2 +[ lapply (sle_inv_pn … H … H1 H2) | lapply (sle_inv_nn … H … H1 H2) ] -H -H2 +/3 width=3 by ex2_intro, or_introl, or_intror/ +qed-. + (* Main properties **********************************************************) corec theorem sle_trans: Transitive … sle. @@ -88,12 +95,29 @@ corec theorem sle_trans: Transitive … sle. /3 width=5 by sle_push, sle_next, sle_weak/ qed-. +(* Properties with iteraded push ********************************************) + +lemma sle_pushs: ∀f1,f2. f1 ⊆ f2 → ∀i. ↑*[i] f1 ⊆ ↑*[i] f2. +#f1 #f2 #Hf12 #i elim i -i /2 width=5 by sle_push/ +qed. + (* Properties with tail *****************************************************) lemma sle_px_tl: ∀g1,g2. g1 ⊆ g2 → ∀f1. ↑f1 = g1 → f1 ⊆ ⫱g2. #g1 #g2 #H #f1 #H1 elim (sle_inv_px … H … H1) -H -H1 * // qed. +lemma sle_xn_tl: ∀g1,g2. g1 ⊆ g2 → ∀f2. ⫯f2 = g2 → ⫱g1 ⊆ f2. +#g1 #g2 #H #f2 #H2 elim (sle_inv_xn … H … H2) -H -H2 * // +qed. + +lemma sle_tl: ∀f1,f2. f1 ⊆ f2 → ⫱f1 ⊆ ⫱f2. +#f1 elim (pn_split f1) * #g1 #H1 #f2 #H +[ lapply (sle_px_tl … H … H1) -H // +| elim (sle_inv_nx … H … H1) -H // +] +qed. + (* Inversion lemmas with tail ***********************************************) lemma sle_inv_tl_sn: ∀f1,f2. ⫱f1 ⊆ f2 → f1 ⊆ ⫯f2.