Skip to content
Snippets Groups Projects
Verified Commit 3f4603f0 authored by Paolo G. Giarrusso's avatar Paolo G. Giarrusso
Browse files

Clarify funny proof of `tac_twp_cmpxchg_fail`

To avoid confusion from
iris/iris@d2c226e7 (comment 73999).
parent b9315f85
No related branches found
No related tags found
No related merge requests found
......@@ -473,7 +473,8 @@ Lemma tac_twp_cmpxchg_fail Δ s E i K l q v v1 v2 Φ :
Proof.
rewrite envs_entails_eq. intros. rewrite -twp_bind.
eapply wand_apply; first exact: twp_cmpxchg_fail.
rewrite envs_lookup_split //=. simpl. by do 2 f_equiv.
(* [//] solves some evars and enables further simplification. *)
rewrite envs_lookup_split /= // /=. by do 2 f_equiv.
Qed.
Lemma tac_wp_cmpxchg_suc Δ Δ' s E i K l v v1 v2 Φ :
......
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