X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_1%2Fplist%2Fdefs.ma;h=cfb67e1fffce3b3dfac7a5fb11077672a1f31af3;hb=e51d01099c08e9945ea093da6fcac353db7ca23c;hp=8f9c1d3cc2b690fea74db90da3474e8c31075bbd;hpb=53b8e2af661ad4165aa0b1deccd0a7522d96ce2e;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..cfb67e1ff 100644 --- a/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma +++ b/matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma @@ -14,30 +14,20 @@ (* 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. +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))])). -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. +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))]. -definition papp: - PList \to (PList \to PList) -\def - 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))])) in papp. +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))]).