X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2A%2Fequivalence%2Fcpcs_aaa.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2A%2Fequivalence%2Fcpcs_aaa.ma;h=90d87f62d981a0d8b643686099f1a70394dee67c;hb=d2545ffd201b1aa49887313791386add78fa8603;hp=0000000000000000000000000000000000000000;hpb=57ae1762497a5f3ea75740e2908e04adb8642cc2;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2A/equivalence/cpcs_aaa.ma b/matita/matita/contribs/lambdadelta/basic_2A/equivalence/cpcs_aaa.ma new file mode 100644 index 000000000..90d87f62d --- /dev/null +++ b/matita/matita/contribs/lambdadelta/basic_2A/equivalence/cpcs_aaa.ma @@ -0,0 +1,30 @@ +(**************************************************************************) +(* ___ *) +(* ||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_2A/computation/cpxs_aaa.ma". +include "basic_2A/equivalence/cpcs_cpcs.ma". + +(* CONTEXT-SENSITIVE PARALLEL EQUIVALENCE ON TERMS **************************) + +(* Main inversion lemmas about atomic arity assignment on terms *************) + +theorem cpcs_aaa_mono: ∀G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ⬌* T2 → + ∀A1. ⦃G, L⦄ ⊢ T1 ⁝ A1 → ∀A2. ⦃G, L⦄ ⊢ T2 ⁝ A2 → + A1 = A2. +#G #L #T1 #T2 #HT12 #A1 #HA1 #A2 #HA2 +elim (cpcs_inv_cprs … HT12) -HT12 #T #HT1 #HT2 +lapply (cprs_aaa_conf … HA1 … HT1) -T1 #HA1 +lapply (cprs_aaa_conf … HA2 … HT2) -T2 #HA2 +lapply (aaa_mono … HA1 … HA2) -L -T // +qed-.