]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/cprs_cnr.ma
update in ground_2 static_2 basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / cprs_cnr.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/cnr.ma".
16 include "basic_2/rt_computation/cprs.ma".
17
18 (* CONTEXT-SENSITIVE PARALLEL R-COMPUTATION FOR TERMS ***********************)
19
20 (* Inversion lemmas with normal terms for r-transition **********************)
21
22 (* Basic_1: was: nf2_pr3_unfold *)
23 (* Basic_2A1: was: cprs_inv_cnr1 *)
24 lemma cprs_inv_cnr_sn (h) (G) (L):
25       ∀T1,T2. ⦃G, L⦄ ⊢ T1 ➡*[h] T2 → ⦃G, L⦄ ⊢ ➡[h] 𝐍⦃T1⦄ → T1 = T2.
26 #h #G #L #T1 #T2 #H @(cprs_ind_sn … H) -T1 //
27 #T1 #T0 #HT10 #_ #IH #HT1
28 lapply (HT1 … HT10) -HT10 #H destruct /2 width=1 by/
29 qed-.