Commit 42ecd0a6 authored by Jacques-Henri Jourdan's avatar Jacques-Henri Jourdan
Browse files

Stronger delete_option_local_update

parent 36f74ae4
......@@ -166,9 +166,8 @@ Proof.
destruct z as [z|]; last done. destruct y; inversion Heq.
Lemma delete_option_local_update {A : cmraT} (x y : A) :
Exclusive y
(Some x, Some y) ~l~> (None, None).
Lemma delete_option_local_update {A : cmraT} (x : option A) (y : A) :
Exclusive y (x, Some y) ~l~> (None, None).
move=>Hex. apply local_update_unital=>n z /= Hy Heq. split; first done.
destruct z as [z|]; last done. exfalso.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment