The lower bound #
Main theorem (Frontier.lowerBound). Fix a fan-in bound r ≥ 2, and suppose that graphs
of maximum degree r + 1 have layouts of width (A + o(1)) β₁ + o(|V|) (LayoutBound (r + 1) A).
Let S_n ⊆ U^n be K_n-rectangle-free sets over a finite alphabet U, with log K_n = o(n)
and |S_n| ≥ |U| ^ (n - o(n)). Then for every ε > 0 and all large n, every circuit deciding
S_n over any basis of fan-in at most r on U has s inner gates with
(r - 1) s > (1 + 1/A - ε) n.
Gates of arity zero, the constants, are not counted. For fan-in two
(Frontier.lowerBound_fanInTwo) the graphs are subcubic and the bound reads
s > (1 + 1/A - ε) n.
The proof is the reduction theorem followed by the comparison of demand and supply
(Frontier.eventually_lt_of_demand). A circuit with s gates gives a graph of cycle rank about
(r - 1) s - n, all of whose layouts have width about n: that is the demand. The layout
hypothesis provides a layout of width about A ((r - 1) s - n): that is the supply. So
n ≤ A ((r - 1) s - n) + o(n), that is, (r - 1) s ≥ (1 + 1/A - o(1)) n.
Instances #
For fan-in two the layout hypothesis is proved (Frontier.Layouts) with
A = (3/π) arccos((1 + 2√2)/4) ≈ 0.2807, from Gaussian edge-score layouts, giving the
coefficient 1 + π/(3 arccos((1 + 2√2)/4)) ≈ 4.5625, and with the weaker A = 1/3, giving the
coefficient 4 (Frontier.Main).
Eventually a dense rectangle-free set is large enough for the reduction: q K^2 ≤ |S|.
The numerical demand--supply comparison, exposed independently of the compiler. Any graph with the reduction's size, cycle, and frontier-demand bounds gives the same lower bound on its gate budget.
The frontier lower bound. Let r ≥ 2 and assume the layout hypothesis for maximum
degree r + 1 with coefficient A > 0. Let S_n ⊆ U^n be K_n-rectangle-free sets over a
finite alphabet U with at least two symbols, with log K_n = o(n) and
n log |U| - log |S_n| = o(n). Then for every ε > 0, for all large n, every circuit with
fan-in at most r deciding S_n, over any basis and interpretation on U, has s inner gates
with (r - 1) s > (1 + 1/A - ε) n.
The frontier lower bound for fan-in two. Assume the layout hypothesis for subcubic graphs
with coefficient A > 0. Under the hypotheses of Frontier.lowerBound, for every ε > 0 and all
large n, every circuit with fan-in at most two deciding S_n, over any basis and
interpretation on U, has more than (1 + 1/A - ε) n inner gates.