Section BoolSpec.
Variable elt elt' elt'' : Type.
Implicit Types m : t elt.
Implicit Types x y z : key.
Implicit Types e : elt.
Hint Resolve add_neq_o : map.
Hint Resolve remove_eq_o : map.
Hint Resolve remove_neq_o : map.

Lemma elements_b : forall m x,
mem x m = existsb (fun p => eqb x (fst p)) (elements m).