]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/delayed_updating/syntax/path.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / syntax / path.ma
index 69355961ccf67b1047f9a68066ecba2f38bb9917..a7d5e32c15e1c9dd15cdf81d2b5bfbac482f6bf2 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-include "ground/lib/list.ma".
-include "delayed_updating/notation/functions/element_e_0.ma".
+include "ground/lib/list_rcons.ma".
+include "ground/notation/functions/element_e_0.ma".
+include "ground/notation/functions/double_semicolon_2.ma".
 include "delayed_updating/syntax/label.ma".
+include "delayed_updating/notation/functions/semicolon_2.ma".
+include "delayed_updating/notation/functions/comma_2.ma".
+
 
 (* PATH *********************************************************************)
 
@@ -22,4 +26,16 @@ definition path ≝ list label.
 
 interpretation
   "empty (paths)"
-  'ElementE = (list_nil label).
+  'ElementE = (list_empty label).
+
+interpretation
+  "left cons (paths)"
+  'Semicolon l p = (list_lcons label l p).
+
+interpretation
+  "append (paths)"
+  'DoubleSemicolon l1 l2 = (list_append label l1 l2).
+
+interpretation
+  "right cons (paths)"
+  'Comma p l = (list_append label p (list_lcons label l (list_empty label))).