Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Signed occurrence moment bound on the non-inductive ranges

Proved
OAI.SignedSweeps.signed_occurrence_moment_bound_proved_ranges

by wurtle · Nov 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

representation-theorysigned-sweepsthorp-shuffle

This records the ranges of representations in which the moment bound of the signed sweep needs no induction: finitely many sizes, sparse levels, level one, and shapes with too many rows.

Let n=2dn=2^dn=2d with d≥1d\ge 1d≥1, identify {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} with binary strings of length ddd, and for a partition λ⊢n\lambda\vdash nλ⊢n let SλS^\lambdaSλ be the Specht module, Dλ=dim⁡SλD_\lambda=\dim S^\lambdaDλ​=dimSλ. Write Πi\Pi_iΠi​ for the average over the permutations preserving every binary coordinate except the iii-th, TλT_\lambdaTλ​ for the product of the Πi\Pi_iΠi​ in reverse coordinate order, and

Jr(λ)=Dλ Re⁡Tr⁡Sλ((Tλ∗Tλ)r).J_r(\lambda)=D_\lambda\,\operatorname{Re}\operatorname{Tr}_{S^\lambda}\big((T_\lambda^*T_\lambda)^r\big).Jr​(λ)=Dλ​ReTrSλ​((Tλ∗​Tλ​)r).

For u+v+l=nu+v+l=nu+v+l=n and α⊢u\alpha\vdash uα⊢u, β⊢v\beta\vdash vβ⊢v, γ⊢l\gamma\vdash lγ⊢l, a signed occurrence is an injective map Sα⊗Sβt⊗Sγ→SλS^\alpha\otimes S^{\beta^t}\otimes S^\gamma\to S^\lambdaSα⊗Sβt⊗Sγ→Sλ intertwining Su×Sv×SlS_u\times S_v\times S_lSu​×Sv​×Sl​. Put

F(α,β)=∑a∈αalog⁡u+va+∑b∈βblog⁡u+vb,ca(d)=a(1−12d),F(\alpha,\beta)=\sum_{a\in\alpha}a\log\frac{u+v}{a}+\sum_{b\in\beta}b\log\frac{u+v}{b},\qquad c_a(d)=a\Big(1-\frac1{2\sqrt d}\Big),F(α,β)=a∈α∑​alogau+v​+b∈β∑​blogbu+v​,ca​(d)=a(1−2d​1​), gκ(d,l)=max⁡{0, cκ(d) llog⁡n−llog⁡(n/l)}(l>0),gκ(d,0)=0.g_\kappa(d,l)=\max\{0,\ c_\kappa(d)\,l\log n-l\log(n/l)\}\quad(l>0),\qquad g_\kappa(d,0)=0.gκ​(d,l)=max{0, cκ​(d)llogn−llog(n/l)}(l>0),gκ​(d,0)=0.

Let D∈ND\in\mathbb{N}D∈N, δ>0\delta>0δ>0, η≥0\eta\ge0η≥0 and κ∈R\kappa\in\mathbb{R}κ∈R. Then there is r0≥1r_0\ge1r0​≥1 such that for all r≥r0r\ge r_0r≥r0​, all d≥1d\ge1d≥1, and all λ⊢n=2d\lambda\vdash n=2^dλ⊢n=2d satisfying at least one of

  • d≤Dd\le Dd≤D,
  • n−λ1≤n1−δn-\lambda_1\le n^{1-\delta}n−λ1​≤n1−δ,
  • n−λ1=1n-\lambda_1=1n−λ1​=1,
  • λ\lambdaλ has more than n/2n/2n/2 rows,

every signed occurrence of (α,β,γ)(\alpha,\beta,\gamma)(α,β,γ) in λ\lambdaλ satisfies

log⁡Jr(λ)≤cη(d) F(α,β)+gκ(d,l).\log J_r(\lambda)\le c_\eta(d)\,F(\alpha,\beta)+g_\kappa(d,l).logJr​(λ)≤cη​(d)F(α,β)+gκ​(d,l).

In fact the proof gives Jr(λ)≤1J_r(\lambda)\le1Jr​(λ)≤1 in each of these ranges, and the right side is nonnegative.

Here the sum in FFF runs over all parts of α\alphaα and all parts of β\betaβ, counted with multiplicity. The logarithm of 000 is −∞-\infty−∞, which is the relevant case when Jr(λ)=0J_r(\lambda)=0Jr​(λ)=0.

Formalization Note The upstream statement is reproduced verbatim from ProvedRanges.lean. Here κ\kappaκ is an arbitrary real, for which the Lean definition of gκg_\kappagκ​ is still nonnegative.

Preamble
import Mathlib
import Definitions.Def_SignedSweepMoment
import Definitions.Def_OAISignedSweepsProofDefs
import Definitions.Def_OAISignedSweepsProofDefs2

namespace OAI

noncomputable section
namespace SignedSweeps
open scoped BigOperators TensorProduct
open Module
open scoped BigOperators
Formal statement
theorem signed_occurrence_moment_bound_proved_ranges (D : ℕ) {δ η : ℝ}
    (hδ : 0 < δ) (hη : 0 ≤ η) (κ : ℝ) :
    ∃ r₀ : ℕ, 1 ≤ r₀ ∧ ∀ r ≥ r₀, ∀ d : ℕ, 1 ≤ d →
      ∀ lam : Partition (2 ^ d),
        (d ≤ D ∨
          ((2 ^ d - lam.1.rowLen 0 : ℕ) : ℝ) ≤ ((2 ^ d : ℕ) : ℝ) ^ (1 - δ) ∨
          2 ^ d - lam.1.rowLen 0 = 1 ∨
          2 ^ d / 2 < lam.1.colLen 0) →
        ∀ (u v l : ℕ) (h : u + v + l = 2 ^ d)
          (α : Partition u) (β : Partition v) (γ : Partition l),
          SignedOccurrence h α β γ lam →
          logMoment (weightedMoment lam r) ≤
            ((coefficient η d * signedEntropy α β + remainderBudget κ d l : ℝ) : EReal) := by sorry

end SignedSweeps
end
end OAI
Source
OpenAI, "Signed tensor densities and diagram budgets for the Thorp shuffle" (September 26, 2026), openai/math preprints/Signed-tensor-densities-and-diagram-budgets-for-coordinate-sweeps-September-26-2026/paper.pdf, Sections 4.1 and 4.2, eq. (17), and Lemma 2.2. Lean: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Probability/SignedSweeps/ProvedRanges.lean#L34-L59

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me