Skip to content
Snippets Groups Projects
Commit aa9aba96 authored by Ralf Jung's avatar Ralf Jung
Browse files

faking non-atomic borrows

parent ff35e4e4
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,12 @@ Section na_bor.
iApply (idx_bor_shorten with "Hκκ' H").
Qed.
Lemma na_bor_fake E κ: lftN E lft_ctx -∗ [κ] ={E}=∗ &na{κ,tid,N}P.
Proof.
iIntros (?) "#LFT#H†". iApply (bor_na with ">"). done.
by iApply (bor_fake with "LFT H†").
Qed.
End na_bor.
Typeclasses Opaque na_bor.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment