X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_1%2Fplist%2Fdefs.ma;h=13a7bd07a079a8be249126995c45de937dfc87e2;hb=57ae1762497a5f3ea75740e2908e04adb8642cc2;hp=cfb67e1fffce3b3dfac7a5fb11077672a1f31af3;hpb=639e798161afea770f41d78673c0fe3be4125beb;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma b/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma index cfb67e1ff..13a7bd07a 100644 --- a/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma +++ b/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma @@ -20,14 +20,15 @@ inductive PList: Type[0] \def | PNil: PList | PCons: nat \to (nat \to (PList \to PList)). -let rec PConsTail (hds: PList) on hds: nat \to (nat \to PList) \def \lambda -(h0: nat).(\lambda (d0: nat).(match hds with [PNil \Rightarrow (PCons h0 d0 -PNil) | (PCons h d hds0) \Rightarrow (PCons h d (PConsTail hds0 h0 d0))])). +rec definition PConsTail (hds: PList) on hds: nat \to (nat \to PList) \def +\lambda (h0: nat).(\lambda (d0: nat).(match hds with [PNil \Rightarrow (PCons +h0 d0 PNil) | (PCons h d hds0) \Rightarrow (PCons h d (PConsTail hds0 h0 +d0))])). -let rec Ss (hds: PList) on hds: PList \def match hds with [PNil \Rightarrow -PNil | (PCons h d hds0) \Rightarrow (PCons h (S d) (Ss hds0))]. +rec definition Ss (hds: PList) on hds: PList \def match hds with [PNil +\Rightarrow PNil | (PCons h d hds0) \Rightarrow (PCons h (S d) (Ss hds0))]. -let rec papp (a: PList) on a: PList \to PList \def \lambda (b: PList).(match -a with [PNil \Rightarrow b | (PCons h d a0) \Rightarrow (PCons h d (papp a0 -b))]). +rec definition papp (a: PList) on a: PList \to PList \def \lambda (b: +PList).(match a with [PNil \Rightarrow b | (PCons h d a0) \Rightarrow (PCons +h d (papp a0 b))]).