mirror of
https://github.com/Z3Prover/z3
synced 2026-03-04 20:50:23 +00:00
disable tracking literals, they are not used
added trivial rewrites for set.size
This commit is contained in:
parent
a66cb88c78
commit
c832802183
3 changed files with 42 additions and 16 deletions
|
|
@ -391,17 +391,14 @@ namespace smt {
|
|||
}
|
||||
|
||||
/**
|
||||
* Introduce an assumption literal to manage incremental search for solutions
|
||||
* Placeholder to introduce an assumption literal to manage incremental search for solutions
|
||||
*/
|
||||
void theory_finite_set_size::add_theory_assumptions(expr_ref_vector &assumptions) {
|
||||
if (m_set_size_decls.empty())
|
||||
return;
|
||||
m_assumption = m.mk_fresh_const(symbol("set.size.solver"), m.mk_bool_sort());
|
||||
assumptions.push_back(m_assumption);
|
||||
|
||||
}
|
||||
|
||||
bool theory_finite_set_size::should_research(expr_ref_vector& unsat_core) {
|
||||
return unsat_core.contains(m_assumption);
|
||||
return false;
|
||||
}
|
||||
|
||||
std::ostream& theory_finite_set_size::display(std::ostream& out) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue