1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "basic_2/rt_transition/cnr.ma".
16 include "basic_2/rt_computation/cprs.ma".
18 (* CONTEXT-SENSITIVE PARALLEL R-COMPUTATION FOR TERMS ***********************)
20 (* Inversion lemmas with normal terms for r-transition **********************)
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,0] T2 → ❨G,L❩ ⊢ ➡𝐍[h,0] 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/