Commit graph

19 commits

Author SHA1 Message Date
Guillaume Bury
e58cfe1c8f Added function to print unsat core in dimacs format
Thgis is meant to be used for debugging and/or benchmarking purposes.
For instance, when using msat in an application, all unsat cores can
be output this way to different files so that the results can be checked
and easily reproduced in case of errors.
2016-02-05 14:30:47 +01:00
Guillaume Bury
ce65f10f9c Big cleanup of interfaces. Breaks retro-compat ! 2016-01-31 02:09:16 +01:00
Simon Cruanes
60250f2611 add UndecidedLit for eval, eval_level 2016-01-29 17:00:05 +01:00
Simon Cruanes
756363ffd6 everwhere, use new Log interface and remove the functor on Log_intf 2016-01-20 21:05:22 +01:00
Simon Cruanes
facfe336a1 add eval_level in the API of the SAT solver 2016-01-20 20:06:56 +01:00
Guillaume Bury
e20876ad02 Added some convenience functions in pure sat solver 2015-02-18 16:45:36 +01:00
Guillaume Bury
d58c5c0756 Made sat atom type private 2015-02-18 16:32:18 +01:00
Guillaume Bury
23d18fe609 Added log functor to Sat.Make 2015-02-09 15:43:03 +01:00
Guillaume Bury
3203dadb8d Replaced clause number by tag in solver.assume 2015-02-06 15:46:56 +01:00
Guillaume Bury
566c30bdcc Added Smt module 2014-11-14 17:40:29 +01:00
Guillaume Bury
6338f682df Added unsat-core option in sat_solve
Cleaned up a bit soler_types and added some doc
2014-11-11 12:25:16 +01:00
Guillaume Bury
ff34f5c6f0 Added tseitin cnf conversion 2014-11-08 16:18:20 +01:00
Guillaume Bury
a13029f96c Added proof building and output for pure sat. 2014-11-06 18:25:55 +01:00
Simon Cruanes
38d16e8874 new interface for sat/Solver, without a Sat exception, nor save/restore. Wip on levels 2014-11-03 23:29:26 +01:00
Guillaume Bury
7cd1f38d49 New test script. 2014-11-01 23:42:57 +01:00
Guillaume Bury
df524375a7 Added small lexer/parser for dimacs (work in progress). 2014-11-01 21:43:58 +01:00
Guillaume Bury
8d95cecba4 Correct indentation. 2014-11-01 17:17:50 +01:00
Guillaume Bury
4ce4cb79be Added some documentation. 2014-11-01 17:12:56 +01:00
Guillaume Bury
3c235e259d Sat Solver is broken. 2014-11-01 02:12:17 +01:00