mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
dampen order lemmas
This commit is contained in:
parent
3927fdb55f
commit
bba10c7a88
2 changed files with 6 additions and 1 deletions
|
@ -83,6 +83,9 @@ void order::order_lemma_on_binomial(const monic& ac) {
|
|||
void order::order_lemma_on_binomial_sign(const monic& xy, lpvar x, lpvar y, int sign) {
|
||||
if (!c().var_is_int(x) && val(x).is_big())
|
||||
return;
|
||||
if (&xy == m_last_binom)
|
||||
return;
|
||||
c().trail().push(value_trail(m_last_binom, &xy));
|
||||
SASSERT(!_().mon_has_zero(xy.vars()));
|
||||
int sy = rat_sign(val(y));
|
||||
new_lemma lemma(c(), __FUNCTION__);
|
||||
|
|
|
@ -18,7 +18,9 @@ public:
|
|||
order(core *c) : common(c) {}
|
||||
void order_lemma();
|
||||
|
||||
private:
|
||||
monic const* m_last_binom = nullptr;
|
||||
|
||||
private:
|
||||
|
||||
bool order_lemma_on_ac_and_bc_and_factors(const monic& ac,
|
||||
const factor& a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue