Commit graph

22 commits

Author SHA1 Message Date
Simon Cruanes
b6713fb833 refactor: rename some hooks; prepare for model generation in th-data 2021-03-29 13:30:13 -04:00
Simon Cruanes
7bf6b18bc0 basic renaming 2021-03-22 12:15:36 -04:00
Simon Cruanes
d665f83c65 add assertion 2021-03-19 12:43:38 -04:00
Simon Cruanes
ffc45b0db6 fix: do not preemptively simplify imply 2021-03-18 18:20:39 -04:00
Simon Cruanes
9fea7462dc feat(th-bool): more direct encoding of => 2021-03-18 18:04:20 -04:00
Simon Cruanes
380efa816f debug msg 2021-03-18 13:37:55 -04:00
Simon Cruanes
2312da883c feat(bool): also provide xor/neq 2021-03-18 13:06:44 -04:00
Simon Cruanes
07ca5546f5 refator(preproc): remove explicit recursion, but rewrite top-down
give a chance to simplifiers to rewrite before we rewrite subterms.
2021-03-18 12:19:30 -04:00
Simon Cruanes
0d31d9d84e refactor(th-bool): parametrize bool_view by type of lists
use iterator instead of a IArray.t on the view side
2021-03-17 18:29:39 -04:00
Simon Cruanes
0aa13ca808 refactor: provide a state for Ty.bool in core signature 2021-02-24 15:52:54 -05:00
Simon Cruanes
9a3e387405 refactor: explicit recursion in preprocessing
if a preprocessor fires, it's up to it to preprocess subterms. rewriting
is now from the root, not the leaves on.

Use that in LRA to rewrite under linear expressions.
2020-11-12 18:21:37 -05:00
Simon Cruanes
b332e8ceb0 fix: preprocess away "ite" 2020-01-14 20:23:23 -06:00
Simon Cruanes
3cd79ee4c9 refactor(th_bool): cache tseitin on absolute values 2019-11-01 15:53:12 -05:00
Simon Cruanes
7d8589accd refactor: change the functor stack 2019-10-29 15:06:19 -05:00
Simon Cruanes
0031c64ea9 feat(th-bool-static): check for new terms in the CC in final check 2019-10-08 09:08:05 -05:00
Simon Cruanes
49a7446631 feat(th-bool-static): add non-traversable opaque boolean term 2019-10-05 18:37:49 -05:00
Simon Cruanes
d527b2b945 fix: remove some module aliases for 4.08 2019-07-31 03:25:04 -05:00
Simon Cruanes
38f001b0e7 refactor: move Lit inside the solver, as output, not input 2019-06-07 17:31:11 -05:00
Simon Cruanes
d2bbc633bd fix: remove debug statement in th-bool 2019-06-07 16:18:01 -05:00
Simon Cruanes
e3e964a4c6 fix: first version that seems to work on QF_UF 2019-06-07 11:23:53 -05:00
Simon Cruanes
cad49b3747 wip: preprocess/simplify as part of theories 2019-06-06 17:13:21 -05:00
Simon Cruanes
2e7ab9ba9b wip: simplify a lot and only keep th-bool-static in the functor 2019-06-05 16:53:13 -05:00