1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 (* This file was automatically generated: do not edit *********************)
17 set "baseuri" "cic:/matita/LAMBDA-TYPES/Base-1/plist/defs".
19 include "preamble.ma".
21 inductive PList: Set \def
23 | PCons: nat \to (nat \to (PList \to PList)).
26 PList \to (nat \to (nat \to PList))
28 let rec PConsTail (hds: PList) on hds: (nat \to (nat \to PList)) \def
29 (\lambda (h0: nat).(\lambda (d0: nat).(match hds with [PNil \Rightarrow
30 (PCons h0 d0 PNil) | (PCons h d hds0) \Rightarrow (PCons h d (PConsTail hds0
31 h0 d0))]))) in PConsTail.
36 let rec Ss (hds: PList) on hds: PList \def (match hds with [PNil \Rightarrow
37 PNil | (PCons h d hds0) \Rightarrow (PCons h (S d) (Ss hds0))]) in Ss.
40 PList \to (PList \to PList)
42 let rec papp (a: PList) on a: (PList \to PList) \def (\lambda (b:
43 PList).(match a with [PNil \Rightarrow b | (PCons h d a0) \Rightarrow (PCons
44 h d (papp a0 b))])) in papp.