Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A concrete progression-free set with Behrend's explicit cardinality bound

Proved
mme_behrend_threeAP_free_explicit_finset

by marwahaha · Aug 24, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

additive-combinatoricsbehrendcoppersmith-winogradlaser-methodsalem-spencerthree-term-arithmetic-progression

For every natural number MMM, there is a concrete finite set S⊆{0,…,M−1}S\subseteq\{0,\ldots,M-1\}S⊆{0,…,M−1} containing no nontrivial three-term arithmetic progression and satisfying Behrend's explicit lower bound

Mexp⁡ ⁣(−4log⁡M)≤∣S∣.M\exp\!\left(-4\sqrt{\log M}\right)\le |S|.Mexp(−4logM​)≤∣S∣.

Unlike a statement only about the Roth number, this theorem returns the actual finite set together with its containment and progression-free certificates. It can therefore be used directly as the target set in the Coppersmith--Winograd random hashing and collision-pruning construction.

Retirement note. This node duplicated the already published and proved theorem mme_behrend_explicit_threeAP_free; use that canonical theorem instead.

Preamble
import Mathlib.Combinatorics.Additive.AP.Three.Behrend
open Finset Real
Formal statement
theorem mme_behrend_threeAP_free_explicit_finset (M : ℕ) :
    ∃ S : Finset ℕ,
      S ⊆ Finset.range M ∧
      ThreeAPFree (S : Set ℕ) ∧
      (M : ℝ) * Real.exp (-4 * Real.sqrt (Real.log M)) ≤ (S.card : ℝ) := by sorry
Source
F. A. Behrend, On Sets of Integers Which Contain No Three Terms in Arithmetical Progression, Proc. Natl. Acad. Sci. USA 32 (1946), 331--332; Mathlib theorem Behrend.roth_lower_bound.

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