Worked solution: Viazovska's modular form solution to sphere packing in dimensions 8 and 24
Sphere packing asks the simple childhood question — how do you arrange identical balls to fill as much space as possible without overlapping — but in dimensions far beyond the three we can see. Before 2016, mathematicians had only ever nailed down the exact best answer in dimensions , , and (the last being Kepler's conjecture, proved in 1998); dimensions and were suspicious because two exceptionally symmetric structures, the lattice and the Leech lattice, packed balls almost unbelievably well there, and computer bounds had shown they were within a whisker of optimal — but 'within a whisker' is not a proof.
The sphere packing constant is the supremum, over all packings of non-overlapping unit balls in , of the fraction of space covered. It was known exactly only for (trivially), (the hexagonal packing, Thue and Fejes Tóth), and (the face-centred cubic packing, Hales's 1998 proof of the Kepler conjecture — one of the most complex proofs ever completed). In every higher dimension only bounds existed.
The suspects in dimensions 8 and 24 were long identified: the root lattice gives density in , and the Leech lattice gives in . Cohn and Elkies's 2003 linear programming method produced numerical upper bounds within a factor of about of these densities — strong evidence of optimality, but a bound is not a theorem.
In 2016 Viazovska proved by constructing the 'magic function' whose existence Cohn and Elkies had conjectured (Steps 1–5); one week later she, Cohn, Kumar, Miller, and Radchenko adapted it to prove (Step 6). Dimensions 1, 2, 3, 8, 24 remain the only solved cases — a strikingly sparse list.