I think the answer is yes, because $W$ must be isomorphic to $C(K)$ for some closed subset $K\subset [0,1]$. The condition about idempotents implies $K$ is connected. The only connected subsets of $[0,1]$ are closed sub-intervals, and these are either homeo to $[0,1]$ itself or are degenerate singletons.
Yemon Choi
- 25.8k
- 9
- 69
- 156