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/T/defs.ma".
19 inductive TList: Type[0] \def
21 | TCons: T \to (TList \to TList).
23 let rec THeads (k: K) (us: TList) on us: T \to T \def \lambda (t: T).(match
24 us with [TNil \Rightarrow t | (TCons u ul) \Rightarrow (let TMP_1 \def
25 (THeads k ul t) in (THead k u TMP_1))]).
27 let rec TApp (ts: TList) on ts: T \to TList \def \lambda (v: T).(match ts
28 with [TNil \Rightarrow (TCons v TNil) | (TCons t ts0) \Rightarrow (let TMP_1
29 \def (TApp ts0 v) in (TCons t TMP_1))]).
31 let rec tslen (ts: TList) on ts: nat \def match ts with [TNil \Rightarrow O |
32 (TCons _ ts0) \Rightarrow (let TMP_1 \def (tslen ts0) in (S TMP_1))].
35 TList \to (TList \to Prop)
37 \lambda (ts1: TList).(\lambda (ts2: TList).(let TMP_1 \def (tslen ts1) in
38 (let TMP_2 \def (tslen ts2) in (lt TMP_1 TMP_2)))).