X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Fcprs_cnr.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Frt_computation%2Fcprs_cnr.ma;h=8cbb2ee6febdead95a44b9d118b5ad5dbbb825f8;hb=db020b4218272e2e35641ce3bc3b0a9b3afda899;hp=0000000000000000000000000000000000000000;hpb=d8f6494f48aa08bb32d9d1ac82fc16e9e41b76ac;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cprs_cnr.ma b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cprs_cnr.ma new file mode 100644 index 000000000..8cbb2ee6f --- /dev/null +++ b/matita/matita/contribs/lambdadelta/basic_2/rt_computation/cprs_cnr.ma @@ -0,0 +1,29 @@ +(**************************************************************************) +(* ___ *) +(* ||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/rt_transition/cnr.ma". +include "basic_2/rt_computation/cprs.ma". + +(* CONTEXT-SENSITIVE PARALLEL R-COMPUTATION FOR TERMS ***********************) + +(* Inversion lemmas with normal terms for r-transition **********************) + +(* Basic_1: was: nf2_pr3_unfold *) +(* Basic_2A1: was: cprs_inv_cnr1 *) +lemma cprs_inv_cnr_sn (h) (G) (L): + ∀T1,T2. ⦃G,L⦄ ⊢ T1 ➡*[h] T2 → ⦃G,L⦄ ⊢ ➡[h] 𝐍⦃T1⦄ → T1 = T2. +#h #G #L #T1 #T2 #H @(cprs_ind_sn … H) -T1 // +#T1 #T0 #HT10 #_ #IH #HT1 +lapply (HT1 … HT10) -HT10 #H destruct /2 width=1 by/ +qed-.