mirror of
https://github.com/Z3Prover/z3
synced 2026-06-27 19:08:49 +00:00
Trivial constraint != satisfied
This commit is contained in:
parent
c640bf2a2b
commit
4fffc267ec
1 changed files with 2 additions and 4 deletions
|
|
@ -1776,11 +1776,9 @@ namespace seq {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool nielsen_node::is_satisfied() const {
|
bool nielsen_node::is_satisfied() const {
|
||||||
if (!m_str_deq.empty())
|
if (!m_str_deq.empty() || !m_str_eq.empty())
|
||||||
return false;
|
return false;
|
||||||
if (any_of(m_str_eq, [](auto const &eq) { return !eq.is_trivial(); }))
|
if (any_of(m_str_mem, [](auto const &m) { return !m.is_primitive();}))
|
||||||
return false;
|
|
||||||
if (any_of(m_str_mem, [this](auto const &m) { return !m.is_trivial(this) && !m.is_primitive();}))
|
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue