]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/preterm.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / preterm.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 "ground/lib/subset.ma".
16 include "delayed_updating/syntax/path.ma".
17 include "delayed_updating/notation/functions/uptriangle_1.ma".
18
19 (* PRETERM ******************************************************************)
20
21 (* Note: preterms are subsets of complete paths *)
22 definition preterm: Type[0] ≝ 𝒫❨path❩.
23
24 definition preterm_root: preterm → preterm ≝
25            λt,p. ∃q. p;;q ϵ t.
26
27 interpretation
28   "root (preterm)"
29   'UpTriangle t = (preterm_root t).
30
31 (* Basic constructions ******************************************************)
32
33 lemma preterm_in_comp_root (p) (t):
34       p ϵ t → p ϵ ▵t.
35 /2 width=2 by ex_intro/
36 qed.