Fix BMC/K-Induction printing for repeated check_until calls #287
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With repeated calls to
check_until, provers are expected to start from their current state. Bmc and KInduction did this correctly, see here. However, the main loop always started from 0, for example here. This made the logger messages appear to be repeating work. This PR fixes that by starting the loop from the next target.reached_k_is the highest already checked bound, so the next one to work on isreached_k_ + 1.