Canonical Structure fmap_eqType := EqType (finMap K V) fmap_eqMixin.
End EqType.
(* mapping a function over a contents of a finite map *)
Section Map.
Variables (K : ordType) (U V : Type) (f : U -> V).
Definition mapf' (m : seq (K * U)) : seq (K * V) :=
map (fun kv => (key kv, f (value kv))) m.

Lemma mapf_disj s1 s2 s1' s2' :
mapf s1 = mapf s2 -> mapf s1' = mapf s2' ->
disj s1 s1' = disj s2 s2'.