Commit 2227cd66 authored by Robbert Krebbers's avatar Robbert Krebbers

Non step-indexed laws about exclusive and Some.

parent d47d99dd
......@@ -1201,6 +1201,11 @@ Section option.
{n} (my Some x) my = None.
Proof. rewrite comm. by apply exclusiveN_Some_l. Qed.
Lemma exclusive_Some_l x `{!Exclusive x} my : (Some x my) my = None.
Proof. destruct my. move=> /(exclusive_l x) []. done. Qed.
Lemma exclusive_Some_r x `{!Exclusive x} my : (my Some x) my = None.
Proof. rewrite comm. by apply exclusive_Some_l. Qed.
Lemma Some_included x y : Some x Some y x y x y.
Proof. rewrite option_included; naive_solver. Qed.
Lemma Some_included' `{CMRATotal A} x y : Some x Some y x y x y.
......
Markdown is supported
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