End ListDenoteSortUniqProp.
(* insert/sort uniq for preds *)
Section ListDenoteSortUniqPreds.
Context {A B : Type}.
Variables (f : A -> pred B) (b : pred B).
Variable (cmp : A -> A -> comparison).
Variable (Hcmp : forall x y, Eq = cmp x y -> x = y).
Local Hint Resolve (@interS B) (@interA B) (@unS B) (@unA B).

Lemma listd_insert_uniq_inter a l :
listd f inter b (insert_uniq cmp a l) = inter (f a) (listd f inter b l).