aboutsummaryrefslogtreecommitdiff
path: root/contrib/firstorder/sequent.mli
diff options
context:
space:
mode:
authorletouzey2008-04-16 20:40:19 +0000
committerletouzey2008-04-16 20:40:19 +0000
commit99ad573113f5afc8bb5409649843567dee40ba40 (patch)
tree60af0349abfc1aeb5847734094dabceae8979ad1 /contrib/firstorder/sequent.mli
parentb6b9ea6c22107a33121cb2e7f6f89ec82d1bc7d0 (diff)
first-order --> firstorder (kills a warning about not being a valid id)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10805 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/firstorder/sequent.mli')
-rw-r--r--contrib/firstorder/sequent.mli66
1 files changed, 66 insertions, 0 deletions
diff --git a/contrib/firstorder/sequent.mli b/contrib/firstorder/sequent.mli
new file mode 100644
index 0000000000..51db9de167
--- /dev/null
+++ b/contrib/firstorder/sequent.mli
@@ -0,0 +1,66 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+(* $Id$ *)
+
+open Term
+open Util
+open Formula
+open Tacmach
+open Names
+open Libnames
+
+module OrderedConstr: Set.OrderedType with type t=constr
+
+module CM: Map.S with type key=constr
+
+type h_item = global_reference * (int*constr) option
+
+module History: Set.S with type elt = h_item
+
+val cm_add : constr -> global_reference -> global_reference list CM.t ->
+ global_reference list CM.t
+
+val cm_remove : constr -> global_reference -> global_reference list CM.t ->
+ global_reference list CM.t
+
+module HP: Heap.S with type elt=Formula.t
+
+type t = {redexes:HP.t;
+ context: global_reference list CM.t;
+ latoms:constr list;
+ gl:types;
+ glatom:constr option;
+ cnt:counter;
+ history:History.t;
+ depth:int}
+
+val deepen: t -> t
+
+val record: h_item -> t -> t
+
+val lookup: h_item -> t -> bool
+
+val add_formula : side -> global_reference -> constr -> t ->
+ Proof_type.goal sigma -> t
+
+val re_add_formula_list : Formula.t list -> t -> t
+
+val find_left : constr -> t -> global_reference
+
+val take_formula : t -> Formula.t * t
+
+val empty_seq : int -> t
+
+val create_with_ref_list : global_reference list ->
+ int -> Proof_type.goal sigma -> t
+
+val create_with_auto_hints : Auto.hint_db_name list ->
+ int -> Proof_type.goal sigma -> t
+
+val print_cmap: global_reference list CM.t -> unit