X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fstatic%2Flfxs_fqup.ma;h=6bf9a269785ba9311aaa3998cb9478101abdefce;hb=5c186c72f508da0849058afeecc6877cd9ed6303;hp=62c5b056494e65cab5f0a644ee707a07819d9f4a;hpb=e39d1924cd572acdf0cf8dba08f3b650dfd6abee;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/static/lfxs_fqup.ma b/matita/matita/contribs/lambdadelta/basic_2/static/lfxs_fqup.ma index 62c5b0564..6bf9a2697 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/static/lfxs_fqup.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/static/lfxs_fqup.ma @@ -19,6 +19,31 @@ include "basic_2/static/lfxs.ma". (* Advanced properties ******************************************************) -lemma lfxs_refl: ∀R. (∀L. reflexive … (R L)) → ∀L,T. L ⦻*[R, T] L. -#R #HR #L #T elim (frees_total L T) /3 width=3 by lexs_refl, ex2_intro/ +(* Basic_2A1: uses: llpx_sn_refl *) +lemma lfxs_refl: ∀R. (∀L. reflexive … (R L)) → ∀L,T. L ⪤*[R, T] L. +#R #HR #L #T elim (frees_total L T) +/4 width=3 by lexs_refl, ext2_refl, ex2_intro/ qed. + +lemma lfxs_pair_refl: ∀R. (∀L. reflexive … (R L)) → + ∀L,V1,V2. R L V1 V2 → ∀I,T. L.ⓑ{I}V1 ⪤*[R, T] L.ⓑ{I}V2. +#R #HR #L #V1 #V2 #HV12 #I #T +elim (frees_total (L.ⓑ{I}V1) T) #f #Hf +elim (pn_split f) * #g #H destruct +/5 width=3 by lexs_refl, lexs_next, lexs_push, ext2_refl, ext2_pair, ex2_intro/ +qed. + +(* Advanced inversion lemmas ************************************************) + +lemma lfxs_inv_bind_void: ∀R,p,I,L1,L2,V,T. L1 ⪤*[R, ⓑ{p,I}V.T] L2 → + L1 ⪤*[R, V] L2 ∧ L1.ⓧ ⪤*[R, T] L2.ⓧ. +#R #p #I #L1 #L2 #V #T * #f #Hf #HL elim (frees_inv_bind_void … Hf) -Hf +/6 width=6 by sle_lexs_trans, lexs_inv_tl, sor_inv_sle_dx, sor_inv_sle_sn, ex2_intro, conj/ +qed-. + +(* Advanced forward lemmas **************************************************) + +lemma lfxs_fwd_bind_dx_void: ∀R,p,I,L1,L2,V,T. L1 ⪤*[R, ⓑ{p,I}V.T] L2 → + L1.ⓧ ⪤*[R, T] L2.ⓧ. +#R #p #I #L1 #L2 #V #T #H elim (lfxs_inv_bind_void … H) -H // +qed-.