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/path.ma".
16 include "ground/notation/functions/verticalbars_1.ma".
18 (* DEPTH FOR PATH ***********************************************************)
20 rec definition depth (p) on p: pnat ā
25 [ label_d _ ā depth q
27 | label_L ā ā(depth q)
35 'VerticalBars p = (depth p).
37 (* Basic constructions ******************************************************)
39 lemma depth_empty: š = āšā.
42 lemma depth_d (q) (n): āqā = āš±nāqā.
45 lemma depth_m (q): āqā = āšŗāqā.
48 lemma depth_L (q): āāqā = āšāqā.
51 lemma depth_A (q): āqā = āšāqā.
54 lemma depth_S (q): āqā = āš¦āqā.