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=ab2f735d97d2b9c965f13527d5f6f61048d29b22;hp=0084937220ebd24e4be8977d2a43e84942b636eb;hpb=9c954a9a843ebb1bf189536df4e14f77132ed1cf;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 008493722..13a7bd07a 100644 --- a/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma +++ b/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma @@ -20,16 +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 (let TMP_855 \def (PConsTail hds0 h0 d0) -in (PCons h d TMP_855))])). +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 (let TMP_857 \def (S d) in (let TMP_856 -\def (Ss hds0) in (PCons h TMP_857 TMP_856)))]. +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 (let TMP_858 \def -(papp a0 b) in (PCons h d TMP_858))]). +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))]).