Definitions.
- A local homeo/diffemorphism is a continuous/smooth map $f:X\to Y$ such that there's an open cover $(U_i)$ of $X$ for which $f|_{U_i}:U_i\to fU_i$ is a homeo/diffeomorphism.
- A topological/smooth embedding is a continuous/smooth map $f:X\to Y$ which is a homeo/diffeomorphism onto its image. In other words, the first factor of its image factorization is an isomorphism.
If I understand correctly, a local homeo/diffeomorphism is thus precisely a local topological/smooth embedding: there's an open cover of the domain making the restrictions into topological/smooth embeddings. This leads me to two sources of confusion.
This answer involves the words "local diffeomorphism onto its image". This is strange to me - it seems, at least using the my definition, that a smooth map is a local diffeomorphism iff its a local diffeomorphism onto its image. What am I missing here?
This answer proves that any immersion (injective differential) is locally a smooth homeomorphism onto its image with injective derivative, i.e a local immersion which is a local topological embedding. Following my (probably frail) reasoning in the paragraph following the definitions, this would imply any immersion is a local homeomorphism. In fact the answer seems to prove any immersion is locally a smooth embedding (following my definition) since the local section constructed seems smooth. But that would mean it's even a local diffeomorphism! (I am not sure which definition of 'embedding' the asker had in mind).
I am confused: (1) makes me think I am corrigibly crazy. (2) makes me think I'm hopelessly crazy, since by the inverse function theorem a smooth map is a local diffeomorphism iff it's an immersion and a submersion, and I also don't think immersions need to be local homeomorphisms.
What are my mistakes?