Skip to content
Snippets Groups Projects
Commit d5a2cd14 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add lemma `map_equiv_iff`.

parent 17776cbd
No related branches found
No related tags found
1 merge request!276Misc setoids lemmas and tweaks for maps and option
......@@ -166,6 +166,8 @@ Context `{FinMap K M}.
Section setoid.
Context `{Equiv A}.
Lemma map_equiv_iff (m1 m2 : M A) : m1 m2 i, m1 !! i m2 !! i.
Proof. done. Qed.
Lemma map_equiv_empty (m : M A) : m m = ∅.
Proof.
split; [intros Hm; apply map_eq; intros i|intros ->].
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment