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/notation/relations/preditnormal_4.ma".
16 include "static_2/syntax/tueq.ma".
17 include "basic_2/rt_transition/cpm.ma".
19 (* NORMAL TERMS FOR T-UNUNBOUND RT-TRANSITION *******************************)
21 definition cnu (h) (G) (L): predicate term ≝
22 λT1. ∀n,T2. ⦃G,L⦄ ⊢ T1 ➡[n,h] T2 → T1 ≅ T2.
25 "normality for t-unbound context-sensitive parallel rt-transition (term)"
26 'PRedITNormal h G L T = (cnu h G L T).
28 (* Basic properties *********************************************************)
30 lemma cnu_sort (h) (G) (L): ∀s. ⦃G,L⦄ ⊢ ⥲[h] 𝐍⦃⋆s⦄.
32 elim (cpm_inv_sort1 … H) -H #H #_ destruct //
35 lemma cnu_ctop (h) (G): ∀i. ⦃G,⋆⦄ ⊢ ⥲[h] 𝐍⦃#i⦄.
36 #h #G * [| #i ] #n #X #H
37 [ elim (cpm_inv_zero1 … H) -H *
39 | #Y #X1 #X2 #_ #_ #H destruct
40 | #m #Y #X1 #X2 #_ #_ #H destruct
42 | elim (cpm_inv_lref1 … H) -H *
44 | #Z #Y #X0 #_ #_ #H destruct
49 lemma cnu_zero (h) (G) (L): ∀I. ⦃G,L.ⓤ{I}⦄ ⊢ ⥲[h] 𝐍⦃#0⦄.
51 elim (cpm_inv_zero1 … H) -H *
53 | #Y #X1 #X2 #_ #_ #H destruct
54 | #m #Y #X1 #X2 #_ #_ #H destruct
58 lemma cnu_gref (h) (G) (L): ∀l. ⦃G,L⦄ ⊢ ⥲[h] 𝐍⦃§l⦄.
60 elim (cpm_inv_gref1 … H) -H #H #_ destruct //