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_1A/T/defs.ma".
19 inductive C: Type[0] \def
21 | CHead: C \to (K \to (T \to C)).
23 rec definition cweight (c: C) on c: nat \def match c with [(CSort _)
24 \Rightarrow O | (CHead c0 _ t) \Rightarrow (plus (cweight c0) (tweight t))].
29 \lambda (c1: C).(\lambda (c2: C).(lt (cweight c1) (cweight c2))).
34 \lambda (c1: C).(\lambda (c2: C).(le (cweight c1) (cweight c2))).
36 rec definition CTail (k: K) (t: T) (c: C) on c: C \def match c with [(CSort
37 n) \Rightarrow (CHead (CSort n) k t) | (CHead d h u) \Rightarrow (CHead