The Monstrous moonshine table couldn't have been anything else.

Proved, with a computer checking every step.

date

Back in high school I watched a 3Blue1Brown video about a symmetry group so big it has its own nickname: the Monster. It has about elements, which is about the number of atoms in Jupiter. And it describes the symetries of something in dimensions, that stuck with me so much that I later named my music project after it. *

This note is about the first real piece of math I’ve done on it. It’s written for people who don’t do math for a living, but I tried not to cut corners on what is actually true.

With all the hype around AI solving Millennium Prize problems, I was honestly very sceptical at first, and I mostly ignored it. Then I came across GitHub repos from a few very ambitious teenagers who were building and tuning harnesses to get AI agents working in Lean. I’d stopped doing proofs (in Tamarin) after finishing my master’s, and I had never heard of Lean. After reading up on it, I understood why it matters here: the AI doesn’t get the final say, the proof checker does.

That got me excited to combine what I already knew with my newer AI skills and keep exploring these topics, purely out of curiosity. So a big chunk of the Lean code was built with Claude. It wrote most of the proofs and code while I steered, argued with it, and made it throw out anything we couldn’t actually prove. Everything is public, so anyone can check it.

moonshine

Mathematicians describe symmetry with groups. The ways you can turn or flip a square and have it land back in its own outline form a tiny group: eight moves you can combine and undo. The Monster is the largest of 26 strange, “exceptional” symmetry groups that don’t fit into any of the regular patterns.

Nobody looks at its elements one by one. Instead, moves that are really the same kind of move get grouped together. Back to the square: flipping it across one diagonal and flipping it across the other diagonal are the same kind of move, just pointed differently. Turn the square a quarter first, and one becomes the other. Mathematicians call each such bundle of moves a conjugacy class, or just a class.

The Monster’s elements fall into 194 classes, and everything in this story is the same for all members of a class. So instead of 8 × 10⁵³ elements, you only need to look at 194 classes.

In the late 1970s someone noticed that , a number from a completely unrelated corner of math (number theory), is exactly . It sounded like a joke. Conway and Norton named the whole thing “moonshine”, because it seemed too crazy to be true.

But it was true, and much deeper than one number. For each of the 194 classes you can write down a function

The numbers in front of each power of are called the coefficients of the function, and they come straight out of the Monster. For example , where is one of the Monster’s basic measurements (a character).

Each of these functions also has its own symmetry group : a set of ways to move the points of the plane around without changing the function at all. Now glue together every pair of points that the group moves onto each other. The plane folds up into a closed surface, and you can count its holes; mathematicians call that number the genus. For every moonshine group the count is zero: the surface is a sphere. Groups like that are rare, and it’s exactly what lets one function capture everything with that symmetry. In 1979 Conway and Norton wrote down the right for every class. That list is the Conway-Norton table. Richard Borcherds proved the whole picture correct in 1992, part of the work that later got him a Fields Medal.

The question

Here’s the part that bugged me. Conway and Norton found the table partly by detective work: compute the first few coefficients of each function, then match them against a catalogue of symmetry groups that were already known.

So what if you didn’t have the catalogue?

Knowing only the Monster’s own data, would you be forced to the same table? Or could a different table fit the facts just as well?

Labels and rules

Each of the 194 classes needs a label, and every label has the short form :

  • is the order of the move (how many times you repeat it before you're back where you started),
  • is a small twist,
  • lists a few extra symmetries.

If you allow every class any label of this shape whose surface is a sphere, there are 385 possible labels to choose from for the 194 classes. Then three rules have to hold:

  1. Powers have to fit. Doing a move twice or three times lands you in another class, and that class's label is fixed by a rule Conway and Norton found: . So you can't pick labels independently.
  2. Some coefficients have to be zero. The twist forces certain early coefficients to vanish: unless divides .
  3. Same label, same function. Two classes with the same group need the same first coefficient , because a sphere-shaped group has exactly one such function.

How the proof actually works

The proof works by elimination. Every class starts with a list of labels it could have, and each rule crosses some of them out. Here is what each rule does, with real examples from the proof.

The power rule. Labels change in a fixed way when you take powers. For example

reading a label, and what happens when you square or cube it

And we know exactly which class the square or cube of every element lands in; that’s part of the Monster’s published data. So if a label for one class doesn’t fit the labels of its powers, it’s out. That is what keeps 9B from being labelled : the classes of order 18 square into 9B, and their labels don’t allow it.

The moonshine function:

has coefficients we can compute directly from the Monster’s characters, and . No guessing. A label with twist demands that some of them are zero: unless divides . If the data says that coefficient isn’t zero, the label is out. That’s why 27B can’t be : a twist of 3 would force to vanish, and for 27B it doesn’t.

If two classes got the same label, their first coefficients would have to match. They don’t for 18D and 18E, so 18E can’t share 18D’s label . Labels whose surface is a donut instead of a sphere never make it onto the list in the first place, like .

Run these rules round after round and the lists shrink: 810 candidates in total at the start, then 534, 294, 203, and after the fourth round exactly 194, one per class.

every dot is a candidate label; four rounds later, 194 are left

Using Lean 4 we make sure that nothing is missed or thrown away by mistake. Lean proves that every possible label of the right shape is on the starting list, so no answer can hide outside the search. And Lean also proves that crossing a label out can never remove a valid solution. Then its kernel checks every round. This turns this from “a search that found something” into a proof. So the last label standing in each class isn’t a guess. It’s the only option left.

The answer

Exactly one assignment of labels to classes survives all the rules, and it’s the Conway-Norton table.

The part I find even nicer is that no rule is wasted. Drop any single one and other solutions show up. Without the power rule, for example, the class called 9B could suddenly wear a different label. The table only locks into place with all of them together.

switch off any one rule and the table stops being unique

“Isn’t that circular?”

Fair question. The power rule was discovered by staring at the table, so maybe I just ran the table backwards?

Not quite. The proof never looks at the answer. It applies the same few rules to every class and lets the Monster’s own data do the rest. And the strongest hint that the rules aren’t secretly rigged to produce one answer is that they fail for the Monster’s relatives:

  • The Baby Monster: ::: its data hide symmetries that swap classes with genuinely different moonshine functions, so no rule like this can tell them apart.
  • Conway’s group: ::: even on the 29 classes where the rules apply most directly, they leave 12 possible tables instead of one.
the same rules, applied to the Monster and two of its relatives

So the uniqueness belongs to the Monster, not to the rules. (cool!)


How sure am I?

Very, with one footnote.

Everything is proved in Lean. The searches run through thousands of cases, and every single step goes through Lean’s small trusted core. You don’t have to trust my code, or me.

The footnote ::: Lean checks the reasoning about the data it’s given, which is the published tables of the Monster. It can’t yet check that those tables really describe the Monster, because nobody has built that much of the Monster inside a computer yet. The paper lists exactly which classical facts are taken on trust. And this doesn’t explain the deepest mystery of moonshine, why everything is a sphere in the first place. It shows something narrower but sharp: given the general shape of moonshine, the Monster’s data leave no freedom at all.

Small side quest: running the same checks on other published tables turned up a few typos, like a class that doesn’t exist and a group with the wrong label. They’re in the paper as corrections, not discoveries.


Next?

When I get the time I would love to start on one of the open questions I left in this research Can the label shape and power rule be derived from the moonshine module?

If one could derive them directly from the moonshine module, then together with the existing formal moonshine-module work, they could potentially obtain a formal proof that every is the Hauptmodul for its Conway-Norton group.

Thanks to Grant (3b1b) for getting me hooked all those years ago.


links ·2

also see