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

fix errors with dependency manager reset

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-01-12 10:11:13 -08:00
parent 6bc5400c5d
commit 1b07ad0952
4 changed files with 4 additions and 20 deletions

View file

@ -138,13 +138,6 @@ bool nex_creator::gt_on_powers_mul_same_degree(const T& a, const nex_mul& b) con
return ret;
}
bool nex_creator::children_are_simplified(const vector<nex_pow>& children) const {
for (auto c : children)
if (!is_simplified(*c.e()) || c.pow() == 0)
return false;
return true;
}
bool nex_creator::gt_on_mul_mul(const nex_mul& a, const nex_mul& b) const {
TRACE("grobner_d", tout << "a = " << a << " , b = " << b << "\n";);
SASSERT(is_simplified(a) && is_simplified(b));
@ -479,14 +472,6 @@ void nex_creator::simplify_children_of_sum(nex_sum& s) {
sort_join_sum(s);
}
static bool have_no_scalars(const nex_mul& a) {
for (auto & p : a)
if (p.e()->is_scalar() && !to_scalar(p.e())->value().is_one())
return false;
return true;
}
bool nex_mul::all_factors_are_elementary() const {
for (auto & p : *this)
if (!p.e()->is_elementary())