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=8f9c1d3cc2b690fea74db90da3474e8c31075bbd;hpb=88a68a9c334646bc17314d5327cd3b790202acd6;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 8f9c1d3cc..13a7bd07a 100644 --- a/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma +++ b/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma @@ -14,30 +14,21 @@ (* This file was automatically generated: do not edit *********************) -include "Ground-1/preamble.ma". +include "ground_1/preamble.ma". -inductive PList: Set \def +inductive PList: Type[0] \def | PNil: PList | PCons: nat \to (nat \to (PList \to PList)). -definition PConsTail: - PList \to (nat \to (nat \to PList)) -\def - 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))]))) in PConsTail. +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))])). -definition Ss: - PList \to PList -\def - 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))]) in Ss. +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))]. -definition papp: - PList \to (PList \to PList) -\def - let rec papp (a: PList) on a: (PList \to PList) \def (\lambda (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))])) in papp. +h d (papp a0 b))]).