mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
solving correctly a tiny smt with grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
687f30a2ce
commit
6752463a8c
|
@ -146,11 +146,9 @@ private:
|
||||||
std::ostream& display_dependency(std::ostream& out, ci_dependency*) const;
|
std::ostream& display_dependency(std::ostream& out, ci_dependency*) const;
|
||||||
void insert_to_simplify(equation *eq) {
|
void insert_to_simplify(equation *eq) {
|
||||||
TRACE("nla_grobner", display_equation(tout, *eq););
|
TRACE("nla_grobner", display_equation(tout, *eq););
|
||||||
SASSERT(!eq->exp()->is_scalar() || to_scalar(eq->exp())->value().is_zero());
|
|
||||||
m_to_simplify.insert(eq);
|
m_to_simplify.insert(eq);
|
||||||
}
|
}
|
||||||
void insert_to_superpose(equation *eq) {
|
void insert_to_superpose(equation *eq) {
|
||||||
SASSERT(!eq->exp()->is_scalar() || to_scalar(eq->exp())->value().is_zero());
|
|
||||||
SASSERT(m_nex_creator.is_simplified(eq->exp()));
|
SASSERT(m_nex_creator.is_simplified(eq->exp()));
|
||||||
m_to_superpose.insert(eq);
|
m_to_superpose.insert(eq);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue