Lower bounds for inner product and Kronecker powers: composite moduli, threshold gates, and linear circuits of every depth
Abstract
Lower bounds against MODm circuits with composite m and against linear circuits for explicit matrices are long-standing open problems. The following bounds are unconditional. Inner product modulo a prime q on k-bit inputs needs 2Ω(k) gates in depth-two circuits whose top gate is a MODm gate, for fixed m coprime to q such as 6, and whose bottom gates depend on one linear form with bounded integer weights. MODq needs 2Ω(n) gates in MODm∘MODm′ circuits, such as MOD15∘MOD2, when q is coprime to mm′. Polynomial lower bounds hold against MODm∘THR circuits with restricted gates. Our lower bounds for linear circuits and Boolean inner product assume a theorem of an OpenAI preprint, "Euclidean geometry in the asymptotic spectrum of tensors". Under it, depth-two circuits need N(1+√2)/2 wires for Kronecker products of invertible 2×2 matrices with nonzero entries over any field, and in unbounded depth every invertible nonmonomial 2×2 Kronecker power of order N needs Ω(N√(log N)) gates over every field; an example is the Sierpiński matrix in XOR circuits. Unconditionally, N(log N)1/2+o(1) gates suffice for these Kronecker powers. Via the approach of Alman and Li, Boolean inner product, an AC0 function, needs 2Ω(n) gates in SUM∘ETHR and MODp∘THR circuits with arbitrary weights, for every fixed prime p. The depth-two proof extends a price argument for abelian character tables to these Kronecker products by an explicit degeneration.
In plain words
Razborov and Smolensky showed in 1987 that some tasks need many gates in circuits with a fixed number of layers, even when some gates test whether a count of their inputs is divisible by a prime. Their method fails for divisibility by 6, because 6 has two different prime factors. This paper looks at two-layer circuits where the top gate tests for divisibility by 6, and each gate below it sees only one sum of the inputs, with every input multiplied by a small integer. To tell whether 5 divides the number of places where two long strings of bits both have a 1, such a circuit needs a number of gates that grows exponentially with the length of the strings.
This PDF is the same version as arXiv:2612.00720v3.
Formal statement and axioms
Each main result as stated in Lean, copied verbatim from the published package, with the axioms that the proof rests on. Lean v4.35.0, Mathlib 56a005855ea1. The package.
EpRigidity.M_thm_holds
Theorem M (Theorem 3.3), with no hypothesis: kernel-only
theorem M_thm_holds : M_thmDefinitions used in the statement
def M_thm : Prop :=
∀ q m w : ℕ, 2 ≤ q → 2 ≤ m → Nat.Coprime m q → 1 ≤ w →
∃ k₁ : ℕ, ∀ k s : ℕ, k₁ ≤ k → ModSymComputesIPq q m w k s →
Real.exp (epsM ((2 * w + 1) ^ Dm m) q * k / Dm m) ≤ (s : ℝ) + 1def ModSymComputesIPq (q m w k s : ℕ) : Prop :=
∃ (a : Fin s → ℤ) (A : Set (ZMod m)) (g : Fin s → SymGate k w),
(A = {0} ∨ A = {0}ᶜ) ∧
((∀ x y : BVec k, modTop m A a (fun j => (g j).fires x y) ↔ IPq q x y) ∨
(∀ x y : BVec k, modTop m A a (fun j => (g j).fires x y) ↔ ¬ IPq q x y))def IPq (q : ℕ) {k : ℕ} (x y : BVec k) : Prop := ip x y % q = 0def Dm (m : ℕ) : ℕ := m.primeFactors.sup fun p => p ^ m.factorization p - 1The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.
EpRigidity.Mo_thm_holds
Theorem 3.40 (one-party Theorem M), with no hypothesis: kernel-only
theorem Mo_thm_holds : Mo_thmDefinitions used in the statement
def Mo_thm : Prop :=
∀ (useD' : Bool) (q m m' : ℕ), 2 ≤ q → 2 ≤ m → 2 ≤ m' → Nat.Coprime q (m * m') →
let D := if useD' then Dpm m else Dm m
let c := m' ^ D
∃ n₀ : ℕ, ∀ (n s : ℕ) (R : Set (ZMod q)), n₀ ≤ n → R.Nonempty → R ≠ Set.univ →
ModModComputesModqR q m m' n s R → Real.exp (epsMo m' q c * n / D) ≤ (s : ℝ) + 1The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.
EpRigidity.I_5_holds
Theorem A (Theorem 4.5) for Kronecker products of 2×2 matrices, assuming PlanarPricesHyp: kernel-only
theorem I_5_holds : I_5Definitions used in the statement
def I_5 : Prop :=
PlanarPricesHyp → ∀ (K : Type) [Field K] (m : ℕ) (A : Fin m → Matrix (Fin 2) (Fin 2) K),
(∀ i, Nondeg2 (A i)) → ∀ D : Depth2 K (BVec m) (BVec m), D.matrix = kronProd A →
(2 ^ m : ℝ) ^ Ed 2 ≤ D.cost ∧ (2 ^ m : ℝ) ^ Ed 2 ≤ D.size ∧
(D.Z = 0 → 2 * (2 ^ m : ℝ) ^ Ed 2 ≤ D.size)The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.
3 more formal statements
EpRigidity.V3_exact_holds
Theorem E (Corollary 5.10), the upper bound assuming BB_F6 and the lower bound assuming ListPricesHyp and BB_F_L33: kernel-only
theorem V3_exact_holds : V3_exactDefinitions used in the statement
def V3_exact : Prop :=
(BB_F6 → ∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ (K : Type) [Field K] (A : Matrix (Fin 2) (Fin 2) K),
A.det ≠ 0 → ¬ Monomial2 A → ∀ k : ℕ, ∃ s : ℕ,
(s : ℝ) ≤ C * 2 ^ k * (1 + k : ℝ) ^ (1 / 2 + ε) ∧ HasBinCircuit K (kronPow A k) s) ∧
(ListPricesHyp → BB_F_L33 → ∃ c₁ : ℝ, 0 < c₁ ∧
∀ (K : Type) [Field K] (A : Matrix (Fin 2) (Fin 2) K), A.det ≠ 0 → ¬ Monomial2 A →
∀ k s : ℕ, HasBinCircuit K (kronPow A k) s → c₁ * 2 ^ k * Real.sqrt k ≤ s)The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.
EpRigidity.I_14_holds
Theorem D for Boolean inner product (Theorem 6.12), assuming PlanarPricesHyp: kernel-only
theorem I_14_holds : I_14Definitions used in the statement
def I_14 : Prop :=
PlanarPricesHyp → ∀ k : ℕ, 1 ≤ k →
(∀ s : ℕ, SumComputes {GateKind.ethr} s (boolToReal (@IPb k)) →
(2 : ℝ) ^ (gam4 * k) / (16 * (2 * (k : ℝ) + 4) ^ 6) ≤ (s : ℝ) + 1) ∧
(∀ s : ℕ, SumComputes {GateKind.thr, GateKind.relu} s (boolToReal (@IPb k)) →
(2 : ℝ) ^ (gam4 * k) / (32 * (2 * (k : ℝ) + 5) ^ 6) ≤ ((s : ℝ) + 1) * ((k : ℝ) + 2)) ∧
(∀ p : ℕ, p.Prime → ∀ s : ℕ, ModComputes p BKind.thr s (@IPb k) →
(2 : ℝ) ^ (gam4 * k) / (32 * (2 * (k : ℝ) + 5) ^ 6) ≤
((s : ℝ) + 1) ^ (p - 1) * ((k : ℝ) + 2) ^ (p - 1)) ∧
(∀ p : ℕ, p.Prime → ∀ s : ℕ, ModComputes p BKind.ethr s (@IPb k) →
(2 : ℝ) ^ (gam4 * k) / (32 * (2 * (k : ℝ) + 5) ^ 6) ≤ ((s : ℝ) + 1) ^ (p - 1))The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.
EpRigidity.nc_thm_DT82_holds
Theorem 7.59, with 82 in place of 17.6, with no hypothesis: kernel-only
theorem nc_thm_DT82_holds : nc_thm_DT82Definitions used in the statement
def nc_thm_DT82 : Prop :=
∀ (m q : ℕ), 2 ≤ m → 2 ≤ q → ∀ (A : Finset (ZMod m)), 1 ≤ min A.card (m - A.card) →
∀ (τ : ℝ), 0 < τ → ∀ (k N : ℕ) (c : Fin N → ZMod m) (g : Fin N → DirGate k),
(∀ l, IsFlat τ (g l).u) → N ≤ k ^ 3 →
∀ W : Set (BVec k × BVec k), SwapClosed W →
(∀ x y, (x, y) ∈ W → (modDirTop m A c g x y ↔ IPq q x y)) →
cW0 q W * ((k : ℝ) - 7 * Real.logb 2 k -
Real.logb 2 (32 * (min A.card (m - A.card) : ℕ) / cW0 q W)) / (82 * τ) ≤
N * Real.logb 2 (1 + 2 * N * (k : ℝ) ^ 2)The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.