X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Fmr2.ma;h=6efc427c8137e7bb5bc2b270130094052d64c13c;hp=3bd8fa3f9f3548ecc9f8d2d1b905e02faea36d6d;hb=ff612dc35167ec0c145864c9aa8ae5e1ebe20a48;hpb=fb5c93c9812ea39fb78f1470da2095c80822e158 diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma index 3bd8fa3f9..6efc427c8 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma @@ -12,8 +12,18 @@ (* *) (**************************************************************************) -include "ground_2/lib/list2.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).