]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma
porting of basic_1 for the ng_kernel: first step ...
[helm.git] / matita / matita / contribs / lambdadelta / ground_1 / plist / defs.ma
index 8f9c1d3cc2b690fea74db90da3474e8c31075bbd..cfb67e1fffce3b3dfac7a5fb11077672a1f31af3 100644 (file)
 
 (* 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))]).