Simon Cruanes
d73684902f
wip: have a proper smtlib parser
2018-02-05 23:09:29 -06:00
Simon Cruanes
ac396e8cf5
rename to cdcl
2018-01-22 22:09:47 -06:00
Simon Cruanes
8c8209c08c
large refactoring to keep only a simpler, easier CDCL(T) interface
...
- only one functor to instantiate
- explicit state that is carried around
- remove minismt stuff
2018-01-22 21:52:06 -06:00
Simon Cruanes
99078b2335
make state explicit and add type t state-wrapper in most modules
2017-12-29 16:48:26 +01:00
Simon Cruanes
1cd70b048c
split some features into minismt lib
2017-12-28 19:43:54 +01:00
Simon Cruanes
d6c84b93bf
restrict what Msat core lib exposes, provide shortcuts
2017-12-28 19:31:55 +01:00
Simon Cruanes
1037c06636
use generative functors, remove a layer of nesting for SMT libs
2017-12-28 19:12:41 +01:00
Simon Cruanes
7722319b0a
move tseitin transformation into its own lib
2017-12-28 16:01:36 +01:00
Simon Cruanes
ac50e10788
big refactoring
...
- move to jbuilder
- use a functorial heap (with indices embedded in lit/var)
- update Vec with optims from mc2
- change semantics of Vec.shrink
- use new Log module
2017-12-28 15:51:04 +01:00
Guillaume Bury
33cf73e304
[bug] Add test file
2017-03-31 15:17:31 +02:00
Guillaume Bury
4aa4cb063c
Add original problem to bug testfile
2017-03-30 19:32:33 +02:00
Guillaume Bury
7a7f224dd5
Add bug testfile
2017-03-30 18:47:10 +02:00
Guillaume Bury
8076c06047
[bugfix] Eliminate duplicates in input clauses
...
When adding clauses that conatins duplicates, the checking
of some proof would fail because there would sometime be multiple
littrals to resolve over. This fixes that problem.
2017-02-15 13:04:54 +01:00
Guillaume Bury
4159a34c20
Removed module alias for SAT expressions
2016-12-02 15:49:49 +01:00
Guillaume Bury
73ea4fea30
Removed useless check option in test_api
2016-11-22 16:58:02 +01:00
Guillaume Bury
b88b906da9
Added test for bug (conflict at level 0)
2016-11-21 15:51:55 +01:00
Guillaume Bury
f35d3a9f23
Fixed uninterpreted predicates for mcsat solver
2016-09-23 15:57:38 +02:00
Guillaume Bury
1656995097
Added uninterpreted functions to mcsat solver
2016-09-23 15:39:23 +02:00
Guillaume Bury
4f5bb640ca
[WIP] All is setup, remains to have real theories
...
Architecture is now all setup, but theories for the smt and mcsat
solvers are currently dummy ones that are not doing anything.
2016-09-16 15:49:33 +02:00
Simon Cruanes
d6c6331d85
check proofs in test_api
2016-07-28 11:10:31 +02:00
Simon Cruanes
09b13be78d
reflect test_api result in its errcode
2016-07-27 23:24:01 +02:00
Simon Cruanes
98d5074da6
updates to tests
2016-07-27 19:09:11 +02:00
Simon Cruanes
3e54fac7f9
add some tests for the API
2016-07-27 18:54:56 +02:00
Guillaume Bury
cb8092af3b
Cleaned makefile a bit + moved the testing binary
2016-01-30 17:02:24 +01:00
Guillaume Bury
2613926ab1
First changes for better persistent proofs
...
This commit ensures that clauses now contain
all necessary information to construct the proof
graph (without relying on propagation reasons).
2016-01-21 00:06:41 +01:00
Guillaume Bury
bbbd407631
Res now includes solver type
2015-10-02 13:30:32 +02:00
Guillaume Bury
434697ea47
Better dot backend
2015-07-28 23:23:05 +02:00
Guillaume Bury
2ed541d528
Faster iterating over subterms
2014-12-18 15:34:01 +01:00
Guillaume Bury
aacae0883b
Bundled both smt and mcsat in sat_solve; updated the tests in Makefile
2014-12-16 21:32:18 +01:00
Guillaume Bury
ca70f87973
Mcsat now works
2014-12-16 17:30:14 +01:00
Guillaume Bury
5654414bfa
Small fixes
2014-11-18 18:41:32 +01:00
Guillaume Bury
bfce3e54a2
Fixed incomplete proofs due to level 0 propagation
2014-11-15 20:23:11 +01:00
Guillaume Bury
384bcb7270
Better explanations in equivalence closure
2014-11-15 18:39:19 +01:00
Guillaume Bury
e92740e75e
Better integration of smt into sat-solve (sic)
2014-11-15 00:59:09 +01:00
Guillaume Bury
37d8ddbd7b
Trivial tests for smt
2014-11-14 18:01:07 +01:00
Guillaume Bury
c963145b8f
Replaced True and false as pure formulas in tseitin
2014-11-12 23:38:05 +01:00
Guillaume Bury
172ff8bca3
Added smtlib unsat tests to test script
2014-11-10 20:01:51 +01:00
Guillaume Bury
4c040ccbde
Added smtlib input option
2014-11-09 23:39:54 +01:00
Guillaume Bury
cac9df4510
Parametric input/output in sat_solve
2014-11-07 16:05:38 +01:00
Guillaume Bury
e1486b416d
Lots of fixes for proof generation.
2014-11-07 15:11:32 +01:00
Simon Cruanes
1a2d4ccb73
main test program: move test.ml to sat_solve.ml
2014-11-04 20:40:08 +01:00
Simon Cruanes
e95dec0663
fix test; make test scripts PWD-independent
2014-11-04 17:48:22 +01:00
Simon Cruanes
ce7254f80f
fix timeout in tests
2014-11-04 16:05:48 +01:00
Guillaume Bury
6a21dafb22
Added some tests.
2014-11-04 15:54:33 +01:00
Guillaume Bury
4daf685b3e
Added time/size limits to test utility
2014-11-02 11:02:08 +01:00
Guillaume Bury
7cd1f38d49
New test script.
2014-11-01 23:42:57 +01:00
Guillaume Bury
5f84352f33
Trivial test
2014-11-01 21:49:26 +01:00
Guillaume Bury
3c235e259d
Sat Solver is broken.
2014-11-01 02:12:17 +01:00
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