sidekick/smt/solver.mli
Simon Cruanes c2d379de10 fix Tseitin CNF conversion;
more combinators to build formulas;
Smt.eval function to extract the propositional model
2014-03-06 10:53:56 +01:00

28 lines
1.2 KiB
OCaml

(**************************************************************************)
(* *)
(* Cubicle *)
(* Combining model checking algorithms and SMT solvers *)
(* *)
(* Mohamed Iguernelala *)
(* Universite Paris-Sud 11 *)
(* *)
(* Copyright 2011. This file is distributed under the terms of the *)
(* Apache Software License version 2.0 *)
(* *)
(**************************************************************************)
exception Sat
exception Unsat of Solver_types.clause list
module Make (Dummy : sig end) : sig
type state
val solve : unit -> unit
val assume : Literal.LT.t list list -> cnumber : int -> unit
val clear : unit -> unit
val eval : Literal.LT.t -> bool
val save : unit -> state
val restore : state -> unit
end