Make CAS slightly more realistic
This restricts CAS to only be able to compare literals with literals, NONEV with NONEV and NONEV with SOMEV for a literal.
In particular, we can no longer CAS pairs.
Merge request reports
Activity
added 1 commit
- 8ae0c062 - move option notation to lang.v so we can use it to define CAS compare safety
added 1 commit
- 6ac4c4eb - move option notation to lang.v so we can use it to define CAS compare safety
- Resolved by Ralf Jung
added 1 commit
- e97bbfe6 - wp_cas_fail/succ: Report error when proving vals_cas_compare_safe; fast_done is enough
added 1 commit
- 01663351 - wp_cas_fail/succ: Report error when proving vals_cas_compare_safe; fast_done is enough
I originally wanted to allow only
SOMEV #l
wherel: loc
, that turned out to breaktests/one_shot.v
... so I decided not to make it quite that realistic. ;)Edited by Ralf Jungmentioned in commit 6b0f3bfb
iris-examples broke: https://gitlab.mpi-sws.org/FP/iris-examples/-/jobs/15397
Couldn't look into it yet though.
By the way, shouldn't we change normal equality in the same way?
Edited by Robbert KrebbersEquality testing is pure. Whether it is atomic or not is not observable.
Edited by Ralf Jung
Please register or sign in to reply