Allow quantifiers within loop invariants#6012
Merged
SaswatPadhi merged 2 commits intodiffblue:developfrom May 20, 2021
Merged
Conversation
c3ba7e0 to
b53821a
Compare
Codecov Report
@@ Coverage Diff @@
## develop #6012 +/- ##
===========================================
- Coverage 74.90% 74.24% -0.66%
===========================================
Files 1447 1444 -3
Lines 158198 157335 -863
===========================================
- Hits 118491 116810 -1681
- Misses 39707 40525 +818
Continue to review full report at Codecov.
|
d620735 to
27858ec
Compare
27858ec to
ea1a0ca
Compare
ea1a0ca to
bc2b17f
Compare
Contributor
|
Hi @ArenBabikian, For the
|
bc2b17f to
97e1e19
Compare
6224332 to
dce19e2
Compare
dce19e2 to
86cb295
Compare
Contributor
martin-cs
approved these changes
May 20, 2021
Collaborator
martin-cs
left a comment
There was a problem hiding this comment.
This doesn't look too controversial...
feliperodri
requested changes
May 20, 2021
86cb295 to
d4e1291
Compare
feliperodri
approved these changes
May 20, 2021
d4e1291 to
54d930b
Compare
tautschnig
approved these changes
May 20, 2021
54d930b to
365cb82
Compare
365cb82 to
d06f847
Compare
We do not need to do quantifier replacement within ASSIGNS annotation. The replacement maps for ENSURES and REQUIRES clauses should also be maintained independently.
d06f847 to
8d448e5
Compare
8d448e5 to
6993cf4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds support for quantified expressions in loop contracts.
This PR depends on #5942.We have included 3 regression tests in this PR. However, two of them are marked as
KNOWNBUGdue to a current limitation of quantifiers that does not allow symbolic ranges for the quantified variable when using the SAT back-end.