Lattices and sphere packing
How densely can equal balls be packed in ℝ^d? Solved in dimensions 1, 2, 3, 8 and 24; elsewhere open, with large gaps between bounds, and tied to error-correcting codes and lattice cryptography.
On this page13 sections
Lattices and packings underlie error-correcting codes for the Gaussian channel, quantization, and the geometry of lattice-based cryptography, where the shortest-vector problem is the central hard task. Fourier-analytic bounds for packings (Cohn-Elkies) are also a model for linear-programming methods in coding theory.
How tightly can identical balls be packed in space, in any number of dimensions?
- 1Equal balls must not overlap
- 2Codes and messages are packings
- 3Exact answers only in 1, 2, 3, 8, 24
- 4High dimensions: big gap remains
A sphere packing in is a set of non-overlapping balls of equal size. Its density is the fraction of space the balls cover, and is the largest possible density. A lattice packing places ball centres at the points of a lattice , a regularly repeating grid generated by basis vectors. Lattices are the structure used most in coding and cryptography. Lattice and non-lattice optima may differ, and in some dimensions the best known packings are not lattices.
Exact solutions.
- is trivial and is the hexagonal arrangement (Thue; complete proof by L. Fejes Tóth, 1940).
- : Kepler's conjecture, proved by Hales and Ferguson (published 2005). A fully formal proof (the Flyspeck project, in the HOL Light and Isabelle proof assistants) was completed in 2014 and published in 2017.
- and : the lattice and the Leech lattice are optimal. Viazovska proved the case in 2016, and Cohn, Kumar, Miller, Radchenko and Viazovska proved a week later.
The proofs use the linear programming bound of Cohn and Elkies (2003). The idea is to find a special function on with two properties on and its Fourier transform ; any such function gives an upper bound on the density. The challenge was to find the exact function that makes the bound match the known packing, and Viazovska built it from modular forms.
High dimensions. For general the question is the exponential rate of , roughly how fast the best density decays as grows. A classical lower bound (Minkowski, Rogers) is of order up to polynomial factors, and recent work (Campos, Jenssen, Michelen and Sahasrabudhe; Klartag) improved the polynomial factor. The best upper bound for decades has been Kabatiansky–Levenshtein (1978), with density at most up to lower-order terms. Closing the gap between exponent and exponent is a major open problem. An unrefereed manuscript from August 2026 claims the exact limit of the Cohn–Elkies method, which would nudge the upper exponent to about and show that method can go no further.
Connections. Packings correspond to error-correcting codes, where points are codewords and balls represent noise tolerance. Lattices also underlie lattice-based cryptography, whose security rests on the hardness of finding short vectors, and the related kissing number problem asks how many balls can touch one central ball.
Go deeper
The full technical text.
The problem
A sphere packing in is a set of non-overlapping unit balls. Its density is the fraction of space covered; denotes the supremum over all packings. A lattice packing centres the balls at the points of a lattice , which is the structure most used in coding and cryptography. The lattice and non-lattice optima may differ: the best known packings in some dimensions are not lattices.
Exact solutions
- is trivial. is the hexagonal lattice (Thue, with a complete proof by L. Fejes Tóth in 1940).
- : Kepler's conjecture, proved by Hales (with Ferguson; published 2005); the formal proof (the Flyspeck project, in HOL Light and Isabelle) was completed in 2014 and published in 2017.
- and : the lattice and the Leech lattice are optimal. Viazovska proved the case (arXiv, March 2016), and Cohn, Kumar, Miller, Radchenko and Viazovska proved a week later.
No other dimension is solved. Lattice-only optima are known up to dimension 8 and in dimension 24.
The linear programming method
Cohn and Elkies (2003) showed that if a real Schwartz function on satisfies , everywhere and for , then where is the volume of the unit ball, by applying the Poisson summation formula. Numerics suggested that the bound is tight in dimensions 8 and 24; Viazovska and then Cohn et al. constructed explicit "magic functions" through modular forms to prove it. The same method gives upper bounds in all dimensions, and it is a Fourier-analytic cousin of Delsarte's linear programming bound for codes.
High dimensions
In large the picture is exponential. Lower bounds come from the probabilistic method: Minkowski and Hlawka showed , and for a century the improvements were by polynomial factors in (Rogers, Ball, Venkatesh). Campos, Jenssen, Michelen and Sahasrabudhe (2023) obtained for general packings, and Klartag (2025) showed that lattice packings of density at least exist. Upper bounds have an exponentially different shape: the Kabatiansky-Levenshtein bound of 1978 has the form . An OpenAI manuscript released on 1 August 2026 (unrefereed) claims to determine the exact asymptotic strength of the Cohn–Elkies bound, , as conjectured in 2020 by Afkhami-Jeddi, Cohn, Hartman, de Laat and Tajdini. This would give the upper-bound exponent , and it would show that the method cannot go further. See the problem page.
Connections
- Coding theory. Packings in correspond to codes for the Gaussian channel, and spherical codes to codes on the sphere. Sphere-packing bounds give limits on code performance at a given rate and dimension.
- Cryptography. Lattice problems such as the shortest vector problem (SVP) and learning with errors are the basis of post-quantum cryptography. Densest lattices, kissing numbers and spherical-code bounds enter the cost analyses of sieving algorithms for SVP.
- Fourier analysis. Sign-uncertainty principles (Bourgain-Clozel-Kahane; Cohn-Goncalves) and Fourier interpolation formulas (Radchenko-Viazovska) are closely tied to linear programming bounds for packings.
- Formalization. A Lean formalization of Viazovska's dimension-8 proof, launched by Hariharan and Viazovska in March 2024, was completed in February 2026. Math Inc.'s autoformalization system Gauss did the final stages.
Words on this page (12)
- sphere packing
- An arrangement of equal, non-overlapping balls in space.
- packing density
- The fraction of space covered by the balls in a packing.
- lattice
- A regularly repeating grid of points in space generated from a few basic vectors.
- Kepler conjecture
- The statement that the stacking used for oranges is the densest packing of balls in three dimensions.
- E8 lattice
- An exceptionally symmetric eight-dimensional lattice that gives the densest packing in eight dimensions.
- Leech lattice
- A remarkable 24-dimensional lattice that gives the densest packing in 24 dimensions.
- linear programming bound
- An upper limit on packing density found by constructing a special function satisfying certain inequalities.
- error-correcting code
- A way of adding structure to messages so that errors from noise can be detected and fixed.
- kissing number
- The largest number of equal balls that can touch one central ball at the same time.
- lattice-based cryptography
- Encryption whose security relies on how hard it is to find short vectors in a lattice.
- Fourier transform
- A way of splitting a function into waves of different frequencies.
- modular form
- A highly symmetric complex function; Viazovska built her special function out of them.
New to this? Read first (4)
- Quanta: Sphere packing solved in higher dimensionsA clear news-style account of the 2016 breakthrough.
- Sphere packing - WikipediaOverview of results by dimension.
- Kepler conjecture - WikipediaThe three-dimensional story and its computer proof.
- Kissing number - WikipediaA close cousin of sphere packing.
Understanding map
map of the whole wiki →What to read before Lattices and sphere packing (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Harmonic analysisTheory
- Fast matrix multiplicationAlgorithm
- Step 3
- Linear programmingAlgorithm
- Step 4
- Lattices and sphere packingYou are here
- Then
- Lattice-based cryptography (LWE)Algorithm
- Lattice reduction (LLL, BKZ, sieving) and the TU Darmstadt lattice challengesAlgorithm
- Exponential rate of the densest sphere packing in ℝd: between d² 2−d and 2−0.599dOpen problem · D76
- The kissing number in dimension 5: is it 40, or can it exceed 40 up to 44?Open problem · D64
Open problems & questions
Progress timeline
- Aug 1, 2026Claimed upper-bound exponent 0.6044 (unrefereed)Related to: Exponential rate of the densest sphere packing in ℝd: between d² 2−d and 2−0.599dsource
OpenAI claim about the Cohn–Elkies program.
- Mar 4, 2026Fourth 40-point configuration, revised paperRelated to: The kissing number in dimension 5: is it 40, or can it exceed 40 up to 44?source
Cohn and Rajagopal analyse four non-isometric 40-point configurations; none beats 40.
- Feb 1, 2026Dimension-8 optimality formally verified in Leansource
The Hariharan–Viazovska Lean project completes a formal verification of the dimension-8 result, with the final stages done by Math Inc.'s Gauss (month only; day not asserted).
- Apr 7, 2025Klartag lattice packings of density d² 2^(−d)Related to: Exponential rate of the densest sphere packing in ℝd: between d² 2−d and 2−0.599dsource
Further improvement by a factor d/log d.
- Apr 7, 2025Klartag: lattice packings of density c·d²·2^(−d)source
Klartag exhibits, in every dimension, an ellipsoid of volume of order with no nonzero lattice points inside, improving the best lattice lower bound by a factor of order (arXiv; v2 January 2026).
- Dec 15, 2023First asymptotic improvement to Rogers' boundRelated to: Exponential rate of the densest sphere packing in ℝd: between d² 2−d and 2−0.599dsource
Campos–Jenssen–Michelen–Sahasrabudhe.
- Dec 15, 2023First asymptotic improvement to Rogers' 1947 lower boundsource
Campos, Jenssen, Michelen and Sahasrabudhe prove existence of packings of density at least .
- Jan 19, 2023Third 40-point configuration (Szöllősi)Related to: The kissing number in dimension 5: is it 40, or can it exceed 40 up to 44?source
A new kissing arrangement Q₅, not isometric to D₅ or L₅.
- Mar 21, 2016Cohn, Kumar, Miller, Radchenko and Viazovska solve dimension 24source
The Leech lattice packing is shown to be optimal in , and the unique optimal periodic packing.
- Mar 14, 2016Viazovska proves optimality of E8source
Using a modular-form construction of a function for the Cohn-Elkies linear program, Viazovska shows that no packing in is denser than the lattice packing.
- Mar 14, 2016E8 packing is optimalRelated to: Exponential rate of the densest sphere packing in ℝd: between d² 2−d and 2−0.599dsource
Viazovska, via modular forms.
- Feb 6, 2009SDP bound improved to 44Related to: The kissing number in dimension 5: is it 40, or can it exceed 40 up to 44?source
Mittelmann and Vallentin reduce the upper bound on τ₅ from 45 to 44 (arXiv date).