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=b6062f295f7ae9b21a32310c5b71a9ca1ab28e7e;hp=3bd8fa3f9f3548ecc9f8d2d1b905e02faea36d6d;hb=3c8da07d7a5d7cf0432a83732a6d103f527afaef;hpb=2976c347e18717e691825ebdf73a5ce941c57d1b diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/mr2.ma index 3bd8fa3f9..b6062f295 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/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).