sarvesh.
P vs NP: Small Circuits

P vs NP: Small Circuits · Graphs and finite geometry

How much can a tree save by sharing?

It is tempting to look at a graph with an obvious cycle and credit the cycle for a saving. I wanted to know whether a circuit could still beat a formula after all the cycles had gone. Here the budget counts intersections and lets unions of rows and columns cost nothing.

Remove the cycles

A connected seven-by-seven example with fourteen edges has no cycle of length four. It costs three intersections with sharing and four without. Deleting any one vertex destroys that gap at cost three. A second example goes further. It is a tree with ten vertices on each side. Four intersections suffice as a circuit, while a formula needs five. Removing any vertex lets a formula finish in four. The tree result has a finite proof and an independent search.

Let the cost grow

On forests, the relative advantage of sharing tends to zero as the optimal circuit cost grows. The written proof also covers families with a fixed bound on treewidth, a measure of how closely their graphs can be decomposed into tree-shaped pieces. A decoder used in the argument was checked in Lean. The bound leaves open whether any single tree can save two intersections.

Change the geometry

Now give every point of a finite projective plane a row and every line a column. Fill a cell exactly when the point lies on the line. On planes over growing finite fields, the ratio of formula cost to circuit cost grows without bound. The proof combines earlier algebraic results with two machine-checked translations. This comparison uses one selected row and column in both models.

Proof and verification

Lean-checked seven-by-seven example. Finite tree certificate and written asymptotic proofs.