Commit e914cc7e authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Local update `(x, x) ~l~> (y, y)`.

parent 11eacd8b
......@@ -52,6 +52,13 @@ Section updates.
apply (cancelableN x); first done. by rewrite -cmra_op_opM_assoc.
Lemma replace_local_update x y `{!IdFree x} :
y (x, x) ~l~> (y, y).
intros ? n mz ? Heq; simpl in *; split; first by apply cmra_valid_validN.
destruct mz as [z|]; [|done]. by destruct (id_freeN_r n n x z).
Lemma local_update_discrete `{!CmraDiscrete A} (x y x' y' : A) :
(x,y) ~l~> (x',y') mz, x x y ? mz x' x' y' ? mz.
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