Lattices

The two lattices where a four-dimensional descent stops short

In four dimensions the argument that rules out a single best lattice in space has nothing to act on, so whether one lattice wins at every width is left to be measured. A search over every four-dimensional lattice finds D₄ from almost anywhere. The exceptions are the finding: two lattices, A₄ and its dual, where a descent can stop short, each at one end of the widths and neither in the middle, for the same reason Voronoi found four dimensions has two perfect forms.

Assumes In eight dimensions one lattice wins at every width, No lattice in space wins at every width and One perfect form in space.

No lattice in space wins at every width asked which lattice of unit covolume makes the Gaussian sum θ(t)=∑ve−πt∣v∣2\theta(t) = \sum_v e^{-\pi t |v|^2} smallest, and found that in three dimensions the answer changes with the width tt. The face-centred cubic lattice wins for narrow Gaussians and its dual, the body-centred cubic, for wide ones. The reason is a single identity, θL(t)=t−d/2 θL∗(1/t)\theta_L(t) = t^{-d/2}\,\theta_{L^*}(1/t), which ties a lattice at one width to its dual at the reciprocal width. If the winner at narrow widths is not its own dual, its dual must win at the wide ones, so no single lattice can win everywhere. In eight dimensions one lattice wins at every width measured the case where that argument fails because the champion is its own dual. There, E8E_8 is proved to win everywhere.

That essay ended with four dimensions, where the argument also fails and nothing is proved. The densest four-dimensional lattice, D4D_4, is similar to its own dual, so the duality identity cannot rule it out as a winner at every width. It was measured against one rival, Z4\mathbb{Z}^4, and beat it everywhere. This essay measures it against every lattice a local search can reach.

The answer is almost uniform, and the exception is the interesting part. Descents from random four-dimensional lattices end at D4D_4 from fifty-nine of sixty starts. The sixtieth stops at a different lattice, and that lattice turns out to be one of exactly two in four dimensions where a descent can stop short. A4A_4 traps descents for narrow Gaussians and its dual A4∗A_4^* for wide ones, and at the middle width neither does. They are the traps they are for a reason Voronoi’s theory of perfect forms supplies.

Every lattice of four dimensions, parametrised

A lattice of unit covolume in four dimensions, taken up to rotation, is a positive definite 4×44 \times 4 Gram matrix of determinant one: ten entries less one constraint, nine free parameters. Here it is written through the upper-triangular factor of the Gram matrix, three of whose diagonal entries enter through their logarithms so that every choice of nine real numbers is a valid lattice, and the whole matrix is then rescaled to determinant one. The search moves through this nine-dimensional space. Each point of it is a lattice, and each lattice appears many times, once for every basis.

The quantity being minimised is evaluated exactly rather than approximated. For a given lattice and width, every lattice vector with ∣v∣2|v|^2 below the radius at which the Gaussian falls under 10−1310^{-13} is enumerated by the Fincke–Pohst recursion on the Cholesky factor, after the basis has been reduced so that the enumeration stays small. The sum is then carried out. Two cases check it: Z4\mathbb{Z}^4, whose sum is Jacobi’s ϑ34\vartheta_3^4, and D4D_4, whose sum is (ϑ34+ϑ44)/2(\vartheta_3^4 + \vartheta_4^4)/2. The enumeration reproduces both at three widths to eleven decimal places.

D4D_4 against the named rivals

Before any search, the obvious comparison is with the four-dimensional lattices that have names: the integer lattice Z4\mathbb{Z}^4, the root lattice A4A_4 and its dual A4∗A_4^*, each scaled to unit covolume.

D₄ against the other named lattices of four dimensions. For Z⁴, A₄ and its dual A₄, each scaled to unit covolume, the Gaussian sum less its constant term divided by D₄'s, as the width t runs from 0.3 to 3 on a logarithmic scale. Every ratio stays above one, so D₄ has the smallest sum of the four at every width. A₄ and A₄ cross at t = 1, where duality makes their sums equal, and swap places either side of it: A₄* is closer to D₄ for wide Gaussians and A₄ for narrow ones.
Fig. 1 Each rival’s Gaussian sum, less its constant term, divided by D4D_4’s, as the width runs from 0.3 to 3 on a logarithmic scale. Every ratio stays above one. A4A_4 and A4∗A_4^* cross at t = 1 and swap sides of it.

Every ratio stays above one at every width from 0.3 to 3, so D4D_4 has the smallest sum of the four throughout. Z4\mathbb{Z}^4 falls away fastest: at t=2t = 2 its sum, less the constant, is four and a half times D4D_4’s. A4A_4 and A4∗A_4^* are much closer, and they are closer still to each other. At t=1t = 1 they tie exactly, at 1.0718 times D4D_4’s, because each is the other’s dual and the duality identity at t=1t = 1 equates their sums. Either side of that width they swap. A4∗A_4^* is the nearer rival for wide Gaussians, within 0.15 per cent of D4D_4 at t=0.5t = 0.5, and A4A_4 for narrow ones.

That the rivals come so close at wide Gaussians is not a sign of weakness in D4D_4. As tt falls, every lattice of unit covolume has a sum that approaches the same 1/t21/t^2, because a wide Gaussian samples the lattice so coarsely that only its covolume matters. All the ratios therefore approach one at the wide end. Comparisons are informative in the middle of the range and at the narrow end, where the shortest vectors dominate. There D4D_4’s twenty-four shortest vectors of squared length 2\sqrt2, the most any four-dimensional lattice has, give it the advantage that decides the packing problem.

Sixty descents

The named lattices are four points in a nine-dimensional space. The search tests the rest. At each of five widths, twelve starting lattices are drawn at random. From each start the sum is minimised by the Nelder–Mead method, then refined by a second pass with a smaller step, and the lattice it ends at is identified by its sum and by counting its shortest vectors.

Almost every descent ends at D₄. At five widths of the Gaussian, twelve local minimisations of the lattice sum over all four-dimensional lattices of unit covolume, each from a random lattice, each marked by where it ends and labelled with the number of shortest vectors of the lattice it ends at. Fifty-nine of the sixty end at D₄, with twenty-four shortest vectors. One, at the widest Gaussian, ends at A₄*, with ten, a lattice whose sum is higher than D₄'s but which no small change lowers.
Fig. 2 At five widths, twelve descents from random four-dimensional lattices, each marked by where it ends and labelled with the number of shortest vectors of the lattice it ends at. Fifty-nine end at D4D_4, with twenty-four; one, at the widest Gaussian, ends at A4∗A_4^*, with ten.

The picture at the head of this essay is the result. Fifty-nine of the sixty descents end at a lattice whose sum agrees with D4D_4’s to seven figures and which has twenty-four shortest vectors. It is D4D_4, reached from random starts that looked nothing like it. At four of the five widths all twelve starts find it.

The sixtieth descent, at t=0.5t = 0.5, ends at a lattice with ten shortest vectors and a sum of 3.017933.01793 against D4D_4’s 3.013283.01328. It is A4∗A_4^*, to every figure the sum is computed to. The descent did not fail to converge. It converged to a lattice where no small change of shape lowers the sum, and that lattice is not the best.

Two traps, and where they close

A descent that stops at A4∗A_4^* raises the obvious question of which lattices, and at which widths, are local minima of the sum at all. The test is direct. Perturb a lattice by a small random change of shape, descend, and see whether the descent returns to it or leaves. A lattice to which every perturbed descent returns is a local minimum at that width.

Two false minima, one at each end of the widths. For D₄, A₄, A₄ and Z⁴ at three widths, six descents of the Gaussian sum started from small random changes of the lattice. Where all six return, the lattice is a local minimum; where they leave, they arrive at D₄. D₄ is a local minimum at every width. A₄ is one for the narrow Gaussian and A₄ for the wide one, as duality requires, and neither at t = 1. Z⁴ is never one.
Fig. 3 For D4D_4, A4A_4, A4∗A_4^* and Z4\mathbb{Z}^4 at three widths, six descents from small random changes of each. Where all six return, the lattice is a local minimum. D4D_4 is one at every width; A4A_4 only for the narrow Gaussian, A4∗A_4^* only for the wide one; Z4\mathbb{Z}^4 never.

D4D_4 is a local minimum at every width tested: all six perturbed descents return, at t=0.5t = 0.5, 1 and 2. Z4\mathbb{Z}^4 is a local minimum at none. Every descent from it leaves and, apart from one that stalled on the way, reaches D4D_4. A4A_4 and A4∗A_4^* behave in a way that duality alone predicts once one of them is known. A4A_4 is a local minimum at t=2t = 2 and not at t=0.5t = 0.5 or 1. A4∗A_4^* is a local minimum at t=0.5t = 0.5 and not at t=1t = 1 or 2. At the middle width, t=1t = 1, neither is: perturbed descents from both leave and reach D4D_4.

The pairing is exactly what the duality identity forces. It carries the sum of A4A_4 at width tt to the sum of A4∗A_4^* at 1/t1/t, and a change of shape of A4A_4 to a corresponding change of its dual. So A4A_4 is a local minimum at tt exactly when A4∗A_4^* is one at 1/t1/t. The measurement shows the traps open at the two ends of the range and closed at the self-dual width in the middle. The random search met the one at t=0.5t = 0.5 once in twelve tries.

Why A4A_4, of all lattices

The reason A4A_4 is a trap for narrow Gaussians is a classical theorem, and one perfect form in space described the theory behind it. As tt grows, the Gaussian sum is dominated more and more by a lattice’s shortest vectors. Minimising it for very narrow Gaussians is therefore the same as maximising the length of the shortest vector at fixed covolume, which is the lattice packing problem. Voronoi showed that the lattices where the packing density is locally maximal are exactly the perfect and eutactic ones. Perfect means the shortest vectors pin the shape down. Eutactic means the inverse Gram matrix is a positive combination of the shortest vectors’ outer products. In two and three dimensions there is one perfect form, and the earlier essay found it by search. In four dimensions there are two, both found by Korkine and Zolotareff in the nineteenth century: D4D_4 and A4A_4. Both are eutactic, so both are local maxima of the packing density.

So for narrow enough Gaussians the sum has at least two local minima, D4D_4 and A4A_4, because the packing problem does. The descent that starts in A4A_4’s basin stops there. At t=2t = 2 the measurement already shows it: A4A_4 is a local minimum. Duality then supplies the other end. A4∗A_4^*'s status at wide Gaussians is A4A_4’s at narrow ones, so A4∗A_4^* is a local minimum at t=0.5t = 0.5 for no reason of its own. It borrows the reason from A4A_4.

That makes the middle width the interesting one. At t=1t = 1 neither trap is open, and the single minimum found is D4D_4. The self-dual width is where the four-dimensional problem is simplest. A local search from anywhere finds D4D_4, and the question the duality argument leaves open, whether D4D_4 wins at every width, looks easiest to settle there.

Where the traps open

A local minimum becomes a saddle when some direction of change stops raising the sum and starts lowering it. That is a question about second derivatives, and it can be answered at a lattice without running any descent. D4D_4, A4A_4, A4∗A_4^* and Z4\mathbb{Z}^4 are critical points of the sum at every width for a reason of symmetry. The gradient of the sum at a lattice is a quadratic form that the lattice’s own automorphisms must leave unchanged. For each of these four lattices the only such form is a multiple of the Gram matrix itself, and a change along that direction only rescales the lattice, which the fixed covolume forbids. So the gradient vanishes. Whether each is a minimum is then decided by the Hessian, the matrix of second derivatives over the nine directions of change.

For A4A_4 those nine directions fall into two families of four and five, the two irreducible pieces into which its symmetry group, of order two hundred and forty, splits the traceless quadratic forms. Within each family every direction has the same curvature. At t=0.9t = 0.9 the five-dimensional family curves downwards, so A4A_4 is a saddle and a descent leaves it. At t=1.1t = 1.1 it curves upwards, and with the four-dimensional family also upward, A4A_4 is a local minimum. A4∗A_4^* shows the same pattern reversed.

Both traps open at the self-dual width. The second derivative of the Gaussian sum at A₄ and at A₄ along the five-dimensional family of changes of shape that their symmetry groups single out, against the width from 0.8 to 1.25 on a logarithmic scale. A₄'s is negative below t = 1 and positive above, so A₄ becomes a local minimum there; A₄'s is the reverse. Both cross zero at t = 1 to within two parts in a hundred thousand, which duality says they must do at reciprocal widths and which this measurement puts at the self-dual one.
Fig. 4 The second derivative of the Gaussian sum at A4A_4 and at A4∗A_4^* along the five-dimensional family of changes their symmetry singles out, from t = 0.8 to 1.25. A4A_4’s is negative below one and positive above; A4∗A_4^*'s the reverse. Both cross zero at t = 1 to within two parts in a hundred thousand.

Bisection on the width finds the crossing. A4A_4’s five-dimensional curvature changes sign at t=0.99998t = 0.99998 and A4∗A_4^*'s at t=1.00002t = 1.00002. Their product is one to within the precision of the second derivatives. The duality identity guarantees that product. It carries A4A_4’s curvature at width tt onto A4∗A_4^*'s at 1/t1/t with a positive factor, so wherever one changes sign the other changes sign at the reciprocal width. What duality does not say is where the first crossing falls. The measurement puts it at the self-dual width itself, so that at exactly t=1t = 1 both lattices sit on a five-dimensional flat of the sum, degenerate critical points that a descent can drift away from. That fits the perturbed descents at t=1t = 1, which all left both lattices. Why the crossing falls at t=1t = 1 and nowhere else is measured here, not explained.

The symmetry that leaves the question open

D₄ is its own dual, and A₄ and A₄* are each other's. The whole Gaussian sum of Z⁴, A₄ and A₄ at unit covolume divided by D₄'s, against the width on a logarithmic scale. Because D₄ and Z⁴ are each their own dual, the Poisson identity makes Z⁴'s ratio exactly symmetric about t = 1, and A₄'s curve is A₄'s reflected there. Every curve stays above one. The symmetry is why the argument that forbids a single winner in space, where the densest lattice and its dual differ, has nothing to act on in four dimensions.
Fig. 5 The whole Gaussian sum of Z4\mathbb{Z}^4, A4A_4 and A4∗A_4^* divided by D4D_4’s, against the width. Z4\mathbb{Z}^4’s ratio is symmetric about t = 1 because both it and D4D_4 are their own duals; A4A_4’s is A4∗A_4^*'s reflected there. Every curve stays above one.

Dividing each rival’s whole sum by D4D_4’s shows the duality directly. Z4\mathbb{Z}^4 and D4D_4 are both their own duals at unit covolume, so Z4\mathbb{Z}^4’s ratio is exactly symmetric about t=1t = 1. A4A_4’s curve is A4∗A_4^*'s reflected about the same point. The symmetries are checked to 10−910^{-9} and they are the reason the three-dimensional argument fails here. It needed the winner at one end to differ from its dual. D4D_4 does not, so it can in principle win at both ends and everywhere between. Whether it does is what the search is evidence for.

What the widths mean for particles

The Gaussian sum is not only a lattice invariant. It is the energy per particle of the Gaussian core model, particles that repel one another with a Gaussian of fixed width, arranged on a lattice. Fixing the covolume and changing tt is the same as fixing the width of the repulsion and changing the density. A large tt is a Gaussian narrow compared with the spacing, which is a dilute system, and a small tt is a dense one. In three dimensions, the lattice that minimises the energy switches from face-centred cubic in the dilute system to body-centred cubic in the dense one, which is the duality argument read as a phase transition. Frank Stillinger’s work on this model in the 1970s made the Gaussian core the standard example of a system that freezes into two different crystals at two ends of its density range.

In four dimensions the search says what the corresponding phase diagram looks like among lattices. There is one crystal, D4D_4, at every density tested. A4A_4 appears as a metastable crystal in the dilute system and A4∗A_4^* in the dense one, local minima a system could be trapped in and would leave for D4D_4 if it could. At the self-dual density neither is metastable. The two false minima are, in the language of phases, two metastable crystals whose regions of stability meet at a single density and do not overlap.

What a search cannot show

A descent that ends at D4D_4 from sixty random starts is evidence that D4D_4 is the smallest sum among all four-dimensional lattices at those widths. It is not a proof. A basin of attraction that no start happened to enter, belonging to some lattice with a smaller sum than D4D_4, is not excluded. The search found A4∗A_4^*'s basin, which is a small target, in one start of twelve. So a basin as small as that is unlikely to hide at the other widths, but a smaller one could.

The search is also only over lattices. The deeper question, whether D4D_4 minimises Gaussian energy among all periodic arrangements of points in four dimensions, including those with several points in a cell, is where the conjecture that it is universally optimal actually lives. For E8E_8 and the Leech lattice that question was settled in 2022 by Cohn, Kumar, Miller, Radchenko and Viazovska. For D4D_4 it is open, and a lattice search cannot reach it.

What the search has to refuse

What the four-dimensional search must satisfy. Seven tests, each able to fail: the enumerated sums against Jacobi's closed forms for Z⁴ and D₄; the shortest-vector counts of D₄, A₄ and Z⁴; D₄ smallest of the four named lattices at three widths; random descents at t = 1 ending at D₄; A₄ and A₄* as local minima at the narrow and the wide end and neither at t = 1; and the two five-fold curvatures crossing zero at reciprocal widths, both at one. One claim refused: that the duality argument rules out a single winner in four dimensions, when D₄ is its own dual.
Fig. 6 Seven tests, each able to fail: the enumerated sums against Jacobi’s closed forms, the shortest-vector counts of D4D_4, A4A_4 and Z4\mathbb{Z}^4, D4D_4 smallest of the named lattices at three widths, random descents at t = 1 ending at D4D_4, the two false minima at the two ends and neither in the middle, and the two five-fold curvatures crossing zero at reciprocal widths. One claim refused.

The refused claim is the natural misreading of the three-dimensional result: that the duality argument rules out a single winner in four dimensions as it does in three. It cannot, because D4D_4 at unit covolume is its own dual. The sum at width 0.70.7 equals the sum at 1/0.71/0.7 divided by 0.720.7^2, to nine decimal places, and an argument that needs a winner and its dual to differ has nothing to separate. The test that makes the traps credible is the pairing. A4A_4’s status at t=2t = 2 and A4∗A_4^*'s at t=0.5t = 0.5 were measured separately, by descents that knew nothing of duality, and they came out the same.

Still open: why the traps open at one, and a proof for lattices

The crossing at the self-dual width asks for a reason the computation does not give. One candidate is a path of lattices from A4A_4 to A4∗A_4^* along which the sum at t=1t = 1 stays constant. Duality maps such a path to itself, and it would supply the flat direction, and by symmetry all five. Another is a relation between the fourth moments of A4A_4’s shells and A4∗A_4^*'s at the same width, which the numbers suggest is nearly, but not exactly, a change of sign. Neither has been checked. Both are finite computations on two explicit lattices.

For lattices alone, the question of whether D4D_4 wins at every width is finite-dimensional, and the traps show where a proof would have to work. At the self-dual width there is apparently one minimum. At the ends there are two, and a proof must show that D4D_4’s is the lower of them, which the ratios above measure and do not prove.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

The objects this essay names

Each one links to every other essay that touches it.

Dual latticeGram matrixKissing numberLatticePerfect formPoisson summationSphere packingTheta series