Make `_iff` and `_alter` lemmas for invariants consistent, and add `_iff` lemma for locks
All threads resolved!
All threads resolved!
The _iff
lemma and contractive instance for is_lock
were missing. This MR adds these.
The _iff
and _alter
lemmas for invariants had their arguments in inconsistent order. This MR makes them consistent with e.g., wp_wand
. For example, inv N P -∗ ▷ □ (P ↔ Q) -∗ inv N Q
.
Edited by Robbert Krebbers
Merge request reports
Activity
- Resolved by Ralf Jung
LGTM.
@iris-users this is a breaking change for
cinv_iff
,inv_alter
,inv_iff
,na_inv_iff
.@robbertkrebbers maybe the changelog should list explicitly (for grepping purposes) which lemmas actually change here.
Edited by Ralf Jung- Resolved by Robbert Krebbers
added 12 commits
-
6a8975fc...ae0b5798 - 8 commits from branch
master
- 92eaf4f9 - Prove that `is_lock` is contractive.
- df8e3df5 - Make `_iff` and `_alter` lemmas for invariants consistent.
- 13b6713d - Add rule `is_lock_iff` for locks.
- 31d5df29 - CHANGELOG.
Toggle commit list-
6a8975fc...ae0b5798 - 8 commits from branch
@robbertkrebbers maybe the changelog should list explicitly (for grepping purposes) which lemmas actually change here.
Done.
mentioned in commit 0ccaa796
Please register or sign in to reply