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 "delayed_updating/syntax/prototerm.ma".
16 include "delayed_updating/syntax/path_structure.ma".
17 include "delayed_updating/notation/relations/predicate_t_hook_1.ma".
19 (* PRETERM ******************************************************************)
21 (* Note: different root paths have different structure *)
22 definition structure_injective: predicate prototerm ≝
23 λt. ∀p1,p2. p1 ϵ ▵t → p2 ϵ ▵t → ⊗p1 = ⊗p2 → p1 = p2
26 (* Note: a preterm is a prototerm satislying the conditions above *)
27 record is_preterm (t): Prop ≝
29 is_pt_injective: structure_injective t
33 "preterm condition (prototerm)"
34 'PredicateTHook t = (is_preterm t).