mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
handle empty clauses created as lemmas as unsat state.
add unit tests
This commit is contained in:
parent
c69c316b27
commit
1e3ff3179e
10 changed files with 113 additions and 80 deletions
|
@ -23,13 +23,7 @@ namespace polysat {
|
|||
pdd m_lhs;
|
||||
pdd m_rhs;
|
||||
|
||||
ule_constraint(constraint_manager& m, pdd const& l, pdd const& r):
|
||||
constraint(m, ckind_t::ule_t), m_lhs(l), m_rhs(r) {
|
||||
m_vars.append(l.free_vars());
|
||||
for (auto v : r.free_vars())
|
||||
if (!m_vars.contains(v))
|
||||
m_vars.push_back(v);
|
||||
}
|
||||
ule_constraint(constraint_manager& m, pdd const& l, pdd const& r);
|
||||
|
||||
public:
|
||||
~ule_constraint() override {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue