mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
degree reduction simplification to help int-blasting
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
698c627359
commit
1cdefa81b7
3 changed files with 31 additions and 17 deletions
|
@ -226,11 +226,17 @@ namespace intblast {
|
|||
m_solver->assert_expr(a.mk_le(a.mk_int(0), v));
|
||||
m_solver->assert_expr(a.mk_lt(v, a.mk_int(b)));
|
||||
}
|
||||
|
||||
|
||||
IF_VERBOSE(2, verbose_stream() << "check\n" << original_es << "\n");
|
||||
IF_VERBOSE(3, verbose_stream() << "check\n";
|
||||
m_solver->display(verbose_stream());
|
||||
verbose_stream() << es << "\n");
|
||||
|
||||
IF_VERBOSE(2,
|
||||
{
|
||||
m_solver->push();
|
||||
m_solver->assert_expr(es);
|
||||
m_solver->display(verbose_stream()) << "(check-sat)\n";
|
||||
m_solver->pop(1);
|
||||
});
|
||||
|
||||
|
||||
r = m_solver->check_sat(es);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue