\begin{definition}[Definition:Idempotence/Mapping]
Let $S$ be a set.
Let $f: S \to S$ be a mapping.
Then $f$ is '''idempotent''' {{iff}}:
:$\forall x \in S: \map f {\map f x} = \map f x$
That is, {{iff}} applying the same mapping a second time to an argument gives the same result as applying it once.
And of course, that means the same as applying it as many times as you want.
The condition for '''idempotence''' can also be written:
:$f \circ f = f$
where $\circ$ denotes composition of mappings.
\end{definition}