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/preamble.ma".
19 inductive B: Type[0] \def
24 inductive F: Type[0] \def
28 inductive K: Type[0] \def
32 inductive T: Type[0] \def
35 | THead: K \to (T \to (T \to T)).
37 rec definition tweight (t: T) on t: nat \def match t with [(TSort _)
38 \Rightarrow (S O) | (TLRef _) \Rightarrow (S O) | (THead _ u t0) \Rightarrow
39 (S (plus (tweight u) (tweight t0)))].
44 \lambda (t1: T).(\lambda (t2: T).(le (tweight t1) (tweight t2))).