]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma
update in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_1 / plist / defs.ma
index 8f9c1d3cc2b690fea74db90da3474e8c31075bbd..13a7bd07a079a8be249126995c45de937dfc87e2 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.
+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))]).