Let $(X,\tau)$ be a topological space. Let us call $x,y\in X$ *swappable* if there is $f:X\to X$ continuous such that $f(x)=y$ and $f(y)=x$. This relation is obviously reflexive and symmetric, but not necessarily transitive.


Moreover, we call $(X,\tau)$ *rigid* if the identity is the only homeomorphism from $X$ to itself.


Is there a rigid space $(X,\tau)$ with $|X| > \aleph\_0$ such that for all $x,y\in X$ we have that $x,y $ are swappable?



Rigidity and total swappability
The answer is yes by a 1951 result of Miroslav Katětov, who proved that [there is an (uncountable) rigid totally disconnected compact space](https://books.google.com/books?id=zhP2CAAAQBAJ&pg=PA57&lpg=PA57&dq=rigid+totally+disconnected+compact+space&source=bl&ots=R9o5dUCGHc&sig=TiL6Fc15hadlHn3JUKZmUKBZwfg&hl=en&sa=X&ved=0ahUKEwiClu2uoZrTAhUcHGMKHSnVDjYQ6AEIIjAB#v=onepage&q=rigid%20totally%20disconnected%20compact%20space&f=false). Any such space $X$ is rigid and has the property that any two points are swappable by continuous functions, since if $x\neq y$, we can find an open separation $X=U\sqcup V$ with $x\in U$ and $y\in V$, and then let $f$ be constant on each piece with value $y$ or $x$, respectively. This is a continuous function swapping $x$ and $y$.


