Threshold lower bounds from bounded direct input support #
The bounds in this module restrict the number of original input coordinates read by each gate. Internal predecessor fan-in, circuit depth, and real coefficient magnitudes remain unrestricted. High-incidence input coordinates can be fixed before applying a random cut.
If both Boolean fibers are K-rectangle-free with K ≤ 2 ^ k, a program with q
input-reading gates and at most d original inputs per gate satisfies, for every natural T,
n ≤ (2 * (1 - 2⁻ᵈ) + d / (T + 1)) * q + 2 * k + (T + 1) * √(2 * n).
For support at most three, an incidence-graph layout sharpens this to
2 * n < (3 + 6 / (T + 1)) * q + max 3 T * Nat.log 2 (n + q) + 6 * k + 1.
The support restriction concerns aggregated coefficients, so repeated wires and cancellation
are handled by the existing native circuit semantics.
Main definitions #
Cslib.Circuits.Boolean.WeightedThreshold.inputDegree: the number of input-reading gates that have a nonzero effective coefficient on a given original input.
Main results #
Cslib.Circuits.Boolean.WeightedThreshold.sum_inputDegree: incidence double counting.Cslib.Circuits.Boolean.WeightedThreshold.exists_fixed_inputs_of_inputSupport_card_le: fixing coordinates of degree aboveTcosts at mostd * q / (T + 1)coordinates.Cslib.Circuits.Boolean.WeightedThreshold.le_inputGates_of_bounded_incidence: the finite lower bound after fixing an arbitrary set of high-incidence inputs.Cslib.Circuits.Boolean.WeightedThreshold.le_inputGates_of_inputSupport_card_le,Cslib.Circuits.Boolean.WeightedThreshold.circuit_le_of_inputSupport_card_le: the finite support bound for programs and circuits.Cslib.Circuits.Boolean.WeightedThreshold.two_mul_lt_inputGates_of_inputSupport_card_le_three,Cslib.Circuits.Boolean.WeightedThreshold.circuit_two_mul_lt_of_inputSupport_card_le_three: the stronger finite incidence bound when each gate reads at most three original inputs.
References #
The lower-bound refinement combines the existing fixed-coordinate rectangle lemma from [S. Schlesinger, Algebraic circuit formalizations in Complexitylib] [Sch26a] with a random partition of the direct input supports. The support-three refinement uses the existing cycle-rank layout bound on the incidence graph and the hereditary obstruction to two disjoint coordinate sets with large deficits.
Counting direct input incidences either by input or by gate gives the same total.
Fixing high-incidence coordinates leaves degree at most T; their number times T + 1
is at most the total direct input incidence bound.
After fixing F, bounded incidence gives a support-sensitive lower bound. Only effective
coefficients on original input coordinates are counted.
A weighted threshold program whose gates each read at most d original inputs satisfies
n ≤ (2 (1 - 2⁻ᵈ) + d / (T + 1)) q + 2 k + (T + 1) √(2 n) for every T, where q is
the number of input-reading gates and both output fibers are K-rectangle-free with K ≤ 2^k.
There is no restriction on internal predecessor fan-in or real coefficient magnitudes.
The support-sensitive bound for a native single-output threshold circuit whose output selects a gate.
If every gate reads at most three original inputs, the incidence layout gives
2 n < (3 + 6 / (T + 1)) q + max 3 T * log₂(n + q) + 6 k + 1 for every natural T.
Here log₂ is Nat.log 2, q counts input-reading gates, and both fibers are
K-rectangle-free with K ≤ 2 ^ k. Internal predecessor fan-in and depth are unrestricted.
The incidence lower bound for a native single-output threshold circuit whose output selects a gate, assuming each gate reads at most three original inputs.