I'm reading the proof of the following proposition in Lee's book Introduction to Smooth Manifolds:
Proposition 5.1: Let $M$ be a smooth manifold. The embedded submanifolds of codimension $0$ in $M$ are exactly the open submanifolds.
Lee proves that the set of points of such manifolds $U$ (codimension $0$ in $M$) is open in $M$, but he says nothing about the smooth structure. By definition, the smooth structure of an open submanifold $V$ is determined by the smooth charts in $M$ defined on open subsets of $V$. But it seems that the smooth charts of $U$ as an embedded submanifold need not coincide with the smooth structure of $U$ as an open submanifold.
Both smooth structures must coincide, or both smooth manifolds ($U$ as an embedded submanifold and $U$ as an open submanifold) are diffeomorphic, or what is happening here?
Thank you in advance for any help.
There is a proposition that characterizes embedded submanifolds of codimension $k$ as follows.
What happens when you apply this to the case of codimension $k=0$? It simply says that around a point $p$ the coordinate charts of $N$ can be constructed by restricting chart maps from those of $M$. In particular, the smooth structures are compatible.