feat: mli for the SAT solver

This commit is contained in:
Simon Cruanes 2021-07-18 22:27:54 -04:00
parent cab541e712
commit 923033f9bf

13
src/sat/Solver.mli Normal file
View file

@ -0,0 +1,13 @@
module type S = Solver_intf.S
(** Safe external interface of solvers. *)
module Make_pure_sat(Th: Solver_intf.PLUGIN_SAT)
: S with module Formula = Th.Formula
and type lemma = Th.proof
and type theory = unit
module Make_cdcl_t(Th : Solver_intf.PLUGIN_CDCL_T)
: S with module Formula = Th.Formula
and type lemma = Th.proof
and type theory = Th.t