3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

port Grobner

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-11-01 17:06:03 -07:00
parent 3e0cf4b96d
commit f5c8ead995
6 changed files with 18 additions and 8 deletions

View file

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