1 (* Copyright (C) 2006, 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://helm.cs.unibo.it/
29 type active_table = Equality.equality list * Indexing.Index.t
31 val reset_refs : unit -> unit
33 val make_active: Equality.equality list -> active_table
34 val make_passive: Equality.equality list -> passive_table
35 val add_to_passive: Equality.equality list -> passive_table -> passive_table
37 Equality.equality_bag ->
38 active_table -> passive_table ->
39 Utils.environment -> Cic.term (* ty *) -> Cic.term -> Cic.metasenv ->
40 active_table * passive_table * Equality.equality_bag
41 val list_of_passive: passive_table -> Equality.equality list
42 val list_of_active: active_table -> Equality.equality list
44 val simplify_equalities :
45 Equality.equality_bag ->
48 Equality.equality list ->
49 Equality.equality_bag * Equality.equality list
52 Equality.equality_bag ->
57 active_table * passive_table * Equality.equality_bag
59 Equality.equality_bag ->
60 ProofEngineTypes.status ->
64 ProofEngineTypes.proof *
65 ProofEngineTypes.goal list) list
67 Equality.equality_bag ->
68 ProofEngineTypes.status ->
71 int -> int -> float ->
73 ProofEngineTypes.proof *
74 ProofEngineTypes.goal list) option *
75 active_table * passive_table * Equality.equality_bag
78 Equality.equality_bag ->
79 ProofEngineTypes.status ->
84 ProofEngineTypes.proof *
85 ProofEngineTypes.goal list) option *
86 active_table * passive_table * Equality.equality_bag