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/lift/defs".
22 ((nat \to nat)) \to (nat \to (T \to T))
24 let rec lref_map (f: ((nat \to nat))) (d: nat) (t: T) on t: T \def (match t
25 with [(TSort n) \Rightarrow (TSort n) | (TLRef i) \Rightarrow (TLRef (match
26 (blt i d) with [true \Rightarrow i | false \Rightarrow (f i)])) | (THead k u
27 t0) \Rightarrow (THead k (lref_map f d u) (lref_map f (s k d) t0))]) in
31 nat \to (nat \to (T \to T))
33 \lambda (h: nat).(\lambda (i: nat).(\lambda (t: T).(lref_map (\lambda (x:
34 nat).(plus x h)) i t))).
37 nat \to (nat \to (TList \to TList))
39 let rec lifts (h: nat) (d: nat) (ts: TList) on ts: TList \def (match ts with
40 [TNil \Rightarrow TNil | (TCons t ts0) \Rightarrow (TCons (lift h d t) (lifts