sarvesh.
P vs NP: Small Circuits

P vs NP: Small Circuits · Circuits for tables

One proof for 104 circuit budgets

Imagine a row for each person and a column for each job. A 1 means the person qualifies. Two people can qualify for exactly the same jobs. What extra work does a circuit need to handle the second person? In the tables we studied, each duplicate adds exactly one gate.

What does a copy cost?

A circuit gets one row and one column as inputs. It uses AND and OR gates to give the answer in their cell. Add a copy and compare its entries with the original.

ABCD
R10001
R21010
R31100
Fewest gates77 to start + 0 copies
7 gates. Each row and column here has a different pattern. This is the starting table.
Read the copying argument

Look for the missing corner

In our first four-by-five example, a nine-gate circuit was known and earlier searches had ruled out eight. All nine inputs matter. A circuit with just eight binary gates can only join nine distinct inputs to one output by using each input once, as a tree. A two-by-two block with three filled cells and the fourth empty obstructs that particular read-once representation. The little corner gives a structural proof that eight gates cannot work.

Price a repeated row

Suppose two rows have the same pattern. In the construction, one OR gate combines their inputs before the rest of the circuit sees them. For tables in which each original input has a pair of cells witnessing its relevance, the proof goes the other way too. Each extra copy costs exactly one gate, even when intermediate results can be reused. The four-by-five example reduces to a seven-gate three-by-four table plus two copies.

Reduce the census to two seeds

Forty-two posted tables reduced to one seed or its transpose. Another sixty-two reduced to a second seed. The Lean batch theorem checks all 104 exact budgets. In every case the requested circuit was one gate too small. An earlier 49-row census overlaps this batch in 47 rows. The value of the result is that the same proof accounts for the whole collection.

Proof and verification

Lean-checked copy theorem, exact minima and a 104-table census.