Let $X\subseteq \mathbf{P}^3$ be a smooth cubic. We know that $X$ contains a line $\ell$, which is a $-1$-curve. Therefore there exists a map $f:X\to Y$ to a smooth surface $Y$ which contracts $\ell$ to a point $p$ and is an isomorphism away from $p$. Let $U\subseteq Y$ be an affine neighborhood of $p$, and let $D\subseteq X$ be the union of $\ell$ and $f^{-1}(Y\setminus U)$. I claim that $H^1(X\setminus D, \mathcal{O}_{X\setminus D})\neq 0$. The map $f$ identifies $X\setminus D$ with $U\setminus \{p\}$. It then suffices to prove that if $U$ is a smooth affine variety with a point $p$, then $H^1(U\setminus\{p\},\mathcal{O}_{U\setminus \{p\}})\neq 0$. This can be seen using the local cohomology exact sequence (to be continued).
Piotr Achinger
- 16.1k
- 2
- 49
- 90