Research/Mathematics
A search of 441 small adder blocks finds none that beats 4.5n gates
A pre-registered SAT search tested every one-column building block with up to six input wires for counting bits. It proved for 419 of 441 block shapes that none can lower the 4.5n gate bound that has stood since 2010, and found no block that does. A hand argument closes 3 more of the 22 open shapes and ties 10 others to whether six bits need 14 gates.
Dec 2, 2026 · 8 min read

Counting how many of n bits are 1, and writing the answer in binary, is the core of every symmetric Boolean function: majority, thresholds, parity and counting modulo m. The best known circuits of two-input gates for it use about 4.5n gates, a bound set in 2010 that nobody has lowered since. The authors of the most recent improvement for general bit addition wrote that beating 4.5 "would most probably require using new building blocks" (Goncharov, Kulikov and Levtsov, STACS 2026). We tested that idea directly. Using a SAT solver and a potential argument, we checked every one-column building block with at most six input wires. For 419 of the 441 block shapes, we proved that no circuit is small enough to help. We found no block that helps. A short hand argument, added after the run, closes 3 of the 22 open shapes and ties 10 more to one small question: can six bits be counted with 13 gates?
441
block shapes tested (one column, at most 6 input wires)
419
proved unable to beat 4.5n by the SAT search
0
blocks found that beat it
18
still open after the hand argument (8 if six bits need 14 gates)
The question
Let map n bits to their sum in binary. Over all two-input gates the best known bounds are wide apart:
The upper bound comes from composing small blocks. The key one, the 8-gate MDFA of Demenkov et al., stores two bits p, q of the same weight as the pair (p, p XOR q). Call a plain bit P and such a pair D. A block takes P and D groups from one column and outputs groups at the same and higher weights, keeping the weighted sum. A D output with value 1 may use either of its two codes, a freedom that MDFA relies on.
What we did
Give each P a potential of 4.5 and each D a potential of 8. These are the only values under which both the 1-gate pairing XOR and the 8-gate MDFA pay exactly their potential drop. If every block in a family satisfies , the drops add up, and any circuit built from the family needs at least gates. So a block can beat 4.5n only if it is *profitable*:
We listed all 441 one-column shapes with at most six input wires whose outputs can hold every possible total and leave a positive potential drop. For each one we asked CaDiCaL 1.9.5 (through PySAT) whether a circuit of exactly s gates exists, for every s from 0 to s_max. Gates were any non-degenerate two-input gate. Every satisfying answer would have been decoded and re-checked on every input row in a separate process. Before the run, 22 unit tests checked that every known block satisfies the encoding and that broken versions violate it. The six predictions were frozen on 2026-11-17 in the repository. The job waited for shared compute until 2026-12-02, then ran for 260 minutes on 2 CPUs.
What we found
The validity check passed: the solver found all five known blocks at their known sizes. It also found no full adder with fewer than 5 gates, which is the known minimum. All six predictions held. No shape had a profitable circuit. Every shape with at most four input wires, and every shape with s_max of 7 or less (410 shapes), was decided. Of the 427 shapes with s_max of 8 or less, 419 (98.1%) were decided; the frozen target was 80%.
Known blocks: proved minimum sizes
| block | shape | known size | proved: no circuit of size up to |
|---|---|---|---|
| pairing XOR | P+P to D | 1 | 0 |
| Stockmeyer | P+D to P@0+P@1 | 4 | 3 |
| full adder | P+P+P to P@0+P@1 | 5 | 4 |
| MDFA' | D+D to P@0+D@1 | 6 | 5 |
| MDFA | P+D+D to P@0+D@1 | 8 | 7 |
Shapes left open by the SAT search, by largest profitable size s_max
shapes
Closing more shapes by hand
Before the run we had derived a "sandwich" bound: put a pairing XOR in front of each D input of a block and a decoder behind its outputs, and the result counts k bits, so
After the run we wrote an explicit decoder for every one of the 22 open output shapes and checked each one on every output pattern a correct block can produce. One fact makes several of them cheap: the count is at most 6, so an output bit at position 2 (value 4) and a carry into that position are never both 1, and an OR (or no gate at all) replaces an adder. For example, a block with outputs P@0+P@1+D@2 is already a circuit that counts six bits, so it needs at least 13 gates, far above its s_max of 9. With (Kulikov, Pechenev and Slezkin) and our elementary bound , the 22 open shapes split as follows. This step is post-hoc, not part of the frozen test.
The 22 shapes the SAT search left open
| status after the sandwich bound | shapes | examples |
|---|---|---|
| closed (no profitable block) | 4 | P x5 to P@0+D@1; P x6 to P@0+P@1+P@1+P@2, P@0+D@1+P@2, P@0+P@1+D@2 |
| closed if | 10 | the 4 with binary outputs; P x6 to P@0+P@0+P@1+P@2 |
| left to the SAT solver | 8 | outputs with a pair or two plain bits at weight 0, e.g. P x6 to D@0+D@1 |
What it means
Within this family, a new building block that lowers 4.5n has to read six input wires, inputs from more than one column, or a code other than plain bits and (p, p XOR q) pairs. No one-column P/D block on five or fewer wires beats 4.5n. On six wires, 18 shapes are open, and 10 of them depend only on whether six bits can be counted with 13 gates; the known bounds are 13 to 16. Our first direct attempts to settle that question ran out of time on 2026-12-03, with no answer either way, and a split-and-solve run is next. If six bits do need 14 gates, the six-wire one-column barrier rests on 8 shapes, which a longer SAT run (still queued) is set to decide.


