X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Fmr2.ma;h=6efc427c8137e7bb5bc2b270130094052d64c13c;hb=1fd63df4c77f5c24024769432ea8492748b4ac79;hp=072b07f6cdc7fcc1245193fd1a860fe26d884678;hpb=44211a20a89241616eca9afaf9dd8dab6139c571;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma index 072b07f6c..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/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).