I am reading "Introduction to Smooth Manifolds" by Lee and encountered the following theorem:
If $N,M$ are smooth manifolds and $F: N \rightarrow M $ is an injective smooth immersion, then $S = F(N)$ has a unique topology and smooth structure such that $S$ is an immersed submanifold of $M$, and $F$ is a diffeomorphism onto its image.
The book defines a set $O \subseteq S$ as open if and only if $F^{-1}(O)$ is open in $N$. It defines a smooth structure on $S$ by taking chart $(U, \phi)$ on $M$ and defining a corresponding chart on $S$ as $(F(U), \phi \circ F^{-1})$.
My question is how is the topology and smooth structure unique?
Specifically, I can take the topology on $S$ to be the subspace topology inherited from $M$ and define the corresponding smooth structure on $S$ by taking any chart $(U, \phi)$ on $M$ and defining a corresponding chart $(U \cap S, \phi \circ F^{-1})$ on $S$. This defines a smooth structure since for any two charts $(U \cap S, \phi \circ F^{-1}),$ and $ (V \cap S, \psi \circ F^{-1})$, we have $\psi \circ F^{-1} \circ F \circ \phi^{-1}$ which is smooth, so the charts are compatible.
The inclusion map $\iota: S \rightarrow M$ is also a smooth immersion since each point $s \in S$ has chart $(U \cap S, \phi \circ F^{-1})$ and $(U, \phi)$ about $\iota(s)$, $$ \phi \circ \iota \circ F \circ \phi^{-1} = \phi \circ F \circ \phi^{-1} $$
which is a smooth immersion. So, $S$ is an immersed submanifold.
Finally, $F$ is a diffeomorphism onto its image because $F$ is assumed smooth and injective, and $F^{-1}: S \rightarrow N$ "in coordinates" is $\phi \circ F^{-1} \circ F \circ \phi^{-1}$ which is smooth.
Therefore, this topology and smooth structure satisfies the properties we sought to prove, despite the topology nor smooth structure not being the same as the intial ones proposed in the book?