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 (* layer, name, real?, domain *)
28 | Abst of N.layer * id * bool * term
47 (* arguments, function *)
49 (* environment, scope *)
51 (* function, arguments *)
52 | Inst of term * term list
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 | Constant of bool * kind * id * info * term
65 (* predefined generated entity: arguments *)
66 | Generate of term list