Commit 45b28c12 authored by Robbert Krebbers's avatar Robbert Krebbers

Frame preserving updates for excl.

parent e7e5856e
......@@ -142,6 +142,8 @@ Qed.
(* Updates *)
Lemma excl_update (x : A) y : y Excl x y.
Proof. by destruct y; intros ? [?| |]. Qed.
Lemma excl_updateP (P : excl A Prop) x y : y P y Excl x : P.
Proof. intros ?? z n ?; exists y. by destruct y, z as [?| |]. Qed.
End excl.
Arguments exclC : clear implicits.
......
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