mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
remove m_mons_to_rehash, fix a bug in emonomials::after_merge_eh(), generate order and tangent lemmas on any monomial
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
45b72d7790
commit
d3bd55d0cf
5 changed files with 5 additions and 15 deletions
|
@ -38,8 +38,7 @@ void order::order_lemma() {
|
|||
unsigned sz = to_ref.size();
|
||||
for (unsigned i = 0; i < sz && !done(); ++i) {
|
||||
lpvar j = to_ref[(i + r) % sz];
|
||||
if (c().is_canonical_monomial(j))
|
||||
order_lemma_on_canonical_monomial(c().emons()[j]);
|
||||
order_lemma_on_monomial(c().emons()[j]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,7 +46,7 @@ void order::order_lemma() {
|
|||
// a > b && c > 0 => ac > bc
|
||||
// Consider here some binary factorizations of m=ac and
|
||||
// try create order lemmas with either factor playing the role of c.
|
||||
void order::order_lemma_on_canonical_monomial(const monomial& m) {
|
||||
void order::order_lemma_on_monomial(const monomial& m) {
|
||||
TRACE("nla_solver_details",
|
||||
tout << "m = " << pp_mon(c(), m););
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue