From: Ferruccio Guidi Date: Tue, 6 Nov 2018 10:52:03 +0000 (+0100) Subject: update in bsasic_2 X-Git-Tag: make_still_working~268 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=13b3c950f6714032a3c027b7b6ebbd2e3065cbfe update in bsasic_2 + cnv_cpce_trans_lpce started --- diff --git a/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_lpce.ma b/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_lpce.ma new file mode 100644 index 000000000..61d4bf476 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/basic_2/dynamic/cnv_lpce.ma @@ -0,0 +1,26 @@ +(**************************************************************************) +(* ___ *) +(* ||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_conversion/lpce.ma". +include "basic_2/dynamic/cnv.ma". + +(* CONTEXT-SENSITIVE NATIVE VALIDITY FOR TERMS ******************************) + +theorem cnv_cpce_trans_lpce (h) (G): + ∀L1,T1,T2. ⦃G,L1⦄ ⊢ T1 ⬌η[h] T2 → ⦃G,L1⦄ ⊢ T1 !*[h] → + ∀L2. ⦃G,L1⦄ ⊢ ⬌η[h] L2 → ⦃G,L2⦄ ⊢ T2 !*[h]. +#h #G #L1 #T1 #T2 #H elim H -G -L1 -T1 -T2 +[ #G #L1 #s #_ #L2 #_ // +| #G #K1 #V1 #_ #Y2 #HY + elim (lpce_inv_pair_sn … HY) -HY #K2 #V2 #HK #HV #H destruct \ No newline at end of file