3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 04:48:45 +00:00

solving correctly a tiny smt with grobner

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-12-02 11:29:35 -08:00
parent 687f30a2ce
commit 6752463a8c

View file

@ -146,11 +146,9 @@ private:
std::ostream& display_dependency(std::ostream& out, ci_dependency*) const;
void insert_to_simplify(equation *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);
}
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()));
m_to_superpose.insert(eq);
}