OctoInform Beta

OpenAI preprint, September 2026 · §4. Trace moments for iterated matrix multiplication

§4 (setting): balanced layer schedule: Arranging kk nonadjacent derivative layers and k+sk + s multiplication layers with balanced block lengths

Balanced layer schedule for iterated matrix multiplication.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In the rank method for homogeneous depth-five lower bounds on the iterated matrix multiplication polynomial IMMn,n\mathrm{IMM}_{n,n}, the nn matrix layers along the product are partitioned into kk derivative layers VV and m=k+sm = k + s multiplication layers UU, so that n=2k+sn = 2k + s. Placing each VV layer before a block of one or two UU layers spreads the ss excess multiplication layers evenly across the kk blocks and keeps consecutive VV layers separated along the product.

The balanced schedule

For k=3k = 3 and s=1s = 1, the balanced chunk lengths are 11, 11, and 22, yielding the arrangement VUVUVU2V U V U V U^2.

For nonnegative integers kk, ss, and ii, the balanced chunk length ℓi(k,s)∈ℕ\ell_i(k, s) \in \mathbb{N} is defined by (1), ℓi(k,s)=1+⌊(i+1)sk⌋−⌊isk⌋,\ell_i(k, s) = 1 + \left\lfloor \frac{(i + 1)s}{k} \right\rfloor - \left\lfloor \frac{is}{k} \right\rfloor,(1)✦ with the convention ⌊a/0⌋=0\lfloor a / 0 \rfloor = 0 for every a∈ℕa \in \mathbb{N}.

For k,s∈ℕk, s \in \mathbb{N}, the balanced schedule prefix wr(k,s)w_r(k, s) is the finite word over {V,U}\{V, U\} defined recursively for r∈ℕr \in \mathbb{N} by setting w0(k,s)w_0(k, s) to be the empty word and concatenating blocks as in (2), wr+1(k,s)=wr(k,s)cr(k,s),w_{r+1}(k, s) = w_r(k, s)\, c_r(k, s),(2)✦ where cr(k,s)c_r(k, s) is the rr-th block. The balanced layer schedule is the word w(k,s)=wk(k,s)w(k, s) = w_k(k, s).✦

When k>0k > 0, the word w(k,s)w(k, s) has length 2k+s2k + s. For k>0k > 0 and s∈ℕs \in \mathbb{N}, the indexed balanced schedule σk,s:{0,…,2k+s−1}→{V,U}\sigma_{k,s} : \{0, \dots, 2k + s - 1\} \to \{V, U\} maps each index i∈{0,…,2k+s−1}i \in \{0, \dots, 2k + s - 1\} to the ii-th letter of w(k,s)w(k, s).✦ The set of VV layers IV(k,s)⊆{0,…,2k+s−1}I_V(k, s) \subseteq \{0, \dots, 2k + s - 1\} is given by (3): IV(k,s)={i∈{0,…,2k+s−1}:σk,s(i)=V}.I_V(k, s) = \{ i \in \{0, \dots, 2k + s - 1\} : \sigma_{k,s}(i) = V \}.(3)✦

For any n∈ℕn \in \mathbb{N} and any layer index i∈{0,…,n−1}i \in \{0, \dots, n - 1\}, the set of adjacent internal vertices En(i)⊆{0,…,n−2}E_n(i) \subseteq \{0, \dots, n - 2\} is defined by (4), En(i)={j∈ℕ:j<n−1 and (j=i or j+1=i)},E_n(i) = \{ j \in \mathbb{N} : j < n - 1 \text{ and } (j = i \text{ or } j + 1 = i) \},(4)✦ which is empty when n=1n = 1.

The claim

Definition. Let k,s∈ℕk, s \in \mathbb{N}. If s<ks < k, then for every i∈ℕi \in \mathbb{N}, the balanced chunk length satisfies ℓi(k,s)∈{1,2}.\ell_i(k, s) \in \{1, 2\}.(5)✦ If k>0k > 0, then the first kk balanced chunk lengths sum to k+sk + s: ∑j=0k−1ℓj(k,s)=k+s.\sum_{j=0}^{k-1} \ell_j(k, s) = k + s.(6)✦ For k>0k > 0, the set of UU layers IU(k,s)⊆{0,…,2k+s−1}I_U(k, s) \subseteq \{0, \dots, 2k + s - 1\} is defined by IU(k,s)={i∈{0,…,2k+s−1}:σk,s(i)=U}.I_U(k, s) = \{ i \in \{0, \dots, 2k + s - 1\} : \sigma_{k,s}(i) = U \}.(7)✦ Moreover, for k>0k > 0 and any two distinct VV layers i,j∈IV(k,s)i, j \in I_V(k, s), their sets of adjacent internal vertices are disjoint: E2k+s(i)∩E2k+s(j)=∅.E_{2k+s}(i) \cap E_{2k+s}(j) = \emptyset.(8)✦

What is checked

The Lean library states the definition (7) of IU(k,s)I_U(k, s) and the properties (5), (6), and (8) over the balanced chunk length ℓi(k,s)\ell_i(k, s), the balanced schedule prefix wr(k,s)w_r(k, s), the balanced layer schedule w(k,s)w(k, s), the indexed balanced schedule σk,s\sigma_{k,s}, the VV-layer set IV(k,s)I_V(k, s), and the adjacent internal vertex set En(i)E_n(i), for arbitrary k,s∈ℕk, s \in \mathbb{N} under the hypotheses s<ks < k for (5) and k>0k > 0 for (6), (7), and (8).