In the sister series "That Clicks" we were the readers. From here we switch to the building side ── showing the work, not the conclusion
The sister series "That Clicks" has been saying the same thing all along ── quantities with units are stage scenery; what matters is the dimensionless ratio. \(\beta=v/c\), \(S/\hbar\), \(E/k_BT\), \(T/T_c\). Every one of them is a "quantity whose units cancel when you divide," and physics lives nowhere else.
So the following thought is natural. If taking ratios is what physics does, why not just take every ratio there is? Somewhere among the combinations no human happened to think of, there might be an agreement nobody has noticed.
This episode actually does that. We write a program, enumerate 160,000-odd dimensionless quantities, and read the result. To say it up front: we did not find what we were looking for. But the not-finding itself turned into an answer with a definite shape. That is usually what making physics looks like.
The specification fits in one sentence.
A machine that, given a table of physical quantities, enumerates every combination whose units cancel when you multiply them together, and reports the ones whose value lands near \(1\).
We look for "value near 1" because that is the place that demands an explanation. There is no reason for the ratio of two utterly unrelated quantities to happen to sit around 1. That the cosmological constant and the matter density are about equal right now — people have been caught by that sort of "why are these lined up?" for a long time. So we let the machine look for the same thing.
The ingredients need care. We do not put dimensionless quantities (like \(\alpha\)) in ── they are the target, not the material. Nor the Planck length or Planck mass. Those are combinations of \(c,\hbar,G\) themselves, so including them would only mass-produce meaningless hits of the form "dividing the Planck length by \(c,\hbar,G\) gives 1."
This is the most satisfying part of the episode. The physics sentence "look for combinations whose units cancel" turns, word for word, into a linear-algebra sentence.
Start small. Take the four quantities \(e,\ \varepsilon_0,\ \hbar,\ c\), multiply them together, and try to cancel the units. Write each one's dimensions vertically as exponents of kg · m · s · A.
\(e=\) C \(=\) A·s, so \((\mathrm{kg},\mathrm{m},\mathrm{s},\mathrm{A})=(0,0,1,1)\). Likewise \(\varepsilon_0=(-1,-3,4,2)\), \(\hbar=(1,2,-1,0)\), \(c=(0,1,-1,0)\).
The dimensions of the product \(e^{a}\varepsilon_0^{b}\hbar^{d}c^{f}\) are these four vectors scaled by \(a,b,d,f\) and added.
So "be dimensionless" can be written like this
$$\begin{pmatrix}0&-1&1&0\\0&-3&2&1\\1&4&-1&-1\\1&2&0&0\end{pmatrix}\begin{pmatrix}a\\b\\d\\f\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\end{pmatrix}$$(Rows are kg, m, s, A; columns are \(e,\varepsilon_0,\hbar,c\).) This is nothing but a system of linear equations. Eliminate and out comes \((a,b,d,f)=(2,-1,-1,-1)\).
The dimensionless quantity the machine spat out
$$\frac{e^2}{\varepsilon_0\hbar c}=0.0917$$Does the number look familiar? \(0.0917=4\pi/137.036\) ── the fine-structure constant \(\alpha\) has come out wearing a \(4\pi\). The machine knows nothing about "electromagnetism" or "coupling constants." Just by eliminating a list of dimension numbers it landed on the most famous dimensionless quantity in physics. That \(4\pi\) will matter later (§08).
Let us generalize. Choose \(m\) quantities and their dimension exponents form a \(5\times m\) integer matrix \(D\) (SI has 5 base dimensions: kg, m, s, A, K). The condition for the product \(\prod q_i^{a_i}\) to be dimensionless is
$$D\,\mathbf{a}=\mathbf{0}$$That is all. In other words ──
The set of all dimensionless quantities = the kernel of the dimension matrix. And since we want integer exponents, we want the integer kernel.
In physics this has been called Buckingham's \(\pi\) theorem, but you do not need the name. It is solvable by Gaussian elimination — that is the whole of it. Reduce the matrix to echelon form over the rationals, pull out one kernel vector for each non-pivot column (free variable), clear denominators to make it integral, and divide by the greatest common divisor. It is the procedure taught in high school, and the machine spits out dimensionless quantities while knowing nothing whatsoever about what "dimensionless" means.
After that, all we do is form every subset of the table of quantities and compute the kernel of each. The core runs on this alone.
// Return the integer kernel of the (5 × m) dimension matrix of the subset idx (m quantities). // A kernel vector v means "∏ q_i^{v_i} is dimensionless." std::vector<std::vector<int>> integerKernel(const std::vector<int>& idx) { // (1) lay the dimension exponents out as a rational matrix // (2) row reduce (RREF) ── plain Gaussian elimination // (3) pull out a kernel vector for each free variable, // clear denominators to make it integral → divide by gcd to make it primitive }
The ingredients are 21 independent physical quantities ── the fundamental constants (\(c,\hbar,G,k_B,e,\varepsilon_0\)), 9 particle masses, the QCD and electroweak scales, and the cosmological quantities (\(H_0,\Lambda,T_{\rm cmb}\)). Up to 6 ingredients, exponents up to \(\pm4\). Run it.
dimensionless combinations: 162931 of which |log10 V| < 0.050: 279
160,000-odd. Of those, 279 fell within \(\pm12\%\) of the value 1. We found as many as 279 agreements ── that is what one wants to say. This is the fork in the road.
If large exponents are allowed, you can manufacture any number you like. Line up \(m_p^{4}m_e^{-3}m_\mu^{-1}\cdots\) and the value moves wherever you want. A hit from something that was bound to hit carries zero information.
So we add an axis of complexity: the sum of the absolute values of the exponents, \(\Sigma|a_i|\) ── Occam's razor turned into a number. Counting formulas band by band gives this.
| complexity \(\Sigma|a|\) | formulas | meaning |
|---|---|---|
| 2–3 | 41 | essentially a simple ratio. a hit here would be an event |
| 4–5 | 1,190 | still readable |
| 6–7 | 14,998 | starting to look suspicious |
| 8–9 | 43,444 | a hit is only to be expected |
| 10+ | 103,258 | not worth counting |
The count grows exponentially. Which is why looking at the total number of hits means nothing. You have to look band by band and ask whether that band is hitting too often for its own size.
To measure "hitting too often" you need something to compare against. You could compute the expectation from theory, but there is a more naive and more trustworthy way.
Run the same procedure hundreds of times against a randomized universe.
If the real universe does not produce more hits, it is coincidence.
The implementation is almost anticlimactically simple. Keep the 160,000 enumerated formulas exactly as they are and randomly shift only the values of each physical quantity, log-uniformly over a range from \(10^{-1.5}\) to \(10^{+1.5}\) times. The dimensions, the structure of the combinations, the number of formulas — all identical. It is a universe where only the numbers differ. Make 200 of them and count the hits in each.
This is how one deals with what particle physics calls the look-elsewhere effect. "A 3σ bump appeared somewhere" is bound to happen if you searched in enough places. The caution from diagnosing the Koide formula in the sister series "Mass That Clicks," bonus ③ ── build enough dimensionless combinations and some of them will inevitably land near a simple value ── is what we now go and measure.
There is something to do before quoting a p value. Can this machine actually find a genuine relation if one is there? "I found nothing" from a machine that could not have found anything carries no information at all.
So we take a positive control. Feed in only quantities known to be tied to each other by definition ── the atomic-physics set \(\hbar, c, e, \varepsilon_0, m_e\) plus the quantities defined from them: \(a_0\) (the Bohr radius), \(E_h\) (the Hartree energy), \(\sigma_T\) (the Thomson cross section). Here a genuine relation certainly exists.
band formulas real if chance excess 6-7 10 1 0.0±0.2 4.9 σ [Σ|a|=6] hbar^2 m_e^-1 a0^-2 E_h^-1 = 1.0000
Struck it. \(E_h=\hbar^2/(m_e a_0^2)\) ── the definition of the Hartree energy itself. The machine knows nothing about "the Bohr radius" or "energy." From a list of dimension numbers and the values alone, it found this. The detection power is there.
Preparations done. The real run.
dimensionless combinations: 162931 of which |log10 V| < 0.050: 279 hits by chance : mean 294.5 ± 31.7 the real universe: 279 empirical p value: 0.6667 band formulas real if chance excess 2-3 41 1 0.4±0.6 1.0 σ 4-5 1190 1 4.5±2.3 -1.5 σ 6-7 14998 32 35.3±6.4 -0.5 σ 8-9 43444 85 97.4±12.5 -1.0 σ 10+ 103258 160 156.9±20.7 0.1 σ
No band shows any excess. If anything the real universe sits slightly below the expectation from the randomized universes. 279 against 294.5. The p value is 0.67 ── the exact opposite of "this would rarely happen by chance," and instead chance itself.
Varying the threshold (how close to 1 counts as "near") and the shift width (how random the randomness is) does not move the conclusion. Nine settings tried; p ran from 0.23 to 0.64.
You should be able to see the red line (the real universe) stuck right about in the middle of the grey hill (the randomized universes). Change the strictness, change the randomness — the red line never leaves the hill. That is the result of this episode.
Here let us make clear what lies out of this machine's reach. Several of the famous "agreements" are in fact not picked up by this search. There is a reason they are not.
Let us write the famous story that the cosmological constant and the matter density are about equal right now (the coincidence problem) in the machine's language.
The most straightforward dimensionless quantity that dimensional analysis can write:
$$\frac{\Lambda c^2}{G\rho_c}=17.3$$Quite far from 1
But the correct definition on the physics side is \(\rho_\Lambda=\Lambda c^2/(8\pi G)\). There is an \(8\pi=25.1\) in there. Divide by it and \(\rho_\Lambda/\rho_c=0.69\) ── that is what "about equal" really is.
So the agreement was hiding inside the \(8\pi\). And dimensional analysis cannot produce \(8\pi\). It can produce the form of the expression and no further; the \(O(1)\) number out front is undetermined in principle. \(2\pi\), \(1/4\), \(3/5\) — all of them are on the far side of this wall.
The very first formula the machine spat out in §02 hit the same wall. \(e^2/(\varepsilon_0\hbar c)=0.0917\) ── the famous \(1/137\) does not appear directly here. Only after peeling off the \(4\pi\) does it become \(\alpha=1/137.036\). The machine found \(\alpha\), yet did not show us \(\alpha\).
This is not a regrettable limitation but the most important finding of the episode. Much of "what humans have not solved" in fact lies on the far side of this \(O(1)\) wall. For black-hole entropy: dimensions get you as far as \(S\propto A\), and only the \(1/4\) refuses to come. Filling that in requires the thing being counted itself ── states, a mechanism, a symmetry. Because the machine stopped short of the wall, we could measure where the wall stands.
The experiment had one more, unplanned yield. It came from the first run, where quantities fixed by definition (\(a_0, E_h, \rho_c, \sigma_T\)) were mixed in. Among the top hits, formulas like these lined up.
[Σ|a|= 6] hbar^2 m_e^-1 a0^-2 E_h^-1 = 1.0000 [Σ|a|= 6] G^1 m_mu^-1 m_p^1 H0^-2 rho_c^1 = 1.0601
The top one is genuine ── the definition of the Hartree energy. And the bottom one? Decomposed, it reads as follows.
The left factor is the definition of the critical density, \(\rho_c=3H_0^2/(8\pi G)\). The right factor is a completely unrelated mass ratio. Multiply them and it happened to come close to 1.
It is a cosmological definition with a particle-physics mass ratio hung on it as decoration. There is no physical content. But in the appearance of the output it is utterly indistinguishable from the genuine one above. Both are "6 ingredients, exponent sum 6, value nearly 1."
Let us split the result into what can and cannot be claimed. Mix these and you slide straight into crackpottery.
| Can be claimed | Cannot be claimed |
|---|---|
| Searching mechanically for formulas that come out \(O(1)\) from combinations of the fundamental constants yields nothing beyond chance (p = 0.67). | "No agreements exist." All this procedure can see is the \(O(1)\) value; it has not looked past the \(4\pi\). |
| The "beautiful agreements" that brute force turns up are entirely explained by counting. Why numerology never runs out has been turned into a number. | "This table of quantities is the right one." Change the ingredients and the result could change. The table is chosen by a human. |
| The machine did in fact strike a genuine relation (a definition). Detection power confirmed. | "Everything the machine finds is meaningful." Formulas that are just a definition times decoration line up wearing the same face. |
A negative result. But a negative result with a definite shape. The expectation that "somewhere between the fundamental constants lies a simple numerical agreement nobody has noticed" is, within this range, refuted. The blank is not left over because we have not taken enough ratios.
The machine. From a table of physical quantities it enumerates every combination whose units cancel. The principle is "dimensionless = the integer kernel of the dimension matrix"; the implementation is Gaussian elimination. Pure C++, no dependencies, 2.6 seconds to enumerate 160,000-odd formulas.
The scoring method. Holding the enumerated formulas fixed, build several hundred universes with randomized values and compare hit counts. It measures the look-elsewhere effect rather than arguing about it.
The result. Searching 162,931 formulas, agreements beyond chance: zero (p = 0.67). No excess in any complexity band. Unmoved by varying the threshold and the randomness.
And the position of the wall. The reason the famous agreements were not picked up is that they hide inside \(O(1)\) coefficients like \(8\pi\) and \(1/4\). Dimensional analysis produces only the form. Much of what humans have not solved lies on the far side of this wall ── and because the machine stopped short of it, we could measure where the wall is.
This document is Episode 1 of the "Lattice We Build" series, a reading piece for high-school and university students who love physics. Where the sister series "That Clicks" explains known physics, this series shows the work itself ── build a tool, run it, and read the result as it comes out (even when it is a negative result).
The numbers in the text are the actual output of the search program. That the set of dimensionless quantities forms the kernel of the dimension matrix (Buckingham's \(\pi\) theorem), and the look-elsewhere effect, are both established material. The "table of quantities," on the other hand, was chosen by the author, and the conclusion could change with a different choice of ingredients ── this search has not proved "there is no simple numerical agreement among the fundamental constants"; it only states that under this table, this range of complexity, and this definition of agreement, no excess beyond chance was detected. Also, \(\sigma\) values look inflated when the variance on the chance side is small, so read the p value. The figure re-runs the same procedure in miniature in your browser; it does not match the text exactly because of the random numbers and the narrower search range (up to 5 ingredients).
Search program (pure C++, no dependencies): kuuhaku_cpp / sister series: the "That Clicks" collection ── to print, use your browser's "Print" → "Save as PDF" (in the print version the sliders and answers are frozen or hidden).
Print / PDF: ⌘+P (Ctrl+P on Windows). With the slider in the figure you can move the "hill of coincidence" with your own hand.