From ZornsLemma Require Export FunctionProperties.
From Coq Require Export Ensembles.
From ZornsLemma Require Export EnsemblesSpec.
Definition inverse_image {X Y:Type} (f:X->Y) (T:Ensemble Y) : Ensemble X :=
[ x:X | In T (f x) ].
Global Hint Unfold inverse_image : sets.

Lemma inverse_image_complement: forall {X Y:Type} (f:X->Y)
(T:Ensemble Y), inverse_image f (Complement T) =
Complement (inverse_image f T).