mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
add array selects to basic ackerman reduction improves performance significantly for #2525 as it now uses the SAT solver core instead of SMT core
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7823117776
commit
000e485794
25 changed files with 706 additions and 572 deletions
|
@ -1167,7 +1167,7 @@ namespace opt {
|
|||
app* context::purify(generic_model_converter_ref& fm, expr* term) {
|
||||
std::ostringstream out;
|
||||
out << mk_pp(term, m);
|
||||
app* q = m.mk_fresh_const(out.str().c_str(), m.get_sort(term));
|
||||
app* q = m.mk_fresh_const(out.str(), m.get_sort(term));
|
||||
if (!fm) fm = alloc(generic_model_converter, m, "opt");
|
||||
if (m_arith.is_int_real(term)) {
|
||||
m_hard_constraints.push_back(m_arith.mk_ge(q, term));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue