aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtlib2/smtlib2_solver.mli
diff options
context:
space:
mode:
Diffstat (limited to 'src/smtlib2/smtlib2_solver.mli')
-rw-r--r--src/smtlib2/smtlib2_solver.mli39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/smtlib2/smtlib2_solver.mli b/src/smtlib2/smtlib2_solver.mli
new file mode 100644
index 0000000..3a7f2fc
--- /dev/null
+++ b/src/smtlib2/smtlib2_solver.mli
@@ -0,0 +1,39 @@
+(**************************************************************************)
+(* *)
+(* SMTCoq *)
+(* Copyright (C) 2011 - 2019 *)
+(* *)
+(* See file "AUTHORS" for the list of authors *)
+(* *)
+(* This file is distributed under the terms of the CeCILL-C licence *)
+(* *)
+(**************************************************************************)
+
+
+type t
+
+type result = Sat | Unsat
+
+val create : string array -> t
+
+val send_command : t -> string -> (t -> 'a) -> 'a
+
+val set_option : t -> string -> bool -> unit
+
+val set_logic : t -> string -> unit
+
+val declare_sort : t -> string -> int -> unit
+
+val declare_fun : t -> string -> string list -> string -> unit
+
+val assume : t -> string -> unit
+
+val check_sat : t -> result
+
+val get_proof : t -> (Lexing.lexbuf -> 'a) -> 'a
+
+val get_model : t -> SExpr.t
+
+val quit : t -> unit
+
+