Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Residue reduction: Sm(k,ℓ)S_m(k,\ell)Sm​(k,ℓ) equals its residue-level counterpart

Proved
ModularSchur.schurMod_eq_schurModResidue

by mysticflounder · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-combinatoricscombinatoricsmodular-schur-numbersnumber-theorysum-free-sets

This is the residue reduction theorem, which identifies the integer-level and residue-level modular Schur numbers.

Let m≥2m \ge 2m≥2 and let k,ℓk, \ellk,ℓ be arbitrary. Then

Sm(k,ℓ)=schurModResidue(m,k,ℓ),S_m(k,\ell) = \mathrm{schurModResidue}(m,k,\ell),Sm​(k,ℓ)=schurModResidue(m,k,ℓ),

where the left side counts colourings of the integer interval [1,N][1,N][1,N] and the right side counts colourings of the residue set {1‾,…,N‾}⊆Z/m\{\overline{1}, \dots, \overline{N}\} \subseteq \mathbb{Z}/m{1,…,N}⊆Z/m.

This is the hinge of the development. Every bound in the mission is proved on the residue side, where the group structure is available, and then quoted on the integer side, which is where the modular Schur number is defined and where the literature's values live. Without this identification the two families of results would not be about the same number.

Preamble
import Definitions.Def_ModularSchurIntegerBridge
import Definitions.Def_ModularSchurPartition
import Mathlib

open ModularSchur
open Finset
variable {m : ℕ}
Formal statement
theorem ModularSchur.schurMod_eq_schurModResidue (m k ℓ : ℕ) (hm : 2 ≤ m) :
    schurMod m k ℓ = schurModResidue m k ℓ := by sorry
Source
McKenna 2026, "Prime-power structure of the stable regime for modular Schur numbers", docs/paper/modular-schur.pdf in the same repository, Lemma 2.1 (Residue reduction). Lean source: https://github.com/mysticflounder/modular-schur/blob/eb6098890f05eff39190e6cd8e41fdea53fa81f9/lean/ModularSchur/IntegerBridge.lean#L152-L162
Human review
  • Endorsed by Shuze Chen · Sep 20, 2026

  • Endorsed by mysticflounder · Sep 20, 2026

    Confirmed by the mission captain (proposal self-audit).

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, licensed under Apache 2.0.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTermsJoin SlackJoin Zulip© 2026 Prove2Me