]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpxs_cnx.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / cpxs_cnx.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/rt_transition/cnx_cnx.ma".
16 include "basic_2/rt_computation/cpxs.ma".
17
18 (* EXTENDED CONTEXT-SENSITIVE PARALLEL RT-COMPUTATION FOR TERMS *************)
19
20 (* Properties with normal forms *********************************************)
21
22 lemma cpxs_cnx (G) (L) (T1):
23       (∀T2. ❪G,L❫ ⊢ T1 ⬈* T2 → T1 ≅ T2) → ❪G,L❫ ⊢ ⬈𝐍 T1.
24 /3 width=1 by cpx_cpxs/ qed.
25
26 (* Inversion lemmas with normal terms ***************************************)
27
28 lemma cpxs_inv_cnx1 (G) (L):
29       ∀T1,T2. ❪G,L❫ ⊢ T1 ⬈* T2 → ❪G,L❫ ⊢ ⬈𝐍 T1 → T1 ≅ T2.
30 #G #L #T1 #T2 #H @(cpxs_ind_dx … H) -T1
31 /5 width=9 by cnx_teqx_trans, teqx_trans/
32 qed-.