Commit graph

715 commits

Author SHA1 Message Date
Simon Cruanes
26b4f677e0 test: update some tests 2019-02-10 17:00:38 -06:00
Simon Cruanes
5865151247 refactor: return optional proof, do not store if if -no-check was given 2019-02-10 16:59:27 -06:00
Simon Cruanes
62ea8fd0cb fix(thbool): fix non-termination issue by creating clauses at most once 2019-02-10 16:24:04 -06:00
Simon Cruanes
b5208da56c fix(tseitin): use final check to push axioms 2019-02-09 23:35:49 -06:00
Simon Cruanes
bf0171fec1 fix(cc): merge parents properly 2019-02-09 22:11:50 -06:00
Simon Cruanes
1328d043e3 fix(cc): restore distinct 2019-02-09 21:59:25 -06:00
Simon Cruanes
a463dbb4b5 feat(cc): split sub-library sidekick.cc, make it fully functorized 2019-02-09 21:57:20 -06:00
Simon Cruanes
de1653bdcc chore: remove ocamlinit file 2019-02-09 16:43:37 -06:00
Simon Cruanes
431d8fe4ac small style change 2019-02-09 16:17:15 -06:00
Simon Cruanes
9d90b7ef66 refactor(cc): add some todos, fix a bug 2019-02-09 16:17:01 -06:00
Simon Cruanes
7b00a9d9e5 feat: expose mini-cc compatible API in Term 2019-02-09 16:16:44 -06:00
Simon Cruanes
40186a6c76 refactor: renaming `Eq{uiv,}_class 2019-02-08 19:45:20 -06:00
Simon Cruanes
0326c07c16 refactor: add Sidekick_util with some re-exports 2019-02-08 19:44:59 -06:00
Simon Cruanes
a7a5e1d7e1 wip: mini congruence closure to check the main one 2019-02-08 19:44:39 -06:00
Simon Cruanes
f2eecaa758 feat(th-bool): flattening of and/or also removes neutral elts 2019-02-01 21:42:44 -06:00
Simon Cruanes
f76f6bb0d9 feat(solver): assert true and ¬false 2019-02-01 21:42:28 -06:00
Simon Cruanes
e08bb7b5ac fix(cc): polarity error in distinct-conflict 2019-02-01 21:42:11 -06:00
Simon Cruanes
3eabeb4e2e fix(bstack): another stupid error 2019-02-01 21:41:54 -06:00
Simon Cruanes
d95047b65a refactor: a debug msg 2019-02-01 21:26:32 -06:00
Simon Cruanes
91389d2b5e fix(bstack): fix bug in n-levels 2019-02-01 21:25:50 -06:00
Simon Cruanes
a2e177abe8 fix(cc): polarity error in conflicts 2019-02-01 21:12:26 -06:00
Simon Cruanes
e6de1de949 main: print backtraces properly 2019-02-01 21:12:26 -06:00
Simon Cruanes
668bd36311 test: remove API test, which belongs in msat 2019-02-01 21:12:26 -06:00
Simon Cruanes
3f24e9cfe3 fix (tmp): in travis, pin msat's branch 2019-02-01 21:12:26 -06:00
Simon Cruanes
1c8c22fc63 chore: faster recompilation on travis 2019-02-01 20:58:24 -06:00
Simon Cruanes
a57fdcdeda refactor: use msat 0.8 2019-02-01 20:57:44 -06:00
Simon Cruanes
27d1841f6b wip: migrate to msat 0.8 2019-01-28 21:09:57 -06:00
Simon Cruanes
4fadbeb04d chore: migrate to dune 2019-01-18 18:37:26 -06:00
Simon Cruanes
73c7db2b4e feat(cc): boolean propagation of literals in CC 2018-08-18 19:56:22 -05:00
Simon Cruanes
0e467e058c fix: disable checking of invariants 2018-08-18 19:56:12 -05:00
Simon Cruanes
c1a662e2c8 refactor(sat): improve style of theory propagation handler 2018-08-18 19:55:30 -05:00
Simon Cruanes
324c9d2e36 fix(sat): allow proofs with unary resolution history
can happen if the conflict clause is a theory lemma
2018-08-18 19:54:46 -05:00
Simon Cruanes
400f2e02f1 refactor(th-combine): simplify handling of theory conflicts 2018-08-18 18:55:17 -05:00
Simon Cruanes
dd58fa21ef fix(sat): fix bug in restarts, we need to solve again after one 2018-08-18 18:08:42 -05:00
Simon Cruanes
ca531d73a6 refactor(cc): fix bugs, use list of nodes in equiv class 2018-08-18 18:06:16 -05:00
Simon Cruanes
c2d79b2e6a fix(main): properly handle option no-restarts 2018-08-18 18:05:22 -05:00
Simon Cruanes
e6a96df0d9 chore: remove dead code in sat 2018-08-18 17:47:20 -05:00
Simon Cruanes
72750b9e1a fix(sat): bugfix about adding clauses with true lits 2018-08-18 17:47:04 -05:00
Simon Cruanes
46ff8c3ba6 fix(sat): bug with re-internalization of terms upon backtracking 2018-08-18 17:20:20 -05:00
Simon Cruanes
162b6fad98 refactor(term): notion of is_value, which are kept as representatives 2018-08-18 17:19:50 -05:00
Simon Cruanes
04eea28cfc chore: disable some warning in Solver 2018-08-18 16:39:38 -05:00
Simon Cruanes
2b2765c67f chore: debug msg 2018-08-18 15:04:29 -05:00
Simon Cruanes
8ea844a5a0 chore: improve debug msg in check invariants 2018-08-18 15:02:44 -05:00
Simon Cruanes
d5ca5c2c81 chore: minor debug msg 2018-08-18 14:56:28 -05:00
Simon Cruanes
6d2d1c91e8 refactor(cc): disable path compression 2018-08-18 14:52:44 -05:00
Simon Cruanes
1d212350ef refactor(cc): internal refactorings 2018-08-18 14:52:44 -05:00
Simon Cruanes
b8445d0ca3 refactor: introduce check_invariants in CC
costly, but helps find bugs
2018-08-18 14:52:44 -05:00
Simon Cruanes
ce9bcb234d refactor(term): printing utils 2018-08-18 14:52:44 -05:00
Simon Cruanes
446690eb11 chore: rename main symlink 2018-08-18 13:22:28 -05:00
Simon Cruanes
a88f0d62f4 fix(typecheck): support application of function symbols 2018-08-18 13:22:10 -05:00