2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department, University of Bologna, Italy.
6 ||T|| HELM is free software; you can redistribute it and/or
7 ||A|| modify it under the terms of the GNU General Public License
8 \ / version 2 or (at your option) any later version.
9 \ / This software is distributed as is, NO WARRANTY.
10 V_______________________________________________________________ *)
14 type ix = int (* index *)
16 type id = string (* identifier *)
18 type info = string * string (* language, text *)
20 type kind = Decl (* generic declaration *)
22 | Cong (* conjecture *)
23 | Def (* generic definition *)
27 (* name, real?, domain *)
28 | Abst of (id * bool * term) list
30 | Abbr of (id * term) list
45 (* arguments, function *)
46 | Appl of term list * term
47 (* level, binder, scope *)
48 | Bind of N.level * bind * term
49 (* function, arguments *)
50 | Inst of term * term list
51 (* level, strong?, label, source, target *)
52 | Impl of N.level * bool * id * term * term
55 (* required files: names *)
57 (* hierarchy graph: name *)
59 (* sorts: index, name *)
60 | Sorts of (int option * id) list
61 (* section: Some id = open, None = close last *)
62 | Section of id option
63 (* entity: main?, class, name, info, contents *)
64 | Entity of bool * kind * N.level * id * info * term
65 (* predefined generated entity: arguments *)
66 | Generate of term list