Commit graph

61 commits

Author SHA1 Message Date
Simon Cruanes
103c320577 fix(lra): fixed case splitting on a != b 2020-11-14 00:23:45 -05:00
Simon Cruanes
b2ab465cff fix(LRA): track explanations properly when rewriting with an equality 2020-11-13 23:58:14 -05:00
Simon Cruanes
a6f6a99fb3 fix: small perf improvement 2020-11-13 23:28:39 -05:00
Simon Cruanes
39ed753b38 add tests for simplex 2020-11-13 23:28:32 -05:00
Simon Cruanes
5ff0fff85b wip: refactor(lra): import Simplex from funarith, replace FM with it 2020-11-13 22:35:59 -05:00
Simon Cruanes
df25e84a01 fix(LRA): fix bug in FM resolution; add more comments 2020-11-12 19:23:45 -05:00
Simon Cruanes
0fc5b279d1 fix(LRA): invalid normalization 2020-11-12 18:46:43 -05:00
Simon Cruanes
3e703cf89e refactor: better debug in LRA 2020-11-12 18:46:34 -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
3449404964 refactor: move base-term to sidekick-arith 2020-10-10 17:43:42 -04:00
Simon Cruanes
349d884664 chore: add sidekick-arith library, depends on zarith 2020-10-10 17:18:20 -04:00