In my set theory class the professor said that if $\alpha$ is an ordinal of the form $\alpha=\kappa + \beta$, where $\kappa$ is an infinite cardinal and $\beta$ is an ordinal less than $\kappa$, then $[0,\alpha[$ is homeomorphic to $[0,\kappa[$.
I think that's no correct because $[0,\alpha[$ would be compact (because $\alpha$ is successor) and $[0,\kappa[$ no (because $\kappa$ is a limit ordinal). Could someone help me?
Thanks in advance.