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:
parent
6422fa3739
commit
bd63458778
2 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue