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 "basic_1/lift/defs.ma".
19 let rec trans (hds: PList) on hds: nat \to nat \def \lambda (i: nat).(match
20 hds with [PNil \Rightarrow i | (PCons h d hds0) \Rightarrow (let j \def
21 (trans hds0 i) in (let TMP_1 \def (blt j d) in (match TMP_1 with [true
22 \Rightarrow j | false \Rightarrow (plus j h)])))]).
24 let rec lift1 (hds: PList) on hds: T \to T \def \lambda (t: T).(match hds
25 with [PNil \Rightarrow t | (PCons h d hds0) \Rightarrow (let TMP_1 \def
26 (lift1 hds0 t) in (lift h d TMP_1))]).
28 let rec lifts1 (hds: PList) (ts: TList) on ts: TList \def match ts with [TNil
29 \Rightarrow TNil | (TCons t ts0) \Rightarrow (let TMP_1 \def (lift1 hds t) in
30 (let TMP_2 \def (lifts1 hds ts0) in (TCons TMP_1 TMP_2)))].