Commit 8fdeb77f authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Prove `m ∖ m = ∅` for finite maps.

parent 55ed83e2
......@@ -1884,6 +1884,11 @@ Proof.
destruct (m1 !! i) as [x'|], (m2 !! i);
try specialize (Hm1m2 x'); compute; intuition congruence.
Lemma map_difference_diag {A} (m : M A) : m m = .
apply map_empty; intros i. rewrite lookup_difference_None.
destruct (m !! i); eauto.
End theorems.
(** * Tactics *)
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