Commit graph

90 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
8e8a592475 Some reorganization of files/folders 2014-12-11 17:02:27 +01:00
Guillaume Bury
ff83cb70e9 Fix for mid-solving clause adding 2014-11-23 21:04:46 +01:00
Guillaume Bury
02b5c61ee1 Better color scheme for dot output 2014-11-20 14:38:44 +01:00
Guillaume Bury
8f2ae64b1a Small modifications to colors in dot proof output 2014-11-20 00:39:37 +01:00
Guillaume Bury
4636a94ce2 Fix for theory propagated clauses 2014-11-20 00:24:39 +01:00
Guillaume Bury
5752a9f139 Changed theory interface to allow pushing of clauses 2014-11-19 21:56:24 +01:00
Guillaume Bury
8e0dfc539c Check now also whecks model if sat.
Time/Memory limits now only applies to proof search (and not to model checking of proof building anymore).
2014-11-18 16:16:02 +01:00
Guillaume Bury
ee86da6329 Added minimal utility for getting bench stats 2014-11-17 13:55:32 +01:00
Guillaume Bury
d0ca516eb0 Fix for iteration on variables 2014-11-16 21:23:54 +01:00
Guillaume Bury
3e74eaaaa5 Moved vars vector from solver to solver_types 2014-11-16 14:32:10 +01:00
Simon Cruanes
36e0466304 push/pop: restore trail, causes, learnts 2014-11-15 21:26:49 +01:00
Guillaume Bury
bfce3e54a2 Fixed incomplete proofs due to level 0 propagation 2014-11-15 20:23:11 +01:00
Guillaume Bury
dbf0646171 Bugfix in proof generation 2014-11-15 18:38:24 +01:00
Guillaume Bury
e92740e75e Better integration of smt into sat-solve (sic) 2014-11-15 00:59:09 +01:00
Guillaume Bury
8ae3277cb3 Fixed a bug in documentaion placement in html 2014-11-14 17:59:50 +01:00
Guillaume Bury
566c30bdcc Added Smt module 2014-11-14 17:40:29 +01:00
Guillaume Bury
55c5c3f0f0 Fix in doc 2014-11-12 23:39:04 +01:00
Guillaume Bury
c963145b8f Replaced True and false as pure formulas in tseitin 2014-11-12 23:38:05 +01:00
Guillaume Bury
ec32a67e54 Better doc for theory interface 2014-11-12 21:29:15 +01:00
Guillaume Bury
752fcbe2ba Tail-rec version of sform in tseitin. 2014-11-12 18:56:56 +01:00
Guillaume Bury
e2d4f4fdc5 Added theory lemma as possible premise for clauses 2014-11-12 17:29:11 +01:00
Guillaume Bury
aad20489cd Fix in doc comment 2014-11-12 16:53:19 +01:00
Guillaume Bury
b44c3c3559 Fixed indentation 2014-11-12 16:51:41 +01:00
Guillaume Bury
73c9082b3a Removed solver_types module in solver.Make functor 2014-11-12 16:48:44 +01:00
Guillaume Bury
2b2631b1c3 Removed a few warnings 2014-11-12 16:27:52 +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