]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma
ed8036ba904e3debd6d699eeafb52b8290c9cf6b
[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/black_circle_2.ma".
18 include "ground/notation/functions/black_halfcircleright_2.ma".
19 include "ground/notation/functions/black_halfcircleleft_2.ma".
20 include "delayed_updating/syntax/label.ma".
21
22 (* PATH *********************************************************************)
23
24 definition path ≝ list label.
25
26 interpretation
27   "empty (paths)"
28   'ElementE = (list_empty label).
29
30 interpretation
31   "left cons (paths)"
32   'BlackHalfCircleRight l p = (list_lcons label l p).
33
34 interpretation
35   "append (paths)"
36   'BlackCircle l1 l2 = (list_append label l1 l2).
37
38 interpretation
39   "right cons (paths)"
40   'BlackHalfCircleLeft p l = (list_append label p (list_lcons label l (list_empty label))).