Commit dc7a3a89 authored by Robbert Krebbers's avatar Robbert Krebbers

Put the inequality of delete_singleton_ne in the same direction as other _ne lemmas.

parent 3544168c
......@@ -579,7 +579,7 @@ Proof. apply insert_non_empty. Qed.
Lemma delete_singleton {A} i (x : A) : delete i {[i := x]} = .
Proof. setoid_rewrite <-partial_alter_compose. apply delete_empty. Qed.
Lemma delete_singleton_ne {A} i j (x : A) :
j i delete i {[j := x]} = {[j := x]}.
i j delete i {[j := x]} = {[j := x]}.
Proof. intro. apply delete_notin. by apply lookup_singleton_ne. Qed.
(** ** Properties of the map operations *)
......
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