Commit graph

45 commits

Author SHA1 Message Date
Guillaume Bury
ea518c6ab3 Update for compatibility with ocaml 4.00.1 2016-02-29 13:43:46 +01:00
Guillaume Bury
b6effe691c Added dummy arguments to some functors
Some functors lacked a dummy argument, and thus
could introduce some problems if duplicated (because
they would share the same internal state).
2016-02-29 10:58:22 +01:00
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
f088ef73e1 expose tag_clause in Solver.Make 2016-01-29 14:59:48 +01:00
Simon Cruanes
f348dcd5ae expose dummy theory in a functor 2016-01-29 14:40:43 +01:00
Simon Cruanes
e8162fdaf4 details 2016-01-29 14:34:45 +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
aed3aeb17c A bit of restructuring to have cleaner dependencies between fonctors 2015-07-21 19:20:40 +02:00
Guillaume Bury
9c1ca06aea Dot output is now available through independent backend 2015-07-09 19:03:44 +02:00
Guillaume Bury
5047882fc7 Fix for dependencies during proof computing 2015-03-13 15:03:30 +01:00
Guillaume Bury
ee13eb366b Fix for incomplete proofs due to hypothesis not proved 2015-03-13 14:48:20 +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
d227d4c8b5 Solver modules are paramtrized by log module 2015-01-20 12:58:28 +01:00
Guillaume Bury
4e34bbdf59 Added some headers, and an interface for Expr 2014-12-18 16:04:17 +01:00
Guillaume Bury
5752a9f139 Changed theory interface to allow pushing of clauses 2014-11-19 21:56:24 +01:00
Guillaume Bury
73c9082b3a Removed solver_types module in solver.Make functor 2014-11-12 16:48:44 +01:00
Guillaume Bury
35ce540684 Progressing on new theory interface 2014-11-12 16:24:08 +01:00
Guillaume Bury
68a1249527 New interface for theories (still needs work in solver.ml) 2014-11-11 23:52:36 +01:00
Guillaume Bury
9b733851c6 Removed useless argument to Th.assume 2014-11-11 15:34:10 +01:00
Guillaume Bury
b50246d55d Some more doc + indentation 2014-11-11 13:54:24 +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
4c040ccbde Added smtlib input option 2014-11-09 23:39:54 +01:00
Guillaume Bury
ff34f5c6f0 Added tseitin cnf conversion 2014-11-08 16:18:20 +01:00
Guillaume Bury
e1486b416d Lots of fixes for proof generation. 2014-11-07 15:11:32 +01:00
Guillaume Bury
7d7859010e Removed unsat_core from solver.ml 2014-11-07 13:48:12 +01:00
Guillaume Bury
62835b35d0 Indentation + some debug output in res.ml 2014-11-06 18:56:39 +01:00
Guillaume Bury
a13029f96c Added proof building and output for pure sat. 2014-11-06 18:25:55 +01:00
Guillaume Bury
f36aa78a35 In sat/sat, replaced theory state with type unit 2014-11-06 00:20:40 +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
df58c57622 Removed some warnings 2014-11-03 18:39:47 +01:00
Guillaume Bury
99ce25e74f Added a module to represent resolution proof (not tested yet) 2014-11-03 00:49:07 +01:00
Guillaume Bury
d4e9865a4c Corrected indentation. 2014-11-02 15:18:00 +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
088fc05fac Removed true_ and false_ constants
Added some debug output in solver.ml
Added options to test utility
2014-11-01 20:11:41 +01:00
Guillaume Bury
8d95cecba4 Correct indentation. 2014-11-01 17:17:50 +01:00
Guillaume Bury
7a8a6d0de1 Few fixes. Sat Solver is working. 2014-11-01 16:31:19 +01:00
Guillaume Bury
3c235e259d Sat Solver is broken. 2014-11-01 02:12:17 +01:00
Guillaume Bury
c4e8e19db3 Added Instanciated Sat Solver. 2014-10-31 18:10:28 +01:00