]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / path.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/list_rcons.ma".
16 include "ground/notation/functions/element_e_0.ma".
17 include "ground/notation/functions/double_semicolon_2.ma".
18 include "delayed_updating/syntax/label.ma".
19 include "delayed_updating/notation/functions/semicolon_2.ma".
20 include "delayed_updating/notation/functions/comma_2.ma".
21
22
23 (* PATH *********************************************************************)
24
25 definition path ≝ list label.
26
27 interpretation
28   "empty (paths)"
29   'ElementE = (list_empty label).
30
31 interpretation
32   "left cons (paths)"
33   'Semicolon l p = (list_lcons label l p).
34
35 interpretation
36   "append (paths)"
37   'DoubleSemicolon l1 l2 = (list_append label l1 l2).
38
39 interpretation
40   "right cons (paths)"
41   'Comma p l = (list_append label p (list_lcons label l (list_empty label))).