-
Notifications
You must be signed in to change notification settings - Fork 274
Allow quantifiers within loop invariants #6012
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
Allow quantifiers within loop invariants #6012
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
Hi @ArenBabikian, For the
|
bc2b17f
to
97e1e19
Compare
6224332
to
dce19e2
Compare
dce19e2
to
86cb295
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look too controversial...
86cb295
to
d4e1291
Compare
d4e1291
to
54d930b
Compare
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 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
KNOWNBUG
due to a current limitation of quantifiers that does not allow symbolic ranges for the quantified variable when using the SAT back-end.