Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Crossing Decomposition for Subquadratic Noncommutative Circuits

Kirill Khoruzhii
v1 2026-11-02 · last 2026-11-04

Abstract. We construct arithmetic circuits of size O(n5/3)O(n^{5/3}) for every symmetric noncommutative quartic in nn variables over an arbitrary field. This improves the earlier O(n1.96)O(n^{1.96}) bound in characteristic different from two and the elementary O(n2)O(n^2) bound in characteristic two. Our proof combines the crossing construction underlying Anthropic’s refutation of ETH with rectangular extensions of OpenAI’s ω≤9/4\omega\le9/4 matrix-multiplication bound. The same construction represents (∑i=1nai2)(∑j=1nbj2)(\sum_{i=1}^n a_i^2)(\sum_{j=1}^n b_j^2) as a sum of at most n2+o(1)n^{\sqrt2+o(1)} squares of complex bilinear forms.

Let a1,…,an,b1,…,bna_1,\ldots,a_n,b_1,\ldots,b_n be noncommuting variables, and consider the polynomial

IDn=∑i,j=1naibjaibj.\mathrm{ID}_n=\sum_{i,j=1}^n a_i b_j a_i b_j.

Direct evaluation uses O(n2)O(n^2) additions and multiplications.

1Previous bounds

Hrubeš et al. (2011) connected the complexity of IDn\mathrm{ID}_n with composition of sums of squares. Hrubeš (2026) proved that IDn\mathrm{ID}_n can be computed with O(n1.96)O(n^{1.96}) operations over fields of characteristic different from two. His result also covers symmetric quartics and the row-ordered 4×n4\times n permanent (Theorem 3 and Remark 28). His Problem 3 asks whether IDn\mathrm{ID}_n admits subquadratic circuits in characteristic two.

We give circuits of size O(n5/3)O(n^{5/3}) over every field, including characteristic two. The construction applies more generally to four independent groups of variables, as stated below.

The subexponential 3-SAT algorithms of OpenAI (2026) and Anthropic (2026) use algebraic decompositions. We combine Anthropic’s crossing construction with rectangular extensions of the ω≤9/4\omega\le9/4 matrix-multiplication bound of OpenAI (2026). Uznański (2026) developed the rectangular analysis in characteristic zero, and Lü (2026) gave a characteristic-independent shared-leg separation construction. We use the arbitrary-field rectangular bounds stated by Amanov et al. (2026).

2Subquadratic circuits

A noncommutative arithmetic circuit uses addition and ordered multiplication, with intermediate results reused. We count addition and multiplication gates, including multiplication by scalar constants; scalar and variable inputs have zero cost. The constants in the circuit bounds may depend on the field but are uniform over polynomial coefficients.

Identifying ci=aic_i=a_i and dj=bjd_j=b_j gives IDn\mathrm{ID}_n.

The distinction between tensor rank and arithmetic circuit complexity in four or more modes is studied by Brand et al. (2026). The ordinary coefficient tensor of Φn\Phi_n has rank n2n^2, since its flattening across (a,b)∣(c,d)(a,b)\mid(c,d) is In2I_{n^2}. Our circuit construction uses two different cuts of this tensor and computes the resulting linear forms jointly.

A reverse circuit pass computes all left quotients Li(Φn)=∑jbjcidjL_i(\Phi_n)=\sum_j b_jc_id_j with linear additional cost, as in the circuit differentiation argument of Chatterjee & Hrubeš (2023), Section 4.2. Then ∑iaiLi(Φn)ei\sum_i a_iL_i(\Phi_n)e_i is the five-position crossing.

A polynomial is symmetric if every permutation of the variable names leaves it unchanged.

Keeping the variable groups separate gives a row-ordered permanent.

3A finite fermionic Fock-space identity

The crossing construction in Appendix B of Anthropic (2026) uses bosonic Fock space, realized as a polynomial algebra with Heisenberg creation and annihilation operators. We use a finite fermionic model: the exterior algebra EL=ΛZ(t0,…,tL−1)\mathcal E_L=\Lambda_{\mathbb Z}(t_0,\ldots,t_{L-1}), for an integer L≥1L\ge1. Its basis states tI=∏i∈Itit_I=\prod_{i\in I}t_i, with increasing indices, have each mode occupied at most once. Exterior multiplication and contraction are its creation and annihilation operators. The classical free-fermion model, including half-integer modes and normal ordering, is described by Kac & Wang (1993), Section 4.

Give a basis state energy e(I)=∑i∈I(i+1/2)\mathrm e(I)=\sum_{i\in I}(i+1/2), and put ϵI=(−1)∣I∣(∣I∣−1)/2\epsilon_I=(-1)^{|I|(|I|-1)/2}. Introduce a second colour u0,…,uL−1u_0,\ldots,u_{L-1}, with all generators anticommuting. Coefficients [tIuJ][t_Iu_J] place the tt-generators before the uu-generators and order each colour increasingly. Define

θm(t,u)=∑k=0L−1((km)tk+(−k−1m)uk),Kξ(t,u)=ξ(θ0,…,θL−1)∏k=0L−1(1+tkuk),M(ξ)I,J=ϵJ[tIuJ]Kξ(t,u).\begin{aligned} \theta_m(t,u) &=\sum_{k=0}^{L-1}\left(\binom{k}{m}t_k+\binom{-k-1}{m}u_k\right),\\ K_\xi(t,u) &=\xi(\theta_0,\ldots,\theta_{L-1})\prod_{k=0}^{L-1}(1+t_ku_k),\\ M(\xi)_{I,J} &=\epsilon_J[t_Iu_J]K_\xi(t,u). \end{aligned}

Here (−k−1m)=(−1)m(k+mm)\binom{-k-1}{m}=(-1)^m\binom{k+m}{m}, so all coefficients are integral. These are the normal-ordered creation–contraction matrices; normal ordering places creation operators before contractions. Let Mr(ξ)M_r(\xi) retain exactly the entries with e(I)−e(J)=r\mathrm e(I)-\mathrm e(J)=r, setting the others to zero. Write WE\mathcal W_E for the span of basis states of energy at most EE, and [1][1] for the coefficient of the empty state.

For h>0h>0 with 2h∈Z2h\in\mathbb Z, let η\eta be homogeneous of energy hh and write ξ=∑wξw\xi=\sum_w\xi_w, where ξw\xi_w has energy 0≤w≤h0\le w\le h and w−h∈Zw-h\in\mathbb Z. Put σh=(−1)2h\sigma_h=(-1)^{2h} and, for r=1−h,2−h,…,hr=1-h,2-h,\ldots,h, define

Th,r(ξ)=σh∑w(−1)h+r(h+w−1h+r−1)ξw.T_{h,r}(\xi)=\sigma_h\sum_w(-1)^{h+r} \binom{h+w-1}{h+r-1}\xi_w.

The binomial indices are nonnegative integers. Let λh(ξ,η)=[1]M−h(ξ)η\lambda_h(\xi,\eta)=[1]M_{-h}(\xi)\eta be the vacuum pairing.

Integer hh gives a sum of commutators; strictly half-integer hh gives a sum of anticommutators. Both products pass through states of energy at most E+hE+h. The identity is over Z\mathbb Z and therefore specializes to every commutative coefficient ring.

4Crossing decomposition

Taking matrix entries of the signed identity gives a crossing decomposition across two cuts.

The two terms separate the variable groups across the cuts (a,b)∣(c,d)(a,b)\mid(c,d) and (a,d)∣(b,c)(a,d)\mid(b,c). This also fits the partial-transpose rank framework of Rossman & Zhu (2026), Section 3: with (i,j)(i,j) indexing rows and (k,ℓ)(k,\ell) indexing columns, each first summand has rank at most one, and each second summand has rank at most one after interchanging jj and ℓ\ell. Every nonzero summand is therefore PT-basic, with blocks of sizes nn and Q(E)Q(E).

The capacity condition ensures that one of the 2H2H positive energy levels at most HH contains nn basis states. An inverse-Pascal substitution gives dual states with pairing δik\delta_{ik} over Z\mathbb Z; Anthropic’s Lemma 10 has normalization h!δikh!\delta_{ik}. This unit normalization specializes to every field. The action space uses all Q(E)Q(E) states of energy at most EE, and intermediate states have energy at most H+EH+E.

The four coefficient families of linear forms in aia_i and cic_i can be computed together in

O ⁣((H+E+1)3Q(H+E)Q(E))O\!\left((H+E+1)^3Q(H+E)Q(E)\right)

arithmetic gates. This estimate counts the joint evaluation of linear forms in the inputs ai,cia_i,c_i. Anthropic’s Appendix B constructs numerical coefficient tables; the bound here comes from sparse substitutions on aggregate states and the choice of truncation order. The same strategy has a bosonic version in characteristic zero. The exterior model gives an integral implementation over every field.

The construction also allows unequal alphabet sizes. For n,N≥1n,N\ge1 under the same capacity condition, write Φn,N=∑i=1n∑j=1Naibjcidj\Phi_{n,N}=\sum_{i=1}^n\sum_{j=1}^N a_i b_j c_i d_j, and put Λ=H+E+1\Lambda=H+E+1, R=Q(H+E)R=Q(H+E), m=Q(E)m=Q(E), and B0=⌈N/m⌉B_0=\lceil N/m\rceil. Batch the second alphabet into m×B0m\times B_0 arrays. For each mode, four ordered matrix products have shapes (R,m,B0)(R,m,B_0), (B0,m,R)(B_0,m,R), (B0,R,m)(B_0,R,m), and (m,R,B0)(m,R,B_0). Over any commutative coefficient ring, if exact ordered algorithms for these shapes have total gate cost GG, including their linear maps, the resulting circuit has size

O ⁣(Λ3(G+Rm+mB0+1)).O\!\left(\Lambda^3(G+Rm+mB_0+1)\right).

The implied constant is absolute. The order of multiplication keeps every resulting word in the order abcdabcd. Surplus variables in the last batch are set to zero.

For N=nN=n, the cumulative estimate log⁡Q(T)=κT+o(T)\log Q(T)=\kappa\sqrt T+o(\sqrt T), for a constant κ>0\kappa>0, allows HH and EE of order log⁡2n\log^2n. Choosing the cutoffs with a small positive capacity slack gives matrix exponents arbitrarily close to 1+α2\sqrt{1+\alpha^2}, α\alpha, and 1−α1-\alpha.

The classical algorithm of Strassen (1969) already gives a subquadratic bound over every field. Taking α=1/5\alpha=1/5 and partitioning the four matrix products into square blocks gives circuits of size O(n1.982)O(n^{1.982}).

The sharper rectangular bound

Q(A,B,C)=(AB+AC+BC)24ABC\mathcal Q(A,B,C)=\frac{(AB+AC+BC)^2}{4ABC}

gives Q(1+α2,α,1−α)=4/3+7/8<5/3\mathcal Q(\sqrt{1+\alpha^2},\alpha,1-\alpha)=4/3+\sqrt7/8<5/3 when α=(4−7)/3\alpha=(4-\sqrt7)/3. Small positive slack in the energy cutoffs and matrix exponents absorbs the polynomial factors in H+EH+E.

Finally, equality patterns of word positions connect the crossings to symmetric polynomials. Delete singleton blocks and merge adjacent occurrences of the same block; each step has an O(n)O(n) reconstruction circuit. For at most five positions, the only remaining nonempty patterns are ABABABAB and ABABAABABA. Integer Möbius inversion on set partitions converts sums with permitted coincidences into sums with an exact equality pattern. Every symmetric polynomial in these degrees is a linear combination of finitely many such pattern polynomials. The row-ordered permanent is the pattern in which all position labels are distinct.

5Hurwitz’s sum-of-squares problem

Hurwitz’s sum-of-squares problem asks how many bilinear squares are needed to represent a product of two sums of squares. Over C\mathbb C, Hrubeš (2026) obtained identities with O(n1.62)O(n^{1.62}) such squares. The following corollary is a consequence of the crossing decomposition in Appendix B of Anthropic (2026), equations (54)–(56). Choosing the shorter row or column factorization of each piece gives the exponent 2\sqrt2. The fermionic construction gives another derivation of this bound.

The coefficient field matters even at fixed sizes: Zhang & Zhu (2026) construct an identity with two 12-term sums and 18 bilinear squares over Q(i)\mathbb Q(i), and prove that no such identity exists over any formally real field.

The finite fermionic construction suggests studying crossing decompositions for higher-degree noncommutative polynomials. Understanding patterns such as ABCABCABCABC, which first occur in degree six, could extend the circuit bounds beyond the cases considered here.

Main.lean
/-- The positional quartic crossing has a subquadratic circuit over every field. -/
theorem quarticCircuits (F : Type*) [Field F] :
    ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n →
      ∃ s : ℕ, HasCircuit (Positional.quartic F n) s ∧
        (s : ℝ) ≤ C * (n : ℝ) ^ (5 / 3 : ℝ) :=
  RecordBounds.quartic_bound F

/-- The construction extends the uniform bound to degree at most five. -/
theorem quinticCircuits (F : Type*) [Field F] :
    ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n → ∀ p : FreeAlgebra F (Fin n),
      Symmetric.IsSymmetric p → Symmetric.DegreeLE 5 p →
        ∃ s : ℕ, HasCircuit p s ∧ (s : ℝ) ≤ C * (n : ℝ) ^ (5 / 3 : ℝ) :=
  RecordBounds.symmetric_five_bound F

/-- One constant covers all row-ordered permanents with at most five rows. -/
theorem permanentCircuits (F : Type*) [Field F] :
    ∃ C : ℝ, 0 < C ∧ ∀ k : ℕ, k ≤ 5 → ∀ n : ℕ, 1 ≤ n →
      ∃ s : ℕ, HasCircuit (Patterns.rectangularPermanent F k n) s ∧
        (s : ℝ) ≤ C * (n : ℝ) ^ (5 / 3 : ℝ) :=
  RecordBounds.permanent_five_bound F

/-- The signed finite identity on every action state within the energy cutoff. -/
theorem signedFiniteIdentity (R : Type*) [CommRing R] (L E W : ℕ)
    (ξ η : FiniteIdentity.State R L) (hW : 0 < W)
    (hξ : ∀ A, ξ A ≠ 0 → doubledEnergy A.val ≤ W ∧
      doubledEnergy A.val % 2 = W % 2)
    (hη : ∀ B, η B ≠ 0 → doubledEnergy B.val = W)
    (hcut : 2 * E + W ≤ 2 * L) (I J : FiniteIdentity.Index L)
    (hJ : doubledEnergy J.val ≤ 2 * E) :
    (∑ k : Fin W,
      ((CrossingCircuit.oppositeMode R L W k η *
          CrossingCircuit.markedMode R L W k ξ) I J -
        (FiniteIdentity.sigma W : R) *
          (CrossingCircuit.markedMode R L W k ξ *
            CrossingCircuit.oppositeMode R L W k η) I J)) =
      (if I = J then (1 : R) else 0) * FiniteIdentity.vacuumPairing R L ξ η :=
  FiniteIdentity.homogeneous_signed_identity R L E W ξ η hW hξ hη hcut I J hJ

/-- An integer coefficient decomposition of the crossing across its two cuts. -/
theorem integralCrossingDecomposition (H E n : ℕ) (hH : 0 < H)
    (hcapacity : 2 * H * n ≤ stateCount H - 1) :
    ∃ r ≤ 2 * H * stateCount (H + E),
      ∃ a b c d : Fin r → Fin n → Fin (stateCount E) → ℤ,
        ∀ (i k : Fin n) (j l : Fin (stateCount E)),
          (∑ s, (a s i j * b s k l + c s i l * d s k j)) =
            if i = k then (if j = l then 1 else 0) else 0 :=
  Families.integral_crossing_decomposition H E n hH hcapacity

/-- The crossing gives bilinear sum-of-squares identities over the complex numbers. -/
theorem hurwitzSquareRootBound (eps : ℝ) (heps : 0 < eps) :
    ∀ᶠ n : ℕ in Filter.atTop,
      ∃ (s : ℕ) (forms : Fin s → Fin n → Fin n → ℂ),
        (s : ℝ) ≤ (n : ℝ) ^ (Real.sqrt 2 + eps) ∧
        ∀ (x y : Fin n → ℂ),
          (∑ r, Hurwitz.bilinear (forms r) x y ^ 2) =
            (∑ i, x i ^ 2) * (∑ j, y j ^ 2) :=
  Hurwitz.eventually_sum_of_squares eps heps
Formal verification — ✅ all 6 formal results are kernel-checked
  • ✓ kernel-checked (Lean v4.35.0) Theorem 1 — Lemmata.FockCircuits.quarticCircuits (source)

  • ✓ kernel-checked (Lean v4.35.0) Corollary 1 — Lemmata.FockCircuits.quinticCircuits (source)

  • ✓ kernel-checked (Lean v4.35.0) Corollary 2 — Lemmata.FockCircuits.permanentCircuits (source)

  • ✓ kernel-checked (Lean v4.35.0) Theorem 2 — Lemmata.FockCircuits.signedFiniteIdentity (source)

  • ✓ kernel-checked (Lean v4.35.0) Lemma 1 — Lemmata.FockCircuits.integralCrossingDecomposition (source)

  • ✓ kernel-checked (Lean v4.35.0) Corollary 3 — Lemmata.FockCircuits.hurwitzSquareRootBound (source)

Checked at commit a20ff2d299b3. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.

Lean quarticCircuits · ✅ kernel-checked · source

Statement in Lean
/-- The positional quartic crossing has a subquadratic circuit over every field. -/
theorem quarticCircuits (F : Type*) [Field F] :
    ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n →
      ∃ s : ℕ, HasCircuit (Positional.quartic F n) s ∧
        (s : ℝ) ≤ C * (n : ℝ) ^ (5 / 3 : ℝ)

Lean quinticCircuits · ✅ kernel-checked · source

Statement in Lean
/-- The construction extends the uniform bound to degree at most five. -/
theorem quinticCircuits (F : Type*) [Field F] :
    ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n → ∀ p : FreeAlgebra F (Fin n),
      Symmetric.IsSymmetric p → Symmetric.DegreeLE 5 p →
        ∃ s : ℕ, HasCircuit p s ∧ (s : ℝ) ≤ C * (n : ℝ) ^ (5 / 3 : ℝ)

Lean permanentCircuits · ✅ kernel-checked · source

Statement in Lean
/-- One constant covers all row-ordered permanents with at most five rows. -/
theorem permanentCircuits (F : Type*) [Field F] :
    ∃ C : ℝ, 0 < C ∧ ∀ k : ℕ, k ≤ 5 → ∀ n : ℕ, 1 ≤ n →
      ∃ s : ℕ, HasCircuit (Patterns.rectangularPermanent F k n) s ∧
        (s : ℝ) ≤ C * (n : ℝ) ^ (5 / 3 : ℝ)

Lean signedFiniteIdentity · ✅ kernel-checked · source

Statement in Lean
/-- The signed finite identity on every action state within the energy cutoff. -/
theorem signedFiniteIdentity (R : Type*) [CommRing R] (L E W : ℕ)
    (ξ η : FiniteIdentity.State R L) (hW : 0 < W)
    (hξ : ∀ A, ξ A ≠ 0 → doubledEnergy A.val ≤ W ∧
      doubledEnergy A.val % 2 = W % 2)
    (hη : ∀ B, η B ≠ 0 → doubledEnergy B.val = W)
    (hcut : 2 * E + W ≤ 2 * L) (I J : FiniteIdentity.Index L)
    (hJ : doubledEnergy J.val ≤ 2 * E) :
    (∑ k : Fin W,
      ((CrossingCircuit.oppositeMode R L W k η *
          CrossingCircuit.markedMode R L W k ξ) I J -
        (FiniteIdentity.sigma W : R) *
          (CrossingCircuit.markedMode R L W k ξ *
            CrossingCircuit.oppositeMode R L W k η) I J)) =
      (if I = J then (1 : R) else 0) * FiniteIdentity.vacuumPairing R L ξ η

Lean integralCrossingDecomposition · ✅ kernel-checked · source

Statement in Lean
/-- An integer coefficient decomposition of the crossing across its two cuts. -/
theorem integralCrossingDecomposition (H E n : ℕ) (hH : 0 < H)
    (hcapacity : 2 * H * n ≤ stateCount H - 1) :
    ∃ r ≤ 2 * H * stateCount (H + E),
      ∃ a b c d : Fin r → Fin n → Fin (stateCount E) → ℤ,
        ∀ (i k : Fin n) (j l : Fin (stateCount E)),
          (∑ s, (a s i j * b s k l + c s i l * d s k j)) =
            if i = k then (if j = l then 1 else 0) else 0

Lean hurwitzSquareRootBound · ✅ kernel-checked · source

Statement in Lean
/-- The crossing gives bilinear sum-of-squares identities over the complex numbers. -/
theorem hurwitzSquareRootBound (eps : ℝ) (heps : 0 < eps) :
    ∀ᶠ n : ℕ in Filter.atTop,
      ∃ (s : ℕ) (forms : Fin s → Fin n → Fin n → ℂ),
        (s : ℝ) ≤ (n : ℝ) ^ (Real.sqrt 2 + eps) ∧
        ∀ (x y : Fin n → ℂ),
          (∑ r, Hurwitz.bilinear (forms r) x y ^ 2) =
            (∑ i, x i ^ 2) * (∑ j, y j ^ 2)

AI use. The Lean formalization was developed with OpenAI Codex.

License: CC BY 4.0

Comments.

References
  1. Hrubeš, P., Wigderson, A., & Yehudayoff, A. (2011). Non-commutative circuits and the sum-of-squares problem. Journal of the American Mathematical Society, 24(3), 871–898. 10.1090/S0894-0347-2011-00694-2
  2. Hrubeš, P. (2026). A Subquadratic Upper Bound on Hurwitz’s Problem and Related Noncommutative Polynomials. SIAM Journal on Computing, 55(2), 451–467. 10.1137/24M1666884
  3. OpenAI. (2026). The Exponential Time Hypothesis is False. https://github.com/openai/math/blob/main/preprints/The-Exponential-Time-Hypothesis-is-False-October-25-2026/paper.pdf
  4. Anthropic. (2026). A 2o(n) Time Algorithm for 3-SAT. https://github.com/anthropics/formal-math/blob/main/eth/paper.pdf
  5. OpenAI. (2026). An Upper Bound of 9/4 for the Matrix Multiplication Exponent. https://github.com/openai/math/blob/main/preprints/Matrix-Multiplication-Nine-Fourths-October-2-2026/paper.pdf
  6. Uznański, P. (2026). Rectangular matrix multiplication from polynomial products. 10.48550/arXiv.2610.10494
  7. Lü, H. (2026). Polynomial Separation of a Shared Tensor Leg and Matrix Multiplication in Arbitrary Characteristic. 10.48550/arXiv.2610.18914
  8. Amanov, A., van den Berg, M., & Zuiddam, J. (2026). Multiplying matrices via polynomials: exposition and barriers. 10.48550/arXiv.2610.30054
  9. Brand, C., Curticapean, R., Kaski, P., Li, B., Orzel, I., Seppelt, T., & Wang, J. (2026). Beyond Bilinear Complexity: What Works and What Breaks with Many Modes? Computational Complexity Conference (CCC 2026), 383. 10.4230/LIPIcs.CCC.2026.11
  10. Chatterjee, P., & Hrubeš, P. (2023). New Lower Bounds Against Homogeneous Non-Commutative Circuits. 38th Computational Complexity Conference (CCC 2023), 264, 13:1-13:10. 10.4230/LIPIcs.CCC.2023.13
  11. Kac, V. G., & Wang, W. (1993). Vertex Operator Superalgebras and Their Representations. 10.48550/arXiv.hep-th/9312065
  12. Rossman, B., & Zhu, D. (2026). Multi-Quadratic Sum-of-Squares Lower Bounds Imply VNC1 \ne VNP. 17th Innovations in Theoretical Computer Science Conference (ITCS 2026), 362, 113:1-113:22. 10.4230/LIPIcs.ITCS.2026.113
  13. Strassen, V. (1969). Gaussian elimination is not optimal. Numerische Mathematik, 13(4), 354–356. 10.1007/BF02165411
  14. Zhang, C., & Zhu, H. (2026). The Hurwitz Sum-of-Squares Problem Depends on the Base Field. 10.48550/arXiv.2605.00590