X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fetc%2Fcpr%2Fdxprs_ltpss_dx.etc;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fetc%2Fcpr%2Fdxprs_ltpss_dx.etc;h=8e3260dd4de47347c01bd42f015a4e8b446dd3d8;hb=e02bd4f3df78b5cc374d49d0ddf48b311188f514;hp=0000000000000000000000000000000000000000;hpb=d4a90dfb8d8a56012928a600ea2f6bd4758b51f6;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/etc/cpr/dxprs_ltpss_dx.etc b/matita/matita/contribs/lambdadelta/basic_2/etc/cpr/dxprs_ltpss_dx.etc new file mode 100644 index 000000000..8e3260dd4 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/basic_2/etc/cpr/dxprs_ltpss_dx.etc @@ -0,0 +1,50 @@ +(**************************************************************************) +(* ___ *) +(* ||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/unwind/sstas_ltpss_dx.ma". +include "basic_2/computation/cprs_ltpss_dx.ma". +include "basic_2/computation/dxprs.ma". + +(* DECOMPOSED EXTENDED PARALLEL COMPUTATION ON TERMS ************************) + +(* Properties about dx parallel unfold **************************************) + +lemma dxprs_ltpss_dx_conf: ∀h,g,L1,T,U1. ⦃h, L1⦄ ⊢ T •*➡*[g] U1 → + ∀L2,d,e. L1 ▶* [d, e] L2 → + ∃∃U2. ⦃h, L2⦄ ⊢ T •*➡*[g] U2 & L2 ⊢ U1 ▶* [d, e] U2. +#h #g #L1 #T #U1 * #U #HTU #HU1 #L2 #d #e #HL12 +elim (sstas_ltpss_dx_conf … HTU … HL12) -HTU #U0 #HTU0 #HU0 +elim (cprs_ltpss_dx_conf … HU1 … HL12) -L1 #U2 #HU2 #HU12 +elim (cprs_tpss_conf … HU2 … HU0) -U #U #HU2 #HU0 +lapply (tpss_trans_eq … HU12 HU2) -U2 /3 width=3/ +qed-. + +lemma dxprs_tpss_conf: ∀h,g,L,T1,U1. ⦃h, L⦄ ⊢ T1 •*➡*[g] U1 → + ∀T2,d,e. L ⊢ T1 ▶* [d, e] T2 → + ∃∃U2. ⦃h, L⦄ ⊢ T2 •*➡*[g] U2 & L ⊢ U1 ▶* [d, e] U2. +#h #g #L #T1 #U1 * #W1 #HTW1 #HWU1 #T2 #d #e #HT12 +elim (sstas_tpss_conf … HTW1 … HT12) -T1 #W2 #HTW2 #HW12 +elim (cprs_tpss_conf … HWU1 … HW12) -W1 /3 width=3/ +qed-. + +lemma dxprs_ltpss_dx_tpss_conf: ∀h,g,L1,T1,U1. ⦃h, L1⦄ ⊢ T1 •*➡*[g] U1 → + ∀L2,d,e. L1 ▶* [d, e] L2 → + ∀T2. L2 ⊢ T1 ▶* [d, e] T2 → + ∃∃U2. ⦃h, L2⦄ ⊢ T2 •*➡*[g] U2 & + L2 ⊢ U1 ▶* [d, e] U2. +#h #g #L1 #T1 #U1 #HTU1 #L2 #d #e #HL12 #T2 #HT12 +elim (dxprs_ltpss_dx_conf … HTU1 … HL12) -L1 #U #HT1U #HU1 +elim (dxprs_tpss_conf … HT1U … HT12) -T1 #U2 #HTU2 #HU2 +lapply (tpss_trans_eq … HU1 HU2) -U /2 width=3/ +qed-.