]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma
update in ground_2 and basic_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / relocation / mr2.ma
index 3bd8fa3f9f3548ecc9f8d2d1b905e02faea36d6d..b6062f295f7ae9b21a32310c5b71a9ca1ab28e7e 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-include "ground_2/lib/list2.ma".
+include "ground_2/notation/constructors/diamond_0.ma".
+include "ground_2/notation/constructors/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).