Each base carries two physical bits, hydrogen bonds and ring. Three bases make a six-bit address from 0 to 63. Under three stated premises, one order and one weighting are the only solution, and every view of the code, from bits to line, sheet, cube, hypercube and amino acids, stays aligned.
CA = 4·pos1 + 16·pos2 + pos3 · UCAG · UUU = 0 · machine-checked in Lean 4
The regularities of the genetic code were found one by one over sixty years: middle-base primacy, degeneracy classes, wobble, Rumer's division, the binary and RNY partitions. Each was found in a frame of its own choosing.
There are many frames to choose from. Six weightings of the three positions times 24 labelings of the four bases give 144 frameworks, and writing the bits in either direction doubles that to 288 drawings. Published models chose by convention, with nine orderings in use, so tables, cubes and hypercubes drawn in different frames cannot be laid on one another.
The question: which frame keeps every view aligned? The answer is exactly one.
Two physical bits per base, three bases, one six-bit counter. No amino acids are needed to build it.
The H-bond bit is 1 for C and G (three hydrogen bonds); the ring bit is 1 for the purines A and G. With value = H-bond + 2·ring, the bases take U = 0, C = 1, A = 2, G = 3: the order UCAG.
Bits are written low first, following the 5'→3' reading, so C = 10 has value 1. Every view reads left to right and bottom to top, with UUU = 0 at the lower left. Within a base, the step from C to A is the only one that flips both bits: the seam between the pyrimidine and purine halves.
CA = 4·pos1 + 16·pos2 + pos3. AUG, for example, is 4·2 + 16·0 + 3 = 11. Every codon gets one integer, and every integer one codon.
Read in bits, CA is a six-bit counter: weights 1 and 2 on the third base, 4 and 8 on the first, 16 and 32 on the middle base. Each position carries its H-bond bit, then its ring bit.
The middle base picks the level (16 codons), the first base picks the box (4 codons), and the third base refines within the box. Each row of the 8×8 sheet holds two boxes.
A codon's own bits give its address, level, box and wobble pair, with no external table. The flanks read as signed divergences from the middle base.
The full 8×8 sheet with the standard code laid on it. Each cell carries its six-bit word in weight order, low first: pos3 H, pos3 R, pos1 H, pos1 R, pos2 H, pos2 R. Read as a binary number, the bar is the address.
Under three premises, the weights [4, 16, 1] and the order UCAG are the only solution of the 144 frameworks.
The address is a one-to-one weighted sum of the three bases. That forces the weights {1, 4, 16}, the place values of a three-digit base-4 number.
The address splits the standard code into the fewest unbroken runs of one meaning: 22, reached only by UCAG and its mirror GACU on [4, 16, 1]. The next best is 23.
The null base U sits at 0. U = 00 can take address 0; G = 11 cannot. That removes the mirror and leaves UCAG.
The deciding family. Leucine's six codons form one run, CA 2 to 7, only under center-dominant weighting. Leucine alone leaves four labelings; the fragment count leaves two; U at zero leaves one.
Independent confirmation. Three routes reach the same frame without using degeneracy: the physical bits themselves, base polarizability, and the ranking of hydropathy by position (share of variance explained: 0.76 by the middle base, 0.10 by the first, 0.01 by the third).
Machine-checked. The theorem and the bit-flip lemma below are verified in Lean 4 over all 144 frameworks and all 64 flips.
With the frame fixed, the standard code can be read off its bits. The third position, usually set aside as wobble, completes the structure.
Of the 64 ways to flip bits, only the third-position H-bond flip is nearly silent: it keeps 60 of 64 meanings. The next best keeps 34. The four exceptions are AUA/AUG and UGA/UGG.
Every box makes one of three choices on its two third-position bits: ignore both (4), read the ring bit (2 + 2), or read the ring bit and, on the purine side only, the H-bond bit (2 + 1 + 1). The pyrimidine pair never splits.
So every codon is read at 4, 5 or 6 of its six bits: four in the fourfold boxes, five where the ring bit splits a box, six only at AUA, AUG, UGA and UGG.
19 of 20 amino acids stay within one level. Serine's UCN and AGY lie in different levels, which also cuts arginine in two. Contiguity is one constraint, chemistry another, and serine is where they conflict.
Write the middle base as (H, R). Where its two bits disagree, the level is uniform: C (10) is fourfold in all four boxes, A (01) is split in all four. Where they agree, U (00) and G (11), the first base decides: fourfold after C or G, split after U or A. The two 2 + 1 + 1 boxes, AUN and UGN, fall exactly where the ring bits of the first and middle bases differ.
This is Rumer's division (1966) and Lagerkvist's observation (1978), stated as one test on the middle base.
U (00) 1 2 3 4 6 bits agree: every size
C (10) 4 4 4 4 disagree: fourfold only
A (01) 2 2 2 2 2 2 2 2 disagree: pairs only
G (11) 1 1 2 2 4 6 bits agree: mixed
The same 64 addresses as a line, an 8×8 sheet, a 4×4×4 cube and a six-bit hypercube, all read the same way.
The pieces were found by others. Nemzer (2017) published the same six-bit index, and Swanson (1984) had the same base values. Sánchez, Morgado and Grau (2005) used an integer coordinate with center-dominant weighting. Jiménez-Montaño and colleagues (1996) built the six-bit hypercube, and José and colleagues (2012) enumerated the orderings and treat them as algebraically equivalent. Grosjean and Westhof (2016) classified the box types, Rapacioli, Katz and Flores (2024) counted the properties each degeneracy class needs, and Rumer, Lagerkvist and Woese described middle-base primacy. Crick explained wobble.
New here: the theorem that the frame is forced, with its Lean check; the complete 64-flip sweep; and one model with every view aligned, from bits to amino acids. The construction was developed independently, and the prior work was identified afterwards.
The coordinate is descriptive, not predictive. Distances along it largely restate the known dominance of second-position substitutions, and no clinical prediction is claimed.
The consolidated paper, the interactive viewer and a coordinate calculator.
The full elimination of the 144 frameworks, with the bitmaps. Version 2.0, July 2026; it supersedes the earlier four-preprint series, which overstated the result as unconditional.
Access on Zenodo InteractiveRotate and zoom the 4×4×4 cube, show each level face-on, switch between codons, anticodons and amino acids, and display each codon's six bits.
Launch Viewer AnalysisAddresses and distances for codons and variants, with batch processing. Descriptive, not a predictor of pathogenicity.
Open Tool