]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma
syntactic components detached from basic_2 become static_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / relocation / mr2.ma
index 072b07f6cdc7fcc1245193fd1a860fe26d884678..6efc427c8137e7bb5bc2b270130094052d64c13c 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-include "ground_2/lib/list.ma".
+include "ground_2/notation/functions/diamond_0.ma".
+include "ground_2/notation/functions/semicolon_3.ma".
+include "ground_2/lib/arith.ma".
 
 (* MULTIPLE RELOCATION WITH PAIRS *******************************************)
 
-definition mr2: Type[0] ≝ list2 nat nat.
+inductive mr2: Type[0] :=
+  | nil2 : mr2
+  | cons2: nat → nat → mr2 → mr2.
+
+interpretation "nil (multiple relocation with pairs)"
+  'Diamond = (nil2).
+
+interpretation "cons (multiple relocation with pairs)"
+  'Semicolon hd1 hd2 tl = (cons2 hd1 hd2 tl).