Skip to content

timeout is not set when using yices #735

@danmatichuk

Description

@danmatichuk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions