Research Institute · Programme

Adders, counters and the heap law

Exact multiplicative complexity bounds, carry-save recursions, and digit-sum laws for integer additions and compressor slices.

Published 2026-08-29 · updated 2026-09-04

47results
15machine-checked
5negative results
5open cells

The programme

Where things stand

What this programme is about

Arithmetic circuits in zero-knowledge cryptography and secure computation treat addition and XOR operations as free, while non-linear multiplications—AND gates—drive the cost in proof size and execution time. This programme asks the minimal number of AND gates needed to add multiple binary words, run parallel counters, and resolve carry bits over GF(2).

Outside circuit complexity, a result here buys concrete lower bounds and optimal blueprints for cryptographic hardware and proof systems. Hash functions like SHA-256 and BLAKE3 spend most of their algebraic budgets on multi-operand addition and carry propagation. Knowing the exact multiplicative complexity of an adder or compressor slice tells protocol engineers when an implementation hits the mathematical floor of the model. That prevents wasted engineering cycles on impossible circuit optimizations and secures verifiable computations against overhead bloat.

What has been settled

For full-precision addition, MF-099 settles the exact digit-sum law MC(FullAdd(K,n)) = Kn − s₂(K(2ⁿ−1)), disproving the former universal (K−1)n conjecture with an explicit six-product circuit for FullAdd(5,2); a prior-art sweep hasn't run. Truncated addition of k two-bit words costs exactly MC(A_{k,2}) = ⌊k/2⌋ MF-100. For four operands, MF-077 and ML-047 prove a three-product cell achieves 3n ANDs, matching the standard carry-save baseline MF-076; an earlier 25% improvement claim was corrected because the cited Cirbo/STACS generator targeted total gate count. MF-107 retracted four earlier addition rules when explicit replayed circuits refuted universal FullAdd costs, greedy truncated equality, U(k,n) tightness, and carry-save baselines for k ≥ 9. Greedy column-heap recursion unifies these additive lines, matching every verified exact value MF-182.

For carry chains, MF-181 proves the resolved-carry family has exact complexity MC(K_m) = 2m+1, an apparently new family result compared to Boyar–Peralta's redundant counter. The injected-carry family J_m has exact values MC(J_2)=2, MC(J_3)=4, and MC(J_4)=6 MF-111. MF-103 reduces three-operand addition's one-gate gap to injected carry via MC(J_m) = MC(A_{3,m+1}) − 1. Two length-L ripple chains sharing an operand cost exactly 2L MF-023. The two-column C7 carry transducer costs exactly 6 ANDs MF-138.

Parallel counters and compressors hit exact bounds over F_2, including MC(3->2)=1, MC(4->3)=3, MC(5:2)=3, and MC(6:2)=4 MF-179, while cascaded compressor slices satisfy MC(k:2) = k - 2 ML-087. MF-169 closes Boyar–Peralta's bracket for seven-variable majority at 4 ANDs. Restriction of Boolean functions preserves complexity through MC(f) - MC(f|_R) = k_R + e_R under a 1-Lipschitz potential [MF-114, ML-056]. Constant addition exhibits shear symmetry MC(F_{n,K}) = MC(F_{n,K+2^{n-2}}) MF-118, though MF-140 notes this small-width freeness fails to lift to 32-bit words.

What is still open

Several core complexity cells remain open within verified brackets. For three operands, MF-101 leaves all-width equality between 2n-4 and 2n-3 open, with the flagship instance J₃₂ pinned at {61,62} MF-103. The injected-carry cell J_5 sits within [7,8] against a synthesis solver wall ML-054, leaving the resolution tax τ_4 in {1,2} ML-089. Truncated four-operand addition at width 4 sits in [6,8] MF-110, while SAT solvers verified an 8-product witness and leave p=7 open ML-049. Strict width-nine cost E_9 remains bracketed between 18 and 36 [MF-117, ML-059]. Across broader families, MF-109 conjectures exactness for the projected-heap bound MC(A_{k,n}) = T(k,n), where the first stable fork A_{9,3} ∈ {9,10} and the candidate falsifier A_{6,3} remain unresolved, and MF-183 leaves the discard-tax principle as an unproved conjecture.

How to read the evidence

This programme relies on receipted circuit artifacts and exhaustive checks, backed by paper proofs and certified machine reductions. Settled upper bounds carry explicit circuit witnesses replayed over all input combinations, making them reproducible and verifiable. Lower bounds depend on algebraic rank arguments and certified restriction proofs. When an entry lacks a retained certificate or relies on an unverified baseline. Treat settled upper bounds as verified code and lower bounds as audited mathematics.

Showcase

The strongest results here

MF-099PAPER PROOF

The exact digit-sum law for full K-operand addition

MC(FullAdd(K,n)) = Kn − s₂(K(2ⁿ−1)); FullAdd(5,2) = 6 ≠ 8

For all K and n, exposing every nonconstant bit of the ordinary sum of K n-bit words has exact multiplicative complexity K n minus the binary digit sum of K(2^n-1). The exact six-product FullAdd(5,2) circuit, not eight, kills the former universal (K-1)n conjecture.

exact determinationAdders, counters and the heap lawfull paper

Published 2026-08-29

MF-152RECEIPTED

Sharpness of the 5/8 law and multiplicative complexity of n-bit addition

delta = (5/8)^p attained at MC = p for disjoint ANDs, mod 2^n addition (MC = n - 1), and full addition (MC = n); Floor A <= 1.4747 m

The 5/8 lower bound constant is unconditionally sharp across multiple function families and reproves the exact multiplicative complexity n - 1 for n-bit addition without SAT solvers.

Prior art: While the value n - 1 was previously reported in BPP (2000, abstract only), the sharpness of this internal constant appears to be new.

lower boundAdders, counters and the heap lawfull paper

Published 2026-09-04

MF-169RECEIPTED

Exact multiplicative complexity of 7-variable majority

MC(MAJ7) = MC(T^7_4) = 4

The 7-variable majority function requires exactly 4 AND gates over the basis with free XOR operations, closing the known bracket [3, 4].

Prior art: Boyar–Peralta (2008) established the published bounds `[3,4]`, where Thm 10 gives `<= 4` and Thm 8 / Schnorr degree give `>= 3`. The exact value is verified by an internal check without claiming novelty, as it may already appear in the NIST `Circuits` dataset of symmetric functions up to 25 variables.

exact determinationAdders, counters and the heap lawfull paper

Published 2026-09-04

MF-171SOLVER-CONFIRMED

Exact multiplicative complexity of carry-calculus and threshold functions

59 exact MC values for small multi-bit threshold functions; D(m)=floor(log2 m)-[m!=2^b-1] proved for bridge; MCmax(S_m)=m-1 for m<=7

Computes 59 exact multiplicative complexity values for multi-bit carry and threshold functions, proves a lower-bound formula for the Hamming-weight bridge, and confirms symmetric function bounds.

Prior art: The symmetric cases and maximum MC bound are from BCSTP, correcting an earlier attribution to Boyar–Peralta (2008). The multi-bit carry cells and closed D(m) bridge formula are new to this work.

exact determinationAdders, counters and the heap lawfull paper

Published 2026-09-04

MF-179RECEIPTED

Exact Multiplicative Complexity of Parallel Counters and Multi-Operand Compressors

MC(3->2)=1, MC(4->3)=3, MC(5->3)=3, MC(6->3)=4, MC(7->3)=4, MC(4:2)=2, MC(5:2)=3, MC(6:2)=4 over F_2

The exact multiplicative complexity over F_2 was established for all parallel counters and standard carry-save compressor slices up to 8 inputs.

Prior art: This result establishes closed exact bounds that appear to be new, though the overall problem remains partially solved.

exact determinationAdders, counters and the heap lawfull paper

Published 2026-09-04

MF-181RECEIPTED

Exact multiplicative complexity of the resolved-carry family K_m

MC(K_m) = 2m+1 for every m ≥ 1

The exact multiplicative complexity of computing m low sum bits along with both resolved carry bits of four-operand addition is proved to be 2m+1 for all m ≥ 1.

Prior art: This result appears to be new as a general family statement: while Boyar–Peralta counted the redundant object, the exact count for the resolved object is not found in the known literature.

exact determinationAdders, counters and the heap lawfull paper

Published 2026-09-04

MF-182RECEIPTED

Unification of Additive Line Multiplicative Complexity via Greedy Column-Heap Recursion

Heap recursion d_0=k+c0, d_{i+1}=k+⌈(d_i-1)/2⌉ with cost Σ⌈(d_i-1)/2⌉ matches all exact MC values for multi-operand addition and H_n.

A greedy column-heap carry-save recursion reproduces all known exact multiplicative-complexity values and boundary constants for multi-operand addition.

Prior art: While the recursion is based on standard carry-save and Dadda dot reduction, the observation that it matches every exact XAG value, including the boundary constants, appears to be new.

structure theoremAdders, counters and the heap lawfull paper

Published 2026-09-04

Every entry

The rest of the programme

Every confirmed result in this programme. Each links to its full paper.

Snapshot 2026-09-06. Generated from the division's registers and curation records; never hand-edited.