I'm studying divisors on Riemann surfaces and I got stuck on a thing said by the professor at lesson. Probably I'm getting lost in a glass of water, or there is something wrong in my notes: if this is so please let me notice what is the error.
Consider a linear system $V$ on a (compact) Riemann surface $X,$ i.e. a subset of a complete linear system $$|D|=\{E\in \operatorname{Div}(X) \mid E\geq 0,\ \exists f:X\to\mathbb{C}\text{ meromorphic such that }E=\operatorname{div}(f)+D \}$$ we say that $p\in X$ is a base point for $V$ if $p$ is in the support of each divisor in $V$ (with this statement I mean that the coefficient $E(p)$ of $p$ in each divisor $E\in V$ is nonzero).
I know that $V$ is in correspondence with a linear subspace $\overline{V}$ of $\mathbb{P}(L(D)),$ where $$L(D)=\{f:X\to\mathbb{C} \mid \operatorname{div}(f)\geq -D \}$$
In the notes there is this statement: $p$ is a base point for $V$ if and only if for each $f\in\overline{V}$ we have $f(p)=0$
My attempt: I know that the divisors in the linear system $V$ are exactly those of the form $$\operatorname{div}(f)+D$$ with $f\in\overline{V}$.
If $p$ is a base point for $V$ I have that $E(p)\neq0$ for each $E\in V:$ hence we must have $E(p)\geq 1,$ since each divisor $E\in|D|$ satisfies $E\geq0.$ If we take a function $f\in\overline{V}$ we can consider the divisor $E=\operatorname{div}(f)+D\in V:$ using the previous observation and we must have $$\operatorname{ord}_p(f)+D(p)\geq 1$$ To conclude I must prove that $\operatorname{ord}_p(f)\geq1,$ and this is certainly true if $D(p)\leq0,$ but I don't see how to continue from this point if $D(p)\geq 1.$
I don't think this is a difficult thing to prove, since this is a simple observation in the notes, but I don't see how to conclude...
$f(p)=0$ should be understood as $f_p\in\mathfrak{m}_p(\mathcal{O}_X(D))_p$ here, not that $f$ as a meromorphic function evaluates to $0$. Here is an example demonstrating that this is the correct interpretation: if $p$ is a point on an elliptic curve $X$, then for the divisor $D=p$ we have the global sections of $\mathcal{O}_X(D)$ are just the constants, and $|D|$ is just the point $P$ - so we can't evaluate these as meromorphic functions and hope that all our constants are zero. On the other hand, as $(\mathcal{O}_X(D))_p$ is generated by a local function which has a pole of order 1 at $p$, any constant function is locally something in the maximal ideal times this generator.
Once we understand what we're really up to, we can solve the problem. Locally, at any point $x\in X$, the stalk $\mathcal{O}_X(D)$ is isomorphic to $\mathcal{O}_{X,x}$ by sending $1\in\mathcal{O}_{X,x}$ to a meromorphic function with pole of order equal to $\nu_x(D)$, the coefficient of $x$ in $D$. Now if $f_x$ is in $\mathfrak{m}_x(\mathcal{O}_X(D))_x$, we must have that as a meromorphic function, $f$ has a pole of order less than $\nu_x(D)$, giving that $\operatorname{div}(f)+D$ has a positive coefficient on $x$. Conversely, if $f_x$ isn't in $\mathfrak{m}_x(\mathcal{O}_X(D))_x$, then as a meromorphic function, $f$ has a pole of order equal to $\nu_x(D)$ and therefore $x$ does not appear in $\operatorname{div}(f)+D$. From here we may quickly conclude that $x$ being a base point of a linear system $V$ is equivalent to $f_x\in\mathfrak{m}_x(\mathcal{O}_X(D))_x$ for all $f\in V$.