3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-03 18:46:44 +00:00

Shuffle assumptions on every call

Order of assumptions appears to make a huge difference on what lemmas
are discovered. Shuffling the assumptions ensures that the solver
is never stuck with any bad order.
This commit is contained in:
Arie Gurfinkel 2018-06-28 15:35:49 -04:00
parent 6422fa3739
commit bd63458778
2 changed files with 5 additions and 0 deletions

View file

@ -61,6 +61,8 @@ private:
bool m_use_push_bg;
unsigned m_current_level; // set when m_in_level
random_gen m_random;
void assert_level_atoms(unsigned level);
void ensure_level(unsigned lvl);