Are there any topological spaces containing no proper retracts? i.e. $A\subset X$ s.t. $\exists r:X\to A$ continuous w/ $r(a)=a,\forall a\in A$
Definition: Say that $A$ is a retract of a topological space $X$ if $A\subseteq X$ and there exists a continuous function (retraction) $r:X\to A$ such that $r(a)=a$ for all $a\in A$.
Is it the case that every topological space contains a proper retract?
I'm not sure if "proper retract" is a legitimate term, but by that I mean that $A$ is not just a single point, or the empty set, or $X$ itself.
It seems intuitive that any Euclidean space would have such a retract, but what about Hausdorff or metric spaces generally?
Are there any obvious counterexamples?