Lower bounds for linear maps #
The frontier method applies to circuits with many outputs. Here the demand comes from linear algebra instead of from counting rectangles.
Let a circuit over a field F compute x ↦ M x for an N × N matrix M, and compile it into
a network that accepts every value at every output. Cut the network along a set P of vertices:
P reads the inputs X and holds the outputs Y. If the runs on two inputs agree on the cut,
then splicing them (Frontier.Compiler.trace_out_of_cut) shows that the outputs in Y do not
see the inputs outside X, and the outputs outside Y do not see the inputs in X. When M is
totally regular and |X| + |Y| = N, both blocks M[Y, X^c] and M[Y^c, X] are square and
nonsingular, so the input is determined by the values on the cut
(Frontier.exists_injective_cut). Every layout passes through such a P, since |X| + |Y|
grows by at most one per vertex, from 0 to 2 N.
How many values can a cut of k edges carry? A circuit has linear capacity
(Frontier.LinearCapacity) when k wires never determine more than k coordinates of the
input. This holds
- over a finite field, for every basis:
kwires take at most|F| ^ kvalues (Frontier.linearCapacity_of_finite); - over any field, for the affine basis: the values of
kwires are an affine function of the input (Frontier.linearCapacity_affine); - over an infinite field, for polynomial operations, after linearizing the circuit
(
Frontier.exists_affine_circuit).
It fails over infinite fields for arbitrary operations: a bijection F × F → F lets one wire
carry everything.
So every layout of the graph of the circuit has a frontier of at least N edges: the demand is
exactly N. The graph has cycle rank at most (r - 1) s + 1 - N for s inner gates of
fan-in r, and the comparison of demand and supply gives the same coefficient as for decision
problems.
Main theorem (Frontier.lowerBound_linear). Under LayoutBound (r + 1) A, for every
ε > 0 and all large N, every circuit of fan-in at most r with linear capacity computing a
totally regular map F^N → F^N has s inner gates with (r - 1) s > (1 + 1/A - ε) N, uniformly
in the field. Constants are free.
Main results #
Frontier.exists_injective_cut: some frontier of every layout determines the input.Frontier.lowerBound_linear: the lower bound, for circuits with linear capacity.Frontier.lowerBound_linear_finite,Frontier.lowerBound_linear_affine,Frontier.lowerBound_linear_polynomial: over finite fields with any basis, over any field with the affine basis, and over infinite fields with polynomial operations.
Linear capacity #
A circuit has linear capacity when its wires carry at most one element of the field each:
whenever the values of k wires determine the input, N ≤ k.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Over a finite field every circuit has linear capacity: k wires take at most |F| ^ k
values.
Circuits over the affine basis have linear capacity: the values of k wires are an affine
function of the input, which is injective only if N ≤ k.
Every layout has a frontier that determines the input #
A discrete intermediate value theorem. A sequence of naturals that starts at 0 and
grows by at most one per step takes every value up to its final one.
The network of a circuit computing a function: every value is accepted at every output.
Equations
- Complexity.Frontier.functionNetwork I c = Complexity.Frontier.Compiler.network c.program c.outputs I fun (x : Fin N) => Set.univ
Instances For
Every output of a totally regular map depends on every input, so every input is upstream of every output.
In the network of a circuit for a totally regular map, an input is read in P exactly when
its vertex lies in P.
Some frontier of every layout determines the input. For a circuit computing a totally regular map, every layout of its network has a time at which the values on the frontier determine the input.
The graph of a circuit for a totally regular map. A circuit with s inner gates of
fan-in at most r ≥ 2 and linear capacity, computing a totally regular map F^N → F^N with
N ≥ 1, yields a connected, loopless multigraph of maximum degree r + 1 with at most
2 r s + 3 N vertices and cycle rank at most (r - 1) s + 1 - N, every layout of which has a
frontier of at least N edges.
The lower bound #
The frontier lower bound for linear maps. Let r ≥ 2 and assume the layout hypothesis
for maximum degree r + 1 with coefficient A > 0. For every ε > 0 and all large N, every
circuit of fan-in at most r with linear capacity, over any field and any basis, that computes
x ↦ M x for a totally regular N × N matrix M, has s inner gates with
(r - 1) s > (1 + 1/A - ε) N.
Linear maps over finite fields, over any basis.
Linear maps over any field, over the affine basis.
Linear maps over infinite fields, over any basis of polynomial operations: the coefficients and degrees of the operations are arbitrary.