11

Fermat's two squares theorem says that a prime number $p = a^2 + b^2$ is the sum of two squares if and only if $p = 4k+1$. How might I phrase this in terms of Schemes?

I know that $\mathrm{Spec}(\mathbb{Z}) = \{ primes \}$. And maybe we are saying there is a map or fibration from $X = \{ a^2 + b^2\}$ to $\mathrm{Spec}(\mathbb{Z})$ ?

Schemes may seem like overkill, but it is one of the very first exercises in, say David Eisenbud and Joe Harris's The Geometry of Schemes to phrase modular arithmetic in terms of affine scheme theory:

enter image description here

It therefore makes sense to go beyond the first page of the number theory textbook and ask if Fermat's theorem can also be discussed in terms of Scheme theory (maybe unifying the considerations over $\mathbb{C}$ and $\mathbb{F}_p$).

Viktor Vaughn
  • 20,897
cactus314
  • 25,084
  • https://math.stackexchange.com/questions/494538/examples-of-affine-schemes/494581 – cactus314 Apr 22 '17 at 14:42
  • 3
    you probably want to talk about a map $\mathrm{Spec}(\mathbb{Z}[i]) \to \mathrm{Spec}(\mathbb{Z})$ – mercio Apr 22 '17 at 14:49
  • @mercio There's a map $\phi: a + bi \mapsto a^2 + b^2$ from $\mathbb{Z}[i] = \mathbb{Z}[x]/(x^2 + 1) \to \mathbb{Z}$. This double-cover is mentioned in Chapter 2 with no discussion of Fermat. He identifies $\mathbb{A}_\mathbb{Z}^1 = \mathrm{Spec}\mathbb{Z}[x]$. – cactus314 Apr 22 '17 at 15:31
  • 1
    @cactus314 You should look at section II.4 Arithmetic Schemes. The authors treat the example of $\operatorname{Spec}(\mathbb{Z}[\sqrt{3}])$ in detail, including pictures like those in the answer linked by mercio. This would correspond to representing a prime by the quadratic form $a^2 - 3 b^2$. – Viktor Vaughn Apr 23 '17 at 03:26
  • 1
    @cactus314 This is not even a ring map. mercio talked about the scheme map induced by the simple inclusion of $\mathbb Z$ into $\mathbb Z[i]$. Then the statement says that the fibre over an odd prime is a singleton iff $p=3 \mod 4$. – MooS May 08 '17 at 14:01
  • @MooS what about the proof? I linked to one using geometry of numbers. There are also proofs using descent. What aspects of schemes are being used there? – cactus314 May 08 '17 at 14:07

1 Answers1

2

We have that $$p=x^2+y^2$$defines a conic over $\mathbb{Q}$ and its rational points are solutions to this equation in $\mathbb{Q}$. Here we always add the points at infinity to make it a projective curve. But the same equation defines a conic bundle scheme over $\mathbb{Z}$ whose generic fiber is that conic over $\mathbb{Q}$ and that is proper over $\mathbb{Z}$ when a line at infinity is added—a $2$-dimensional scheme. The condition that it has an integral solution when $$p=4k+1$$is equivalent to saying that the conic over $\mathbb{Q}$ has a rational point whose closure in the scheme does not intersect the line at infinity.