Okay, the shortest known proof is famously Zagier's one-sentence proof, which builds upon an idea by Heath-Brown.
Here's a description of it:
The Proof Idea:
The proof cleverly considers a specific finite set of integer triples related to the prime p and defines two different involutions (functions that are their own inverse) on this set.
-
The Set: Let p = 4k + 1 be a prime. Consider the finite set:
S = { (x, y, z) ∈ ℕ³ | x² + 4yz = p }
(where ℕ = {1, 2, 3, ...} denotes positive integers). This set is finite because x, y, z are bounded: x < √p, y < p/4, z < p/4.
-
First Involution (Simple): Define σ: S → S by σ(x, y, z) = (x, z, y).
- This is clearly an involution (
σ(σ(t)) = t).
- Its fixed points are elements where
y = z. If (x, y, y) is a fixed point, then x² + 4y² = p, which means p = x² + (2y)². This is a representation of p as the sum of two squares.
-
Second Involution (Clever - Heath-Brown's): Define τ: S → S by a piecewise formula:
- If
x < 2y: τ(x, y, z) = (x + 2z, z, y - x - z)
- If
2y < x < 2z: τ(x, y, z) = (2y - x, y, x - y + z)
- If
x > 2z: τ(x, y, z) = (x - 2y, x - y + z, y)
(One needs to verify this map is well-defined (maps S to S) and is an involution, which is non-trivial but true).
-
The Punchline (Parity Argument):
- An involution acting on a finite set partitions the set into orbits of size 1 (fixed points) and orbits of size 2.
- Therefore, the total number of elements in the set (
|S|) has the same parity as the number of fixed points of any involution acting on it.
- The clever involution
τ can be shown to have exactly one fixed point: (1, 1, (p-1)/4). (Check: 1² + 4(1)(p-1)/4 = 1 + p - 1 = p$. It's fixed under the case x > 2zifp > 5`, or requires careful boundary check if p=5).
- Since
τ has 1 fixed point (an odd number), the size of the set |S| must be odd.
- Since
|S| is odd, the first involution σ must also have an odd number of fixed points.
- An odd number cannot be zero. Therefore,
σ must have at least one fixed point.
- As established, any fixed point
(x, y, y) of σ corresponds to a solution p = x² + (2y)².
Conclusion: There must exist at least one representation of p as a sum of two squares.
Why it's considered the "shortest": While explaining it takes time, Zagier famously condensed the core argument into a single published sentence (though understanding that sentence requires knowing the definitions and properties of the set and the involutions). The underlying machinery (verifying τ is an involution on S with one fixed point) is hidden but assumed. It avoids complex number theory machinery like Gaussian integers or Minkowski's theorem directly, relying instead on combinatorial properties of finite sets and involutions.