Repository navigation
What is the intended refinement path from std::sync::atomic to PAtomic / atomic_ghost? #2971
nakashima-hikaru
started this conversation in
General
Replies: 1 comment
Can you share your example code with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to understand the intended verification boundary between
std::sync::atomicand Verus'sPAtomic/atomic_ghost.For example, Verus accepts:
but does not seem to prove even:
The same assertion is provable with PAtomicBool.
For existing production code that uses std::sync::atomic, I would like to verify the corresponding protocol/resource transition with PAtomic / atomic_ghost while keeping the production representation unchanged.
What is the intended refinement path from std::sync::atomic to PAtomic / atomic_ghost? Is there a recommended way to connect the two, or is that correspondence currently outside the Verus proof boundary?
All reactions