Frontier lower bounds for circuits with unbounded-weight threshold tops #
The ledger extension of the frontier method (Cslib.Circuits.Frontier.Ledger) absorbs unbounded
fan-in gates that aggregate in a finite commutative monoid M with log |M| = o(n). That
approach cannot handle an unbounded-fan-in real-weighted linear threshold gate (perceptron)
reading all n + g wires of a bounded-fan-in program with arbitrary real weights: irrational or
exponentially growing weights generate 2^{Θ(n)} distinct partial sums, and fixing the values on a
frontier edge cut leaves a two-party halfspace (Greater-Than) rather than a monochromatic
combinatorial rectangle.
This module proves that the full 4.575972 n median-switched Gaussian frontier lower bound
nevertheless holds for arbitrary-real-weight multi-perceptron tops (ThresholdTop) over bounded
fan-in programs (THR ∘ THR_t ∘ Circuit, or any Boolean combination G of t unbounded-weight
linear threshold units reading all inputs and internal gates):
- Order-rank compression of two-party halfspaces (
card_isHalfspaceComb_le). A two-party halfspacedecide (φ a + ψ b < 0)onα × βis determined by the strict rank mapz ↦ #{w : α ⊕ β | g w < g z} < |α| + |β|ofg = Sum.elim φ (-ψ). Consequently, across all unbounded real weights, at most2^{2^t} (|α| + |β|)^{t (|α| + |β|)}functions onα × βare Boolean combinations ofttwo-party halfspaces (IsHalfspaceComb). - Existence of small-bias targets (
exists_halfspaceCombBias,exists_halfspaceCombBias_family). Union-bounding Hoeffding's inequality over spanned rectangles of sizesk₁, k₂ ≥ Kshows that when(2 (t + 1) (n + 1) : ℝ) ≤ b^2 Kand2^t + 3 n + 2 ≤ 2 K, setsS ⊆ Bool^nof bias at mostbagainst everyt-halfspace combination onK × K-large rectangles (HalfspaceCombBias) exist; for instanceK_n = 2 (t + 1) (n + 1)^3 + 2^tandb_n = 1 / (n + 1) → 0. - Realized-edge peeling on the unconstrained live network
(
eventually_agreement_thresholdTop_le_of_layoutBound,eventually_agreement_thresholdTop_le_switched). Erasing no gates (special := False) turns a programpof fan-in at most two intoliveCircuit p, whose constraint network accepts every input unambiguously (accepted = univ). On every state rectanglepeers τ x = rectangle X A B, every wire ofpdepends onXalone or onXᶜalone, reducingT.eval p IonA × BtoIsHalfspaceComb t. Bounding the realized edges at each step inside componentWsimultaneously by the frontier width and by|readIn W|eliminates disconnected-component blowup via the convex combinationmin (A (s + 1 - n_W)) n_W ≤ (A / (1 + A)) (s + 1), yielding agreement at most1/2 + b_n + exp (-γ n)whenevers ≤ (1 + 2π / (3 arccos (5/6)) - ε) n. - Single-cut sign-rank bound and Forster corollary (
signRank_thresholdTop_le,eventually_lt_innerSize_thresholdTop_hardForm). Across any single vertex cutPof the live network, integer order-ranks shifted by1/2factor a sign-representation of a single threshold unit (t = 1) through2 |U|^{|edgeCut P|}dimensions (Communication.signRank_le_card_of_mul), without topological perturbation. Paired with Forster's bilinear theorem (Forster.lean) and Lindsey's lemma on the nonconstructively chosen bilinear formhardForm n, everyTHR ∘ B₂circuit (including direct input skip-wires) computinghardForm nneeds more than(1 + π / (6 arccos (5/6)) - ε) n ≈ 1.893993 ninner gates.
The frontier lower-bound extensions to arbitrary-real-weight threshold tops developed here — combining order-rank compression on realized state rectangles with componentwise edge peeling, and combining cut-wise shifted order-rank factorizations with Forster's theorem on graphs — are original to this library.
Main definitions #
Cslib.Circuits.Frontier.IsHalfspaceComb: Boolean combinations ofttwo-party real halfspaces.Cslib.Circuits.Frontier.HalfspaceCombBias: bounded signed discrepancy against everyt-halfspace combination on rectangles with both sides of size at leastK.Cslib.Circuits.Frontier.ThresholdTop,Cslib.Circuits.Frontier.ThresholdTop.eval:tarbitrary-real-weight threshold units over all wires of a program, with a Boolean combiner.
Main results #
Cslib.Circuits.Frontier.card_isHalfspaceComb_le: upper bound on realizablet-halfspace combinations over finite domains.Cslib.Circuits.Frontier.exists_halfspaceCombBias,Cslib.Circuits.Frontier.exists_halfspaceCombBias_family: counting existence of low-bias sets.Cslib.Circuits.Frontier.eventually_agreement_thresholdTop_le_of_layoutBound,Cslib.Circuits.Frontier.eventually_agreement_thresholdTop_le_switched: average-case4.575972 nlower bound forThresholdTopcircuits.Cslib.Circuits.Frontier.signRank_le_two_of_isHalfspaceComb_one,Cslib.Circuits.Frontier.signRank_thresholdTop_le,Cslib.Circuits.Frontier.eventually_lt_innerSize_thresholdTop_hardForm: single-cut sign-rank bounds andhardFormlower bound via Forster's theorem.
References #
Two-party halfspace combinations and order-rank compression #
f : α → β → Bool is a Boolean combination of t two-party real halfspaces when there are
real potentials φ r : α → ℝ and ψ r : β → ℝ (r : Fin t) and a combiner
G : (Fin t → Bool) → Bool such that f a b = G (fun r => decide (φ r a + ψ r b < 0)).
IsHalfspaceComb is preserved under precomposition on both sides.
Negating the output preserves IsHalfspaceComb.
Number of t-halfspace combinations on α × β. Over finite types α and β with
m = |α| + |β|, at most 2 ^ (2 ^ t) * m ^ (t * m) functions α → β → Bool belong to
IsHalfspaceComb t, independent of the real weights.
Bias against t-halfspace combinations on large rectangles #
S ⊆ (ι → U) has t-halfspace-combination bias at most b above side threshold K when,
on every combinatorial rectangle rectangle X A B with K ≤ |A| and K ≤ |B|, every
f : (X → U) → (↥Xᶜ → U) → Bool satisfying IsHalfspaceComb t f agrees and disagrees with S
within 2 b |rectangle X A B|.
HalfspaceCombBias is monotone in the side threshold K.
Every set has HalfspaceCombBias at most 1/2.
Sets of small t-halfspace-combination bias exist. Let n = |ι|, b > 0,
(2 (t + 1) (n + 1) : ℝ) ≤ b ^ 2 * K, and (2 ^ t + 3 * n + 2 : ℝ) ≤ 2 * K. Then some set
S ⊆ (ι → Bool) satisfies HalfspaceCombBias t S K b.
Families meeting HalfspaceCombBias with bias tending to zero. For any fixed t : ℕ,
there is a family S_n ⊆ Bool^n (selected nonconstructively via Classical.choose from the
counting witness exists_halfspaceCombBias) with
HalfspaceCombBias t (S n) (2 (t + 1) (n + 1)^3 + 2^t) (1 / (n + 1)), log K_n = o(n), and
b_n → 0.
Unbounded-real-weight threshold tops over bounded-fan-in programs #
A threshold top of t unbounded-real-weight linear threshold units reading all n + g
wires of a program p : Program σ n g, combined by combine : (Fin t → Bool) → Bool.
Real contribution
weight r w uwhen wirewcarries valueu : U.Additive real bias of threshold unit
r.Outer Boolean combiner of the
tthreshold units.
Evaluate T on the wire trace of p under interpretation I and input x.
Live-network wire splicing and realized-edge peeling #
Average-case lower bound for ThresholdTop under LayoutBound 3 A. Fix A > 0 with
LayoutBound 3 A. For every ε > 0 there is γ > 0 such that for every finite nontrivial
alphabet U, every t : ℕ → ℕ, K : ℕ → ℕ with log K_n = o(n), b : ℕ → ℝ, and S_n ⊆ U^n
eventually satisfying HalfspaceCombBias (t n) (S n) (K n) (b n), for all large n, every
program p : Program σ n g of fan-in at most 2 with (p.innerGates.card : ℝ) ≤ (1 + 1/A - ε) n
and every T : ThresholdTop U n g (t n) (with arbitrary unbounded real weights!) has
agreement (S n) {x | T.eval p I x = true} ≤ 1 / 2 + b n + exp (-γ n).
Unconditional median-switched average-case bounds (4.575972 n) #
Median-switched average-case bound for ThresholdTop (4.575972 n). Below
(L₃ - ε) n inner gates, where L₃ = 1 + 2π / (3 arccos (5 / 6)) ≈ 4.575972, every fan-in-two
program topped with t_n arbitrary-real-weight linear threshold units agrees with any
HalfspaceCombBias target S_n on at most 1/2 + b_n + exp (-γ n) of the inputs.
Rational (4.57597 - ε) n average-case bound for ThresholdTop.
Single-cut sign-rank bound and Forster's theorem #
Sign-rank of a two-party halfspace (t = 1). Every 1-halfspace combination over finite
domains has sign-rank at most 2.
Single-cut sign-rank bound for ThresholdTop (t = 1). Across any vertex cut P of
liveNetwork p (fun _ => False) U, letting X = readIn P, the single-perceptron top
T : ThresholdTop U n g 1 has communication sign-rank at most 2 * |U| ^ |edgeCut P| across
(X, Xᶜ).
Single-cut hardForm lower bound for ThresholdTop (t = 1) under LayoutBound 3 A.
Every fan-in-two program p topped with a single arbitrary-real-weight linear threshold unit T
(including direct input skip-wires) computing the nonconstructively chosen bilinear form
hardForm n (selected via Classical.choose) needs more than (1 + 1 / (4 A) - ε) n inner
gates.
Median-switched hardForm lower bound for ThresholdTop (1.893993 n). Every fan-in-two
program p topped with a single arbitrary-real-weight linear threshold unit T (including direct
input skip-wires) computing the nonconstructively chosen bilinear form hardForm n needs more than
(1 + π / (6 * arccos (5 / 6)) - ε) * n inner gates.
Rational (1.89399 - ε) n lower bound for ThresholdTop (t = 1) on hardForm n.