The lower bound with a ledger #
Main theorem (Frontier.lowerBound_ledger). Fix r ≥ 2 and assume the layout hypothesis
LayoutBound (r + 1) A. Let S_n ⊆ U^n be dense K_n-rectangle-free sets with
log K_n = o(n), as in Frontier.lowerBound, and let β(n) = o(n). For every ε > 0 and all
large n, every circuit deciding S_n whose gates have fan-in at most r, except for special
gates of any fan-in that have a ledger in a monoid M with log |M| ≤ β(n), has
(r - 1) s > (1 + 1/A - ε) n for its number s of ordinary inner gates. Constants and special
gates are free; the ledger contributes only to the sublinear error.
So the coefficient of the frontier method survives a sublinear amount of unbounded fan-in. For
instance, k gates computing AND, OR, parity, or counts modulo a fixed m of any number of
arguments have a ledger with log |M| = O(k) (Frontier.exists_ledger_of_aggregates), so
k = o(n) such gates are allowed.
Proof. Erase the special gates and lay out the network of the erased program, one connected
component after another (Frontier.LayoutBound.exists_layout_componentwise). Sweep the circuit
along this layout with the ledger in the messages (Frontier.Ledger.sweep). At each step the
transitions are bounded both by the width of the frontier and by the number of inputs of the
component being processed. The frontier counting lemma then finds a component W that reads
almost all n inputs and whose layout is wide, up to 2 log |M| and the usual error terms
(Frontier.Ledger.exists_ncard_le). The cycle rank of W is at most (r - 1) s + 1 minus the
number of inputs it reads (Frontier.Compiler.cycleRankOn_add_ncard_readIn_le), so W alone
has the demand and the supply of a connected graph, and the comparison of demand and supply
finishes the proof.
The erased program has an output vertex, so its network has a vertex.
The live wires are the inputs and the inner gates of the erased program.
Erasing the special gates leaves only inner gates of the circuit as inner gates.
Counting along a componentwise layout. If the vertex processed at each step lies in a
closed set containing both frontiers of the step, then some step t bounds the size of the set
decided by the circuit by (K - 1)^2 (|V| + 1) |M|^3 q^m, where m is the smaller of the width of
the step and the number of inputs read in its closed set.
The frontier lower bound with a ledger. Let r ≥ 2 and assume the layout hypothesis for
maximum degree r + 1 with coefficient A > 0. Let S_n ⊆ U^n be dense K_n-rectangle-free
sets with log K_n = o(n), and let β(n) = o(n). Then for every ε > 0 and all large n, every
circuit deciding S_n, over any basis on U, whose gates have fan-in at most r except for
special gates of any fan-in with a ledger in a monoid M with log |M| ≤ β(n), has s ordinary
inner gates with (r - 1) s > (1 + 1/A - ε) n. These are the inner gates of the erased program.
Aggregate gates. Under the hypotheses of Frontier.lowerBound, let β(n) = o(n). For
every ε > 0 and all large n, every circuit deciding S_n whose gates have fan-in at most r,
except for k special gates of any fan-in that aggregate in a finite commutative monoid T,
with k log |T| ≤ β(n), has s ordinary inner gates with (r - 1) s > (1 + 1/A - ε) n. For
instance, the special gates may compute AND, OR, parity, or counts modulo a fixed m.