Skip to content
Snippets Groups Projects
Commit b5e1f0c8 authored by Ralf Jung's avatar Ralf Jung
Browse files

add big_opM_singletons

parent 287d6888
No related branches found
No related tags found
No related merge requests found
......@@ -594,6 +594,15 @@ Proof.
intros ??. rewrite !lookup_included=> Hm i.
rewrite !lookup_fmap. by apply option_fmap_mono.
Qed.
Lemma big_opM_singletons (m : gmap K A) :
([^op map] k x m, {[ k := x ]}) m.
Proof.
induction m as [|k x m Hk IH] using map_ind.
- rewrite big_opM_empty. done.
- rewrite big_opM_insert // IH insert_singleton_op //.
Qed.
End properties.
Section unital_properties.
......
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