3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 09:28:45 +00:00
The bug was that axiom generation was not enabled on last_index, so no axioms got created to constrain last-index.
With default settings the solver is now very slow on this example. It is related to that the smallest size of a satisfying assignment is above 24. Pending a good heuristic to find initial seeds and increments for iterative deepening, I am adding another parameter smt.seq.min_unfolding that when set to 30 helps for this example.
This commit is contained in:
Nikolaj Bjorner 2022-09-14 10:17:00 -07:00
parent 16ef89905d
commit c47ca341b7
5 changed files with 7 additions and 0 deletions

View file

@ -509,6 +509,8 @@ namespace seq {
}
/**
i = last_indexof(t, s):
!contains(t, s) => i = -1
|t| = 0 => |s| = 0 or i = -1
|t| = 0 & |s| = 0 => i = 0