You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run z3 with this input, the solver eventually locks up and stops checking for timeout. When I run it with "z3 timeout=1000", the timeout properly happens and interrupts z3. However, when I run it with "z3 timeout=10000", there is no interruption and the solver locks up indefinitely, consuming 100% CPU.
(declare-const a Int)
(declare-const b Int)
(declare-const c Int)
(declare-const n Int)
(assert (>= a 1))
(assert (>= b 1))
(assert (>= c 1))
(assert (= n 3))
(assert (= (+ (^ a n) (^ b n)) (^ c n)))
(check-sat)
(get-model)
The text was updated successfully, but these errors were encountered:
it's unclear what timeout= is. I suspect that it's a soft timeout, corresponding to -t:, given that both take ms. if you want a hard timeout, -T: is your only choice and you can only control it at the level of seconds.
When I run z3 with this input, the solver eventually locks up and stops checking for timeout. When I run it with "z3 timeout=1000", the timeout properly happens and interrupts z3. However, when I run it with "z3 timeout=10000", there is no interruption and the solver locks up indefinitely, consuming 100% CPU.
The text was updated successfully, but these errors were encountered: