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/reduction/cpr_tshf.ma".
17 (* CONTEXT-SENSITIVE WEAK HEAD NORMAL TERMS *********************************)
19 definition chnf: lenv → predicate term ≝ λL. NF … (cpr L) tshf.
22 "context-sensitive head normality (term)"
23 'HdNormal L T = (chnf L T).
25 (* Basic inversion lemmas ***************************************************)
27 lemma chnf_inv_tshf: ∀L,T. L ⊢ 𝐇𝐍⦃T⦄ → T ≈ T.
31 (* Basic properties *********************************************************)
33 lemma tshf_thnf: ∀T. T ≈ T → ⋆ ⊢ 𝐇𝐍⦃T⦄.
34 #T #HT #T2 #H elim (cpr_fwd_tshf1 … H) -H //