]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/syntax/label.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / label.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/arith/pnat.ma".
16 include "delayed_updating/notation/functions/nodelabel_d_1.ma".
17 include "delayed_updating/notation/functions/nodelabel_m_0.ma".
18 include "delayed_updating/notation/functions/edgelabel_l_0.ma".
19 include "delayed_updating/notation/functions/edgelabel_a_0.ma".
20 include "delayed_updating/notation/functions/edgelabel_s_0.ma".
21
22 (* LABEL ********************************************************************)
23
24 inductive label: Type[0] ≝
25 | label_d: pnat → label
26 | label_m: label
27 | label_L: label
28 | label_A: label
29 | label_S: label
30 .
31
32 interpretation
33   "variable reference by depth (label)"
34   'NodeLabelD p = (label_d p).
35
36 interpretation
37   "mark (label)"
38   'NodeLabelM = (label_m).
39
40 interpretation
41   "name-free functional abstruction (label)"
42   'EdgeLabelL = (label_L).
43
44 interpretation
45   "application (label)"
46   'EdgeLabelA = (label_A).
47
48 interpretation
49   "side branch (label)"
50   'EdgeLabelS = (label_S).