mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 11:07:51 +00:00
move to get_sort as method, add opt_lns pass, disable xor simplification unless configured, fix perf bug in model converter update trail
This commit is contained in:
parent
c623e2db28
commit
4455f6caf8
36 changed files with 391 additions and 90 deletions
|
@ -1437,6 +1437,10 @@ namespace sat {
|
|||
|
||||
|
||||
bool ba_solver::init_watch(constraint& c) {
|
||||
if (c.is_xr()) {
|
||||
std::cout << c.is_xr() << "\n";
|
||||
}
|
||||
|
||||
return !inconsistent() && c.init_watch(*this);
|
||||
}
|
||||
|
||||
|
@ -2064,8 +2068,10 @@ namespace sat {
|
|||
for (unsigned sz = m_constraints.size(), i = 0; i < sz; ++i) subsumption(*m_constraints[i]);
|
||||
for (unsigned sz = m_learned.size(), i = 0; i < sz; ++i) subsumption(*m_learned[i]);
|
||||
unit_strengthen();
|
||||
extract_xor();
|
||||
merge_xor();
|
||||
if (s().get_config().m_xor_solver) {
|
||||
extract_xor();
|
||||
merge_xor();
|
||||
}
|
||||
cleanup_clauses();
|
||||
cleanup_constraints();
|
||||
update_pure();
|
||||
|
@ -2073,6 +2079,8 @@ namespace sat {
|
|||
}
|
||||
while (count < 10 && (m_simplify_change || trail_sz < s().init_trail_size()));
|
||||
|
||||
gc();
|
||||
|
||||
// validate_eliminated();
|
||||
|
||||
IF_VERBOSE(1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue