sarvesh.
P vs NP: Small Circuits

P vs NP: Small Circuits · Graphs and finite geometry

When one shared wire is worth an intersection

Draw a pattern of filled cells on squared paper. You start with whole rows and columns. Combining sets by union is free and every intersection costs one. A circuit can compute a set once and send it to two later operations. A formula must spell out the expression each time. Can a tiny board force a different bill for the same finished picture?

Find a board that separates the two models

At three paid intersections there are five possible circuit forms. Four are already formulas. The fifth can use one intermediate result twice. On an eight-by-eight board that fifth shape succeeds while every three-intersection formula fails. A six-by-six board shows the same three-versus-four gap in a smaller square. The interactive drawing in the matching essay lets you switch between its shared wire and the two copies.

Prove something at every budget

For every integer k of at least three, we constructed a graph needing exactly k intersections as a circuit and k + 1 as a formula. We also measured the real matrix rank of the empty cells. Among all graphs at circuit cost k where sharing helps, that rank can reach exactly 3ᵏ − 2. A rank ceiling describes the empty-cell matrix. The one-intersection saving describes our explicit family.

See why reuse can fail

On a different five-by-six board called the quadrangle, four intersections were already known to be necessary. Our structural proof explains why the shared wire cannot bring it down to three. The wire has two rectangles available to cover three required cells. Every rectangle covering two of them also includes a forbidden cell. That obstruction survives every admissible choice of the outer rectangles. The later classification covers the entire five-by-six size. Up to relabeling, the quadrangle is the only board there that needs four intersections. Every other board admits a three-intersection formula.

Proof and verification

Lean-checked classifications, examples and exact family theorem.