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

Merge branch 'clarify-proof' into 'master'

[triviality] Clarify funny proof of `tac_twp_cmpxchg_fail`

See merge request iris/iris!738
parents b9315f85 3f4603f0
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