]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/basic_2/computation/cpe_cpe.ma
ec770787b684adf479b1f2f0574007dcb51f727e
[helm.git] / matita / matita / contribs / lambda_delta / basic_2 / computation / cpe_cpe.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "basic_2/computation/cprs_cprs.ma".
16 include "basic_2/computation/cpe.ma".
17
18 (* CONTEXT-SENSITIVE PARALLEL EVALUATION ON TERMS **************************)
19
20 (* Main properties *********************************************************)
21
22 (* Basic_1: was: nf2_pr3_confluence *)
23 theorem cpe_mono: ∀L,T,T1. L ⊢ T ➡* 𝐍⦃T1⦄ → ∀T2. L ⊢ T ➡* 𝐍⦃T2⦄ → T1 = T2.
24 #L #T #T1 * #H1T1 #H2T1 #T2 * #H1T2 #H2T2
25 elim (cprs_conf … H1T1 … H1T2) -T #T #HT1
26 >(cprs_inv_cnf1 … HT1 H2T1) -T1 #HT2
27 >(cprs_inv_cnf1 … HT2 H2T2) -T2 //
28 qed-.