Into space

Forgetting a group in three dimensions

For three phases this site said its machinery was two-dimensional and decided nothing about a space group. That was true, and it was a limit rather than a principle — nothing in the decidability argument mentions the number two.

Assumes The step a flat surface has no room for and What a symmetry actually is.

The argument this site rests on has four steps and none of them mentions a dimension. A symmetry of a lattice is a matrix that maps the lattice to itself; written in the lattice’s own basis that matrix has integer entries; a translation compatible with it has a rational one with a small denominator; and so deciding whether a point set has a given symmetry is integer arithmetic rather than a comparison against a tolerance.

Every one of those sentences is as true of a 3×3 matrix as of a 2×2 one.

The round trip, on Pnma. 8 operations were generated from the standard generators of Pnma; the orbit of three points in general position was formed, the group was discarded, and 8 operations were rediscovered from the 24 points alone. The two sets are identical, which is what the figure asserts.
Fig. 1 Eight operations generated from the symbol of an orthorhombic group, twenty-four points formed as the orbit of three points in general position, the group thrown away, and eight operations rediscovered from the bare point set by testing every one of the eight matrices an orthorhombic lattice permits against every translation that could carry one point onto another. The two lists agree exactly, which is what makes the diagram of this group a claim rather than a drawing.

So the round trip runs in space, and this essay is about what had to be built to make it run and what it cost. Three things were genuinely harder than translating the two-dimensional code, and the first is the one worth the most attention.

The holohedries are not typed in

In the plane there are five lattice types and each has a point group small enough to write out: two operations for the oblique lattice, four for the rectangular and the rhombic, eight for the square, twelve for the hexagonal. The plane’s were written out here for a long time — a table of thirty-one matrices, checked by eye.

In space there are seven, the largest has forty-eight elements, and typing out a hundred and thirty-four 3×3 integer matrices correctly is not a thing anybody should attempt. More to the point, a table is the wrong object. What a holohedry is is the answer to a question — which integer matrices preserve this lattice’s metric? — and asking the question is both shorter than the table and worth more.

The metric of a lattice is the matrix of dot products of its basis vectors. A symmetry sends each basis vector to a lattice vector of the same length, with the same angles to the others, so finding the symmetries means finding every integer vector of the right squared length and then every triple of them with the right inner products. That is a finite search, and the bound on it can be made exact rather than generous: if a vector has squared length N under the form, then its i-th coordinate satisfies x² ≤ N·(G⁻¹)ᵢᵢ, which is Cauchy–Schwarz applied to the form itself.

How much symmetry each primitive cell has, counted. The order of every primitive cell's automorphism group, found by enumerating the integer vectors of the right squared length under that cell's metric and assembling the triples that reproduce it. Nothing here is a table: a hundred and thirty-four matrices would have to be typed correctly to make one, and a table cannot be wrong in a way anything notices. The search can be, which is why each of these seven numbers is required to come out at the order its system is defined by — two for triclinic, forty-eight for cubic. A search whose bound was too tight would return a divisor of the right answer, a group that is perfectly consistent as far as it goes, and the requirement is what turns that into a refusal.
Fig. 2 The search run on the seven primitive cells. Each bar is the number of integer matrices that preserve that cell’s metric, found by enumerating vectors of the right squared length and assembling the triples that reproduce it. The seven numbers are what the seven systems are defined by, which is why each of them is required to come out at exactly that — a search whose bound was too tight would return a divisor and look entirely reasonable.
Fourteen out of 25, decided by counting. The same enumeration run on every centred cell worth asking about — 25 of them — with what the search found against what the system requires. 14 keep their system's full symmetry and are not a lattice already on the list, and those are the Bravais lattices. 3 come back short: the centring has broken the very symmetry it was applied to, so what is left is a lattice of a less symmetric system that has already been counted. The remaining 8 keep their symmetry and describe a lattice already listed, which is established by exhibiting the change of cell that takes one to the other rather than by comparing counts. Nothing in this table is quoted; the number fourteen is what the counting leaves.
Fig. 3 The same enumeration on every centred cell worth asking about, where the answers stop agreeing with what the system requires. Three come back short — the centring has broken the symmetry it was applied to, so what is left is a lattice of a less symmetric system already counted. Eight keep their symmetry and describe a lattice already on the list, which is settled by exhibiting the change of cell rather than by comparing counts. Fourteen are left, and that is where the number comes from.

Two things follow immediately from doing it this way, and both are worth more than the tidiness.

The first is that the fourteen Bravais lattices become countable rather than quotable. If the machinery reports that a C-centred cubic lattice has sixteen automorphisms rather than forty-eight, then the sentence “there is no C-centred cubic lattice” stops being a fact to memorise.

The second is a check that cannot be faked. A bounded search fails silently: it returns a group that is correct as far as it went. So every holohedry here is required to come out at the order its system is defined by — two for triclinic, forty-eight for cubic — and the requirement is checked every time the figure is drawn. If the bound were wrong, the cubic answer would be some divisor of forty-eight and the figure would refuse rather than appear. A gate that only checks the answers it can already predict is a gate that checks nothing, but this one is checking the search, which is exactly the thing that could quietly be wrong.

The metrics themselves need one piece of care. They are chosen generic, meaning no accidental equality holds among their entries, and the reason is that an accident produces a lattice with more symmetry than its system has. A tetragonal metric with c equal to a is a cubic lattice; a monoclinic one with β at ninety degrees is orthorhombic. One accident of that kind was in fact written into an early version of this code and caught by the assertion: with a² = 9, b² = 16 and c² = 25, two of the primitive vectors of the body-centred orthorhombic cell come out orthogonal, because 9 + 16 = 25. The lattice was still orthorhombic and the count still came out at eight, so nothing failed — but the relation is a property of those three numbers rather than of an orthorhombic lattice, and it would have made a later figure drawn from that metric wrong in a way nothing measured. The c² is now 36.

A metric is a small object with a lot in it

It is worth pausing on the metric, because it carries more than it looks and this field will lean on it repeatedly.

The metric is six numbers: three squared lengths and three dot products, arranged as a symmetric 3×3 matrix. That is all the geometry a lattice has. Every length, every angle, every distance between lattice points and every volume is recoverable from those six numbers, and two lattices with the same metric in some basis are the same lattice.

What makes it usable here is that the six numbers can be integers. A cubic cell of side three has the metric with nines on the diagonal and zeros elsewhere. A hexagonal one with a² = 8 has −4 in the a·b position, because the angle is 120° and the cosine is exactly −1/2. Rational cosines are what keep the arithmetic exact — a cell with a 100° angle would have an irrational entry and every comparison would become a tolerance, which is precisely the situation this site exists to avoid.

The angles being rational rather than realistic is a genuine departure from any real crystal and it costs nothing, because the classification does not depend on the values. A monoclinic lattice with β = arccos(−1/8) has the same symmetry as one with β = 100.3°, and the point of the generic choice is only that no additional symmetry sneaks in. That is checked rather than assumed, which is the assertion above.

There is a converse worth noticing while the metric is in view. Because symmetry here is decided against a stated metric, a crystal whose metric is accidentally more symmetric than its structure — a monoclinic cell that happens to measure β = 90.00° — will present a lattice with more symmetry than the crystal has. That gap between the metric symmetry and the actual symmetry is a real and common difficulty in structure determination, and it is the three-dimensional version of what this site’s near-symmetry essay is about. The machinery here has nothing to say about it, because it is a question about measurement error and this machinery has none.

The detector, and the size of the problem

The second half of the round trip is the detector, and its structure is the plane’s: for each linear part the lattice allows, and for each candidate translation, test whether the operation maps the point set to itself. What makes it complete rather than heuristic is that a symmetry must send some point to some point, so the differences between points exhaust the candidate translations.

What changes in space is the size. The largest group here has 192 operations in its conventional cell, and its orbit of a three-point motif is 576 points; forty-eight linear parts against 576 candidate translations each is nearly twenty-eight thousand operations to test, and each test walks the whole point set.

The fix is to find the pure translations first. They form a subgroup, and any operation that works can be composed with any of them to give another that works — so candidates need only be tested one per coset, and a face-centred lattice has four translations in the cell, which divides the work by four for free.

Fm3̅m, seen as a solid. The 192 images of one point under Fm3̅m, drawn in a single cell, viewed from 30° round and 20° above. Reversed copies are in the second colour. The projection is a drawing convention: the cell is shown with the shape its system requires and no attempt is made to keep any length to scale.
Fig. 4 The largest orbit this site draws: 192 operations acting on one point, in the face-centred cubic group that copper and gold and rock salt’s cation sublattice belong to. Detecting this from the bare point set takes about an eighth of a second, which is the difference between a check that runs inside every figure and one that has to be taken on trust.

That number matters more than it looks. A check that takes a minute gets run when somebody remembers; a check that takes an eighth of a second runs inside the figure that is being drawn, every time, and a figure that fails it is never seen. The whole value of this site’s habit rests on the check being cheap enough to be unavoidable.

What it refuses, and the oldest finding on this site

The interesting direction of the round trip is not the missing one. A pattern that lacks a symmetry it was supposed to have tends to look wrong, and a reader would catch it. A pattern with symmetries it was never given looks perfect, and it is a picture of a different group from the one in the caption.

This collection found that in the plane first, and gave it an essay: the motif must be a comma, because the orbit of a single dot under p1 acquires an inversion centre at the midpoint between the dot and each of its own lattice translates. A single point is too symmetric to illustrate the group with no symmetry at all.

The same argument holds in space, for the same reason, and it was rediscovered here by the machinery refusing to draw something.

The round trip refusing P2₁. 2 operations were generated from the standard generators of P2₁; the orbit of a single point was formed, the group was discarded, and 4 operations were rediscovered from the 2 points alone. The sets differ: 2 operation(s) were detected that were never generated and 0 generated operation(s) are not symmetries of the drawn point set. That is the refusal, and the build would stop on it if this figure were not asking for it.
Fig. 5 The refusal. P2₁ has two operations modulo its lattice: the identity and a two-fold screw. The orbit of a single point under it has four symmetries, because the midpoint of any two points of the orbit is an inversion centre — so the point set is really P2₁/m, and a diagram of it labelled P2₁ would be a picture of the wrong group with nothing about it to give that away.

There is a second and cruder way to spoil a motif, and the detector catches it too.

The round trip refusing P4. 4 operations were generated from the standard generators of P4; the orbit of a point placed at the origin was formed, the group was discarded, and 16 operations were rediscovered from the 1 points alone. The sets differ: 12 operation(s) were detected that were never generated and 0 generated operation(s) are not symmetries of the drawn point set. That is the refusal, and the build would stop on it if this figure were not asking for it.
Fig. 6 A motif placed at the origin. Every operation of P4 fixes the origin, so the orbit is a single point — and a single point at the origin of a tetragonal lattice has the whole holohedry, sixteen operations rather than four. This is the failure that is obvious once stated and invisible in a drawing, because a picture of one dot in a square cell is a picture of one dot in a square cell whatever the caption says.

Every diagram in this field therefore verifies with a three-point asymmetric motif, whatever it goes on to draw. Some of the plan diagrams then plot the orbit of one point, because that is what the Tables print and because three points times forty-eight operations is an unreadable thicket — but the verification uses the comma, the figure’s description says which was used for what, and the two numbers both appear.

The commoner failure in space is worse than in the plane, and it is worth saying why. In the plane, a determined reader can trace a wallpaper pattern’s operations and satisfy themselves that the caption is right. Here nobody can. A space-group diagram is a projection with heights printed as numbers, and checking that a set of twenty-four points really has exactly eight symmetries and not sixteen is not something a person does by looking. The picture and its caption are separated by an argument that cannot be made visually, in either direction — which is the strongest case this site has yet had for computing what its figures claim.

Where the exactness stops

Four limits, stated plainly, because the value of an exact method is entirely in knowing its edge.

The point sets are finite and periodic. What the detector examines is the contents of one cell, modulo the lattice. That is the right object — a space group modulo its translations is finite and everything else is not — but it means the machinery decides nothing about anything aperiodic. A quasicrystal has no lattice and there is nothing here that applies to it. The aperiodic essays say so where they use a measurement rather than a decision, and they are measurements.

The lattice type is an input, not an output. The detector is told which of the seven metrics it is working against and searches the matrices that preserve it. Handed a point set on a cubic lattice but told it is orthorhombic, it will return the eight operations an orthorhombic lattice permits and miss the other forty. That is not a bug — it is what “the symmetries compatible with this lattice” means — but it does mean the answer is conditional on a stated holohedry, and every figure states its own.

The symmetry elements of Pm3̅m. Space group Pm3̅m, number 221, projected down c on a primitive cubic cell. The symmetry elements drawn: 10 4-fold rotation axes, 11 2-fold rotation axes, 3 2₁ screw axes, 9 mirror planes, 3 glide planes, 4 inversion centres. 4 kind(s) of element in this group have no line or mark in a projection down c — an axis at an angle to the page, or a plane lying parallel to it — and are not in the picture.
Fig. 7 Where the projection stops being enough, drawn deliberately. The cubic group of the perovskites has forty-eight operations, and its threefold axes run along the body diagonals of the cell — which are at an angle to the page, so they project to no line and no mark that a plan can carry. The description under this figure counts the kinds of element it cannot draw rather than omitting them silently, which is the difference between a diagram with a stated limit and a diagram that is quietly wrong.

Nothing here derives the 230. Six arithmetic classes are enumerated completely, which is a real computation and a small fraction of the classification. The step from those to the full list is a question about equivalence rather than about search, and this field does not take it.

The three-dimensional round trip is about the geometry, not the chemistry. It decides whether a set of points has a symmetry. It says nothing about whether atoms would sit there, what holds them there, or what the structure would do. A crystal that a space group permits may be impossible for a dozen reasons this machinery cannot see.

The input that could be removed

Of the four limits above, the second is the one that separates this machinery from what an experiment does, and it is worth saying what removing it would take, because the pieces are all in this collection already.

The detector is told which lattice type it is working against. An experiment is not: it measures a set of positions and has to decide the lattice from them. The two steps of doing that are both here. Take the differences between points and find the ones that recur — a lattice, if the set is periodic. Then reduce that lattice’s basis and read its type off the reduced metric, which is what the reduced cell is for.

Chaining them would make the round trip fully self-contained: point set in, lattice out, holohedry out, operations out, group out, and no input but the points. What stops it is not the arithmetic but the tolerance, and it stops in exactly one place. Deciding which differences recur is exact for a generated point set and a judgement for a measured one, so the chained version would be exact here and would not transfer — which is the same boundary the tolerance essay draws, arriving one step earlier than usual.

That is why the input stays an input. Supplying the lattice type keeps the whole detector exact; deriving it would make one step a threshold and leave the rest exact, which is a worse arrangement than it sounds, because a single threshold in a chain makes every downstream claim conditional on it.

Nothing in it mentions three either

The essay opens by observing that the argument’s four steps mention no dimension, and the observation runs further than the plane and space.

The round trip needs three things: a lattice, a finite list of integer matrices preserving it, and a way to solve for translation parts. All three exist in any dimension. So the machinery would run in four, and the aperiodic essays are where it would be wanted — a modulated structure is periodic in four dimensions and an icosahedral quasicrystal in six, and neither has a detector, which those essays record as their honest gap.

What would have to be built is the holohedry search, and its cost is the reason it has not been. The search here tests integer matrices preserving a metric, bounded by the requirement that each column have the right length — cheap in three dimensions, where the answer is at most forty-eight matrices. In four dimensions the Bravais classes number sixty-four rather than fourteen and the largest holohedry is far larger, so the same search is a different computation rather than the same one with an index changed.

That is a limit worth stating as a cost rather than as a principle. Nothing about the argument fails above three dimensions; what fails is the assumption that the finite list at the heart of it is small enough to enumerate without thinking about it.

What it made possible

Set against those limits, the thing that changed is concrete. Until the detector reached three dimensions, every claim made here about space groups was a claim about arithmetic that happened in some other dimension — the restriction in three dimensions is a fact about cyclotomic polynomials and matrix orders, exact and dimension-free, and it was as far as the machinery reached.

Now a space-group diagram is checked the same way a wallpaper diagram has always been. The symmetry elements drawn on a plan are computed by solving for each operation’s fixed set rather than placed by hand. The extinction conditions come out of a sum over the group’s operations and agree with the International Tables on every group tested, which is a second route to the same symmetry sharing nothing with the first but the operations.

And the enumeration of a class is only possible because the closure can be run and tested: an assignment of translations that does not correspond to a real group produces a closure that never terminates, and detecting that is how the invalid assignments are filtered out. That is the next essay, and the one after it does it in full for a class with ten answers.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

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

What links here

The 8 essays that link to this one and share the most of its objects, of 19 that link here.

The objects this essay names

Each one links to every other essay that touches it.

Accidental symmetryDecidabilityHolohedryInteger matrixLattice automorphismMetric tensorRound trip