X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fetc_new%2Fllpx_sn%2Fllpx_sn_lpx_sn.etc;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fetc_new%2Fllpx_sn%2Fllpx_sn_lpx_sn.etc;h=a66b866f4b5caebe94de83f91f1df444278279bb;hb=9b8d36ee041582f876543086e7659ed9e365e861;hp=0000000000000000000000000000000000000000;hpb=2c8220e5e0c09486355aa79d5cd8a7716c444aca;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/etc_new/llpx_sn/llpx_sn_lpx_sn.etc b/matita/matita/contribs/lambdadelta/basic_2/etc_new/llpx_sn/llpx_sn_lpx_sn.etc new file mode 100644 index 000000000..a66b866f4 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/basic_2/etc_new/llpx_sn/llpx_sn_lpx_sn.etc @@ -0,0 +1,38 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "basic_2/substitution/lpx_sn_drop.ma". +include "basic_2/multiple/llpx_sn.ma". + +(* LAZY SN POINTWISE EXTENSION OF A CONTEXT-SENSITIVE REALTION FOR TERMS ****) + +(* Properties on pointwise extensions ***************************************) + +lemma lpx_sn_llpx_sn: ∀R. (∀L. reflexive … (R L)) → + ∀T,L1,L2,l. lpx_sn R L1 L2 → llpx_sn R l T L1 L2. +#R #HR #T #L1 @(f2_ind … rfw … L1 T) -L1 -T +#x #IH #L1 * * +[ -HR -IH /4 width=2 by lpx_sn_fwd_length, llpx_sn_sort/ +| -HR #i elim (lt_or_ge i (|L1|)) + [2: -IH /4 width=4 by lpx_sn_fwd_length, llpx_sn_free, le_repl_sn_conf_aux/ ] + #Hi #Hx #L2 #l elim (ylt_split i l) + [ -x /3 width=2 by llpx_sn_skip, lpx_sn_fwd_length/ ] + #Hli #HL12 elim (drop_O1_lt (Ⓕ) L1 i) // + #I #K1 #V1 #HLK1 elim (lpx_sn_drop_conf … HL12 … HLK1) -HL12 + /4 width=9 by llpx_sn_lref, drop_fwd_rfw/ +| -HR -IH /4 width=2 by lpx_sn_fwd_length, llpx_sn_gref/ +| /4 width=1 by llpx_sn_bind, lpx_sn_pair/ +| -HR /3 width=1 by llpx_sn_flat/ +] +qed.