3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-06 06:16:02 +00:00

add helper axioms for int2bv #5396

This commit is contained in:
Nikolaj Bjorner 2021-07-10 17:13:16 +02:00
parent 34885562e0
commit 66fc980154
2 changed files with 24 additions and 11 deletions

View file

@ -1248,6 +1248,7 @@ public:
mk_axiom(eq);
mk_axiom(mk_literal(a.mk_ge(mod, zero)));
mk_axiom(mk_literal(a.mk_le(mod, upper)));
{
std::function<void(void)> log = [&,this]() {
th.log_axiom_unit(m.mk_implies(m.mk_not(m.mk_eq(q, zero)), c.bool_var2expr(eq.var())));