sarvesh.
P vs NP: Small Circuits

P vs NP: Small Circuits · Algebraic complexity

The cost of checking equality depends on the arithmetic

Two players each hold a two-symbol string. Do their strings agree in both positions? An ordinary program could compare them directly. Here the rules allow a sum of products, with each factor allowed to see only particular input positions. How many terms must the sum contain to return the right answer on every input? This minimum is called riffle rank.

Change just the arithmetic

With four symbols, eight terms are both necessary and sufficient over the rational numbers. Use bits with arithmetic modulo two, where 1 + 1 is zero, and the exact cost rises to nine. The rational answer is Lean-checked. The binary answer has a written lower-bound proof, an independent finite check of 490,314 candidate eight-column dictionaries and a construction verified on all 256 inputs.

Why the ninetieth term matters

At 32 symbols, the all-field lower bound gives 89. Could a single rational dictionary of 89 terms meet it? Such a dictionary would have to be optimal for several smaller tests simultaneously. Their required counts are incompatible. The rational lower bound therefore rises to 90. The written deduction uses Lean-checked ingredients and an independent exact check of 39,711 triples. It leaves open whether 90 terms suffice.

What happens for long alphabets?

Polynomial interpolation gives an upper bound over the rationals of a constant times n to the power 1 + ε, for each fixed positive ε. The constant can depend on ε. A uniform bound by a single constant times n remains a different, open question.

Proof and verification

Lean for the all-field bound. Written rational improvement with formal lemmas and exact checks.