1 (* Copyright (C) 2003-2005, HELM Team.
3 * This file is part of HELM, an Hypertextual, Electronic
4 * Library of Mathematics, developed at the Computer Science
5 * Department, University of Bologna, Italy.
7 * HELM is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * HELM is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with HELM; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 * For details, see the HELM World-Wide-Web page,
23 * http://cs.unibo.it/helm/.
26 (* functions to be moved ****************************************************)
28 val list_map2_filter: ('a -> 'b -> 'c option) -> 'a list -> 'b list -> 'c list
30 val list_split: int -> 'a list -> 'a list * 'a list
32 val mk_arel: int -> string -> Cic.annterm
34 val is_atomic:Cic.annterm -> bool
36 (****************************************************************************)
39 type what = Cic.annterm
41 type using = Cic.annterm
44 type where = (name * name) option
45 type inferred = Cic.annterm
47 type step = Note of note
48 | Theorem of name * what * note
51 | Intros of count option * name list * note
52 | Cut of name * what * note
53 | LetIn of name * what * note
54 | Rewrite of how * what * where * note
55 | Elim of what * using option * note
56 | Apply of what * note
57 | Change of inferred * what * where * note
58 | ClearBody of name * note
59 | Branch of step list list * note
62 (what, inferred, [> `Whd] as 'b, what CicNotationPt.obj, name) GrafiteAst.statement list ->
64 (what, inferred, 'b, what CicNotationPt.obj, name) GrafiteAst.statement list
67 int -> step list -> int