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 rec definition subst (d: nat) (v: T) (t: T) on t: T \def match t with [(TSort
20 n) \Rightarrow (TSort n) | (TLRef i) \Rightarrow (match (blt i d) with [true
21 \Rightarrow (TLRef i) | false \Rightarrow (match (blt d i) with [true
22 \Rightarrow (TLRef (pred i)) | false \Rightarrow (lift d O v)])]) | (THead k
23 u t0) \Rightarrow (THead k (subst d v u) (subst (s k d) v t0))].