Lemma 17.22.4. Let $(X, \mathcal{O}_ X)$ be a ringed space. Let $\mathcal{F}$, $\mathcal{G}$ be $\mathcal{O}_ X$-modules. If $\mathcal{F}$ is finitely presented then the canonical map

$\mathop{\mathcal{H}\! \mathit{om}}\nolimits _{\mathcal{O}_ X}(\mathcal{F}, \mathcal{G})_ x \to \mathop{\mathrm{Hom}}\nolimits _{\mathcal{O}_{X, x}}(\mathcal{F}_ x, \mathcal{G}_ x)$

is an isomorphism.

Proof. By localizing on $X$ we may assume that $\mathcal{F}$ has a presentation

$\bigoplus \nolimits _{j = 1, \ldots , m} \mathcal{O}_ X \longrightarrow \bigoplus \nolimits _{i = 1, \ldots , n} \mathcal{O}_ X \to \mathcal{F} \to 0.$

By Lemma 17.22.2 this gives an exact sequence $0 \to \mathop{\mathcal{H}\! \mathit{om}}\nolimits _{\mathcal{O}_ X}(\mathcal{F}, \mathcal{G}) \to \bigoplus \nolimits _{i = 1, \ldots , n} \mathcal{G} \longrightarrow \bigoplus \nolimits _{j = 1, \ldots , m} \mathcal{G}.$ Taking stalks we get an exact sequence $0 \to \mathop{\mathcal{H}\! \mathit{om}}\nolimits _{\mathcal{O}_ X}(\mathcal{F}, \mathcal{G})_ x \to \bigoplus \nolimits _{i = 1, \ldots , n} \mathcal{G}_ x \longrightarrow \bigoplus \nolimits _{j = 1, \ldots , m} \mathcal{G}_ x$ and the result follows since $\mathcal{F}_ x$ sits in an exact sequence $\bigoplus \nolimits _{j = 1, \ldots , m} \mathcal{O}_{X, x} \longrightarrow \bigoplus \nolimits _{i = 1, \ldots , n} \mathcal{O}_{X, x} \to \mathcal{F}_ x \to 0$ which induces the exact sequence $0 \to \mathop{\mathrm{Hom}}\nolimits _{\mathcal{O}_{X, x}}(\mathcal{F}_ x, \mathcal{G}_ x) \to \bigoplus \nolimits _{i = 1, \ldots , n} \mathcal{G}_ x \longrightarrow \bigoplus \nolimits _{j = 1, \ldots , m} \mathcal{G}_ x$ which is the same as the one above. $\square$

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).