I am working through the proof of proposition 5 in Section 5: Extension and restriction of a sheaf in FAC by Serre. FAC can be found in english here, and in particular this question arises on page 11, but I will also include the entire proposition and proof below, and I will also warn that Serre uses the etale space definition of a sheaf (much older), not the modern functor definition. The categories are equivalent. If you have only seen the modern definition this will seem strange. If anyone needs me to include certain definitions if they are unfamiliar with notation Serre uses, just let me know.
I feel this should be and easy proof to follow, but I am having trouble in some spots.
Definition: Let $X$ be a topological space, $Y$ its closed subspace and $\mathscr{F}$ a sheaf on $X$. We say $\mathscr{F}$ is concentrated on $Y$ if we have $\mathscr{F}_x = 0$ for all $x \in X-Y$.
Question 1 [answered!]: Why does he say "Y its closed subspace" as though it is unique? Was this just a weird bit with translating from french? I am just interpreting it as $Y is a closed subspace".
Proposition 5. If a sheaf $\mathscr{F}$ is concentrated on $Y$, the homomorphism $\rho_{Y}^{X}: \Gamma(X,\mathscr{F}) \to \Gamma(Y,\mathscr{F}(Y))$ is bijective (thus an isomorphism).
Remarks: $\mathscr{F}(Y)$ is the sheaf induced on $Y$ by $\mathscr{F}$. $\mathscr{F}_x$ is the stalk of $\mathscr{F}$ over the point $x$. $\Gamma(U,\mathscr{F})$ is the group of sections over $U$ with respect to the sheaf $\mathscr{F}$.
Proof: [copied verbatim] If a section of $\mathscr{F}$ over $X$ is zero over $Y$, it is zero everywhere else since $\mathscr{F}_{x} = 0$ if $x \notin Y$, which shows that $\rho_{Y}^{X}$ is injective. Conversely, let $s$ be a section of $\mathscr{F}(Y)$ over $Y$, and extend $s$ onto $X$ by putting $s(x) = 0$ for $x \notin Y$; the mapping $x \mapsto s(x)$ is clearly continuous on $X - Y$. On the other hand, if $x \in Y$ there exists a section $s'$ of $\mathscr{F}$ over an open neighborhood $U$ of $x$ for which $s'(x) = s(x)$. Since $s$ is continuous on $Y$ by assumption, there exists an open neighborhood $V$ of $x$, contained in $U$ and such that $s'(y) = s(y)$ for all $y \in V \cap Y$. But since $\mathscr{F}_y = 0$ for $y \notin Y$, we also have that $s'(y) = s(y)$ for $y \in V-(V \cap Y)$; hence $s$ and $s'$ coincide on $V$, which proves that $s$ is continuous in a neighborhood of $Y$, so it is continuous everywhere.
My interpretation / what I do understand: The injectivity part is fine, and on a big picture I understand what we're trying to do in surjectivity - we nominate the only possible candidate for a preimage (the extension of a section over $Y$ by 0). This candidate will easily satisfy the composition requirement with the local homeomorphism to be a section, so we need continuity. This is the interesting part of the result, because extensions of this sort are not always continuous for general topological settings, so this is a sheaf property. So we have this closed subspace $Y$ and some continuous map $s: Y \to \mathscr{F}(Y)$ and we form this new piece wise map (which I call) $s^{*}: X \to \mathscr{F}$ given by $$ s^{*}: x \mapsto \cases{ s(x), &x $\in$ Y\\ 0, &x $\notin$ Y }$$ I understand how Serre says that $s^{*}$ is continuous on $X-Y$, which is because the trivial global section is always continuous, and this is just a restriction of that. I also understand why it is justified when he says that the section $s'$ exists for some open subset $U$ with the property $s(x) = s'(x)$ for the $x \in Y$. It is after this that things are semi-familiar, but not entirely clear to me.
Uncertainties:
1) First of all why does he start his surjectivity proof by saying "conversely"? I have never thought of surjectivity as the converse of injectivity?
2) Picking up from where I left off with what I do understand, in Serres next line he asserts the existence of the open set $V$ contained in $U$ with the property that $s$ and $s'$ agree on $V \cap Y$. It seems like he is invoking the fact that any two sections with the property that $s(x) = s'(x)$ must agree on some open neighborhood, but the $V$ he invokes seems different than this? Once the existence of this $V$ is justified I understand why it follows that $s$ and $s'$ agree on $V$, but then I am again confused how to explain why it follows $s$ is continuous everywhere. It makes intuitive sense, because our problem spots are really just the boundary of $Y$? But for every single point of $Y$, we have an open set $V_y$ so that $s$ is continuous on $V_y$, then $s$ is also continuous on $Y^c$ so we can paste together all the $V_y$'s and $Y^c$ to get one big continuous function?
3) Does the above result actually rely on $Y$ being closed? Does it not hold for $Y$ open? Aside from the result, are there reasons that we define the concentrated sheaf definition only for closed $Y$? I know things can get weird with the direct limits when single points are closed, are we avoiding stuff like that?
Follow up:
After some time thinking about this, the only part that is really an issue now is how Serre gets the set $V$ with the property that it is contained in $U$ and $s$,$s'$ agree on $V \cap Y$.
Edit: I think I am close?
We know that for any point $a \in \mathscr{F}$ there is an open neighborhood $W$ of $a$ such that $\pi|_{W} W \to \pi(W)$ is a homeomorphism with $\pi(W)$ open in $X$. Take $ V = (s')^{-1}(W)$, then $V \subseteq U$ and $V \subseteq \pi(W)$.
Since $(\pi|_{W})^{-1}$ is a bijection then for each $w \in \pi(W)$ there is exactly one element, say $(f,w)$ of $\mathscr{F}_W$ in $W$. So if $v \in V = (s')^{-1}(W)$ then $s'(v) \in W$ and say $s'(v)=(g,v)$ but $(\pi|_{W})^{-1}(v) = (g,v)$ so $(\pi|_{W})^{-1}$ and $s'$ agree on $V$.
But then when I intersect with $Y$, why would $s$ and $s'$ agree?
The set $V$ that Serre asserts can be constructed as follows. Take $U \cap Y$ then view both $s$ and $s'$ as section into $\mathscr{F}(Y)$. They both still agree on the point $y$ so by the results of $n^{\circ}2$ they agree on some open neighborhood in $Y$ containing $y$, call it $W$. By definition of open in $Y$ we have $W = Y \cap O$ for some $O$ open in $X$. Then $V = O \cap U$ has the properties desired, i.e $V \subset U$ and both sections agree on $V \cap Y$.
With the existence of this $V$ established, one can combine this with the answer provided by KResier, which illuminates the method of Serres argument.