-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Yices does not support (set-option :timeout <n>), and (set-timeout <n>) is not supported by yices-smt2.
The only available timeout option is passing --timeout <n> as a launch argument. However this does not work as expected due to a known issue with yices: SRI-CSL/yices2#547. Specifically calling (get-info :reason-unknown) after check-sat times out results in the error "can't tell until you call (check-sat)". This causes SBV to throw an exception due to the unexpected response.
Ideally this could be handled by SBV as a special case. When invoked manually at verbosity level 2, yices reports (check-sat: interrupted) when it times out.
As a side note, Yices interprets the argument to "--timeout" in seconds, in contrast to ":timeout" and ":tlimit" being interpreted as milliseconds.