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