Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporting steps limit exceeded is awkward #934

Closed
claudemarche opened this issue Nov 15, 2023 · 1 comment · Fixed by #936
Closed

Reporting steps limit exceeded is awkward #934

claudemarche opened this issue Nov 15, 2023 · 1 comment · Fixed by #936
Assignees
Milestone

Comments

@claudemarche
Copy link
Collaborator

Currently, when Alt-Ergo reaches the steps limit given using --steps-bound, the reporting is weird, e.g.:

[Error]; Fatal Error: Steps limit reached: 10

There is no reason for considering the reaching of the steps limit as a "fatal error" or even an error. It should instead report a regular unknown or I don't know result, as it does when the time limit is reached

Moreover, it would be better to comply to the more or less SMT compliant answer, where one gets extra information using (get-info :reason-unknown)

@bclement-ocp
Copy link
Collaborator

We have added support for (get-info :reason-unknown) in #853 which will be part of the next release.

However it looks like we still treat the steps limit as an error (although it is now in stm2 format, which is an improvement I guess), so that part still needs to be fixed (we should treat steps limit like a timeout, it shouldn't be part of the Errors module):

(error "Fatal Error: Steps limit reached: 1")

@Stevendeo Stevendeo self-assigned this Nov 16, 2023
@bclement-ocp bclement-ocp linked a pull request Nov 16, 2023 that will close this issue
@bclement-ocp bclement-ocp added this to the 2.6.0 milestone Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants