mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
move sorting of nex expressions to nex_creator
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
8cd9989dcf
commit
090851559b
9 changed files with 134 additions and 429 deletions
|
@ -93,9 +93,7 @@ bool horner::lemmas_on_row(const T& row) {
|
|||
[this](const nex* n) { return check_cross_nested_expr(n); },
|
||||
[this](unsigned j) { return c().var_is_fixed(j); },
|
||||
[this]() { return c().random(); },
|
||||
[](const nex* a, const nex* b) { return
|
||||
less_than_nex(a, b, [](lpvar j, lpvar k) { return j < k;}); }
|
||||
);
|
||||
[](lpvar j, lpvar k) { return j < k;}); // todo : consider using weights here - the same way they are used in Grobner basis
|
||||
|
||||
SASSERT (row_is_interesting(row));
|
||||
create_sum_from_row(row, cn.get_nex_creator(), m_row_sum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue