mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
inline unfolding if it is linear or constant.
This commit is contained in:
parent
3555b25317
commit
fb824bee54
1 changed files with 5 additions and 0 deletions
|
@ -264,6 +264,11 @@ namespace polysat {
|
|||
|
||||
SASSERT_EQ(m_lhs.power_of_2(), m_rhs.power_of_2());
|
||||
|
||||
if (ul.is_linear_or_value())
|
||||
m_lhs = ul;
|
||||
if (ur.is_linear_or_value())
|
||||
m_rhs = ur;
|
||||
|
||||
vars().append(m_lhs.free_vars());
|
||||
for (auto v : m_rhs.free_vars())
|
||||
if (!vars().contains(v))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue