$f:X \to Y , A\subset X, B\subset Y$
$f^{-1}(f(A))=A \iff f$ is injective
My counter example is setting function $f$ and $A$ such that $A=\{1, 2\}, f(A)=\{a\}, f^{-1}(f(\{a\}))=\{1, 2\}$ which is setting preimage of f(A) to A
for me it seems such definition of subset and function holds
$f^{-1}(f(A))=A $
because by definition of preimage $\{1, 2\}=\{x\in X \vert f(x)=A \}$
and also non injectivity.
but my text book and another lecture insist above property is true.
Can someone find error in my counter expamle please?