3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-05 09:55:15 +00:00

remove secondary random traversal

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-09-23 11:16:16 +03:00
parent 18d7231c4c
commit 3c9ab28731
3 changed files with 13 additions and 26 deletions

View file

@ -12,10 +12,8 @@ namespace nla {
monotone::monotone(core * c) : common(c) {}
void monotone::monotonicity_lemma() {
unsigned shift = random();
unsigned size = c().m_to_refine.size();
for (unsigned i = 0; i < size && !done(); i++) {
lpvar v = c().m_to_refine[(i + shift) % size];
for (auto v : c().m_to_refine) {
if (done()) break;
monotonicity_lemma(c().emons()[v]);
}
}