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/Level-1/LambdaDelta/lift1/defs".
19 include "lift/defs.ma".
22 PList \to (nat \to nat)
24 let rec trans (hds: PList) on hds: (nat \to nat) \def (\lambda (i:
25 nat).(match hds with [PNil \Rightarrow i | (PCons h d hds0) \Rightarrow (let
26 j \def (trans hds0 i) in (match (blt j d) with [true \Rightarrow j | false
27 \Rightarrow (plus j h)]))])) in trans.
32 let rec lift1 (hds: PList) on hds: (T \to T) \def (\lambda (t: T).(match hds
33 with [PNil \Rightarrow t | (PCons h d hds0) \Rightarrow (lift h d (lift1 hds0
37 PList \to (TList \to TList)
39 let rec lifts1 (hds: PList) (ts: TList) on ts: TList \def (match ts with
40 [TNil \Rightarrow TNil | (TCons t ts0) \Rightarrow (TCons (lift1 hds t)
41 (lifts1 hds ts0))]) in lifts1.