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/LambdaDelta-1/C/defs".
23 | CHead: C \to (K \to (T \to C)).
28 let rec cweight (c: C) on c: nat \def (match c with [(CSort _) \Rightarrow O
29 | (CHead c0 _ t) \Rightarrow (plus (cweight c0) (tweight t))]) in cweight.
34 \lambda (c1: C).(\lambda (c2: C).(lt (cweight c1) (cweight c2))).
39 \lambda (c1: C).(\lambda (c2: C).(le (cweight c1) (cweight c2))).
42 K \to (T \to (C \to C))
44 let rec CTail (k: K) (t: T) (c: C) on c: C \def (match c with [(CSort n)
45 \Rightarrow (CHead (CSort n) k t) | (CHead d h u) \Rightarrow (CHead (CTail k