Skip to content
Snippets Groups Projects
Commit 1d1769bf authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Make `union_Some` a `:left_right_arrow:`.

parent 1f83a259
No related branches found
No related tags found
1 merge request!472Make `union_Some` a `↔`, add `union_None` and `union_is_Some`.
......@@ -297,7 +297,7 @@ Global Instance option_difference_with {A} : DifferenceWith A (option A) := λ f
Global Instance option_union {A} : Union (option A) := union_with (λ x _, Some x).
Lemma union_Some {A} (mx my : option A) z :
mx my = Some z mx = Some z my = Some z.
mx my = Some z mx = Some z (mx = None my = Some z).
Proof. destruct mx, my; naive_solver. Qed.
Lemma union_Some_l {A} x (my : option A) :
Some x my = Some x.
......
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