I may be overlooking something very simple, but I am reading the proof of Lemma 2.26 in Lee's Smooth Manifolds 2nd ed., and am a bit confused by the following statement:
For each $p\in A$, choose a neighborhood $W_p$ of $p$ and a smooth function $\tilde f_p:W_p\rightarrow \mathbb{R}^k$ that agrees with $f$ on $W_p\cap A$.
How do we know such a neighborhood/function exists? I'm not sure how you would construct such a function, since you don't have a definition for $f$ away from $A$. Any insight here would be greatly appreciated.
It's always a good idea to read the definitions. In the paragraph immediately before that lemma, I wrote:
(As a postscript, I should note that the definition above works fine in the situation considered in Lemma 2.26. However, I later realized because of this question that my definition needed to be modified in the case that the target manifold $N$ has nonempty boundary. A corrected definition in that case is given in my list of corrections.)