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

a fix in nex comparison and impovement of grobner stats

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-12-13 16:19:31 -10:00
parent ef2520ace2
commit 2fbb4cac9d
3 changed files with 43 additions and 46 deletions

View file

@ -88,8 +88,9 @@ public:
return wj != wk ? wj > wk : j > k;
}
// just compare the underlying expressions
bool gt_on_nex_pow(const nex_pow & a, const nex_pow& b) const {
return (a.pow() > b.pow()) || (a.pow() == b.pow() && gt(a.e(), b.e()));
return gt(a.e(), b.e());
}
void simplify_children_of_mul(vector<nex_pow> & children, rational&);