Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Ben Green's Open Problem 37

Source:Ben Green's 100 open problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Given a natural number N, what is the smallest size of a subset of ℕ that contains, for each d = 1, …, N, an arithmetic progression of length k with common difference d.

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question
Cite as:NS.04073 [math.CO] · NS.04073v1 for this version
Declaration:Green37.green_37
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:e1c00591fae8d2aaf70fa5e18289f9af69a0524d4a9b63a19c68dc8953223e9f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/GreensOpenProblems/37.lean

Formal statement

theorem green_37 (N k : ℕ) :
    IsLeast { m | ∃ A : Finset ℕ, A.card = m ∧ IsAPCover (A : Set ℕ) N k }
      (green_37.answer N k)
Show the full Challenge.lean (107 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Ben Green's Open Problem 37

What is the smallest subset of `ℕ` containing, for each `d = 1, …, N`,
an arithmetic progression of length `k` with common difference `d`?

*References:*
- [Ben Green's Open Problem 37](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.37)
- [Green & Tao, *The primes contain arbitrarily long arithmetic progressions* (arXiv:math/0404188)](https://arxiv.org/abs/math/0404188)
-/

@[expose] public section

namespace Green37

open Set Filter
open scoped Asymptotics

/-- `A` contains an arithmetic progression of length `k` and common difference `d` for every `d ∈ {1, …, N}`. -/
def IsAPCover (A : Set ℕ) (N k : ℕ) : Prop := ∀ d, 1 ≤ d ∧ d ≤ N → Set.ContainsAP A k d

/-- The minimum size of a subset of `ℕ` that contains, for each `d = 1, …, N`,
an arithmetic progression of length `k` with common difference `d`. -/
noncomputable def m (N k : ℕ) : ℕ :=
  sInf { m | ∃ A : Finset ℕ, A.card = m ∧ IsAPCover (A : Set ℕ) N k }

def green_37.answer : ℕ → ℕ → ℕ := sorry

/--
Given a natural number `N`, what is the smallest size of a subset of `ℕ` that contains, for each `d = 1, …, N`,
an arithmetic progression of length `k` with common difference `d`.
-/
@[category research open, question value, AMS 5 11]
theorem green_37 (N k : ℕ) :
    IsLeast { m | ∃ A : Finset ℕ, A.card = m ∧ IsAPCover (A : Set ℕ) N k }
      (green_37.answer N k) := by
  sorry

def green_37_asymptotic.answer : ℕ → ℕ → ℝ := sorry

/--
Asymptotic version: determine the asymptotic behavior of `m(N, k)` as `N` grows.
The solver should determine a function `f : ℕ → ℕ → ℝ` such that, for each `k`,
`f k` eventually equals `(fun N ↦ (m N k : ℝ))`.
-/
@[category research open, question value, AMS 5 11]
theorem green_37_asymptotic (k : ℕ) :
    ∀ᶠ N in atTop, (m N k : ℝ) = green_37_asymptotic.answer k N := by
  sorry

def green_37_theta.answer : ℕ → ℕ → ℝ := sorry

/-- Determine, for each `k`, the asymptotic equivalence class (theta) of `m(N, k)` as `N` grows. -/
@[category research open, question value, AMS 5 11]
theorem green_37_theta (k : ℕ) :
    (fun N ↦ (m N k : ℝ)) =Θ[atTop] green_37_theta.answer k := by
  sorry

/-- The interval `{0, …, kN}` contains, for each `d = 1, …, N`, the arithmetic progression
`{0, d, …, (k - 1)d}`, so `m(N, k) ≤ kN + 1`. -/
@[category API, AMS 5 11]
theorem m_le_mul_add_one (N k : ℕ) : m N k ≤ k * N + 1 := by
  apply Nat.sInf_le
  refine ⟨Finset.range (k * N + 1), Finset.card_range _, ?_⟩
  intro d hd
  refine ⟨0, ((Finset.range k).image (fun i ↦ i * d) : Set ℕ), ?_, ?_, ?_⟩
  · intro x hx
    obtain ⟨i, hi, rfl⟩ := Finset.mem_image.mp hx
    simp only [Finset.mem_coe, Finset.mem_range] at hi ⊢
    exact Nat.lt_succ_of_le (Nat.mul_le_mul (Nat.le_of_lt hi) hd.2)
  · rw [ENat.card_coe_set_eq, Set.encard_coe_eq_coe_finsetCard,
      Finset.card_image_of_injective _
        (fun _ _ h ↦ Nat.eq_of_mul_eq_mul_right hd.1 h), Finset.card_range]
  · ext x; simp

/--
Writing `F_k(N)` for `m(N, k)`, Green conjectures that `F_k(N) ≫_k N^(1 - c_k)` for some
sequence `c_k` with `c_k → 0` as `k → ∞`.
The restriction to `0 < k` excludes the degenerate case `m(N, 0) = 0`.
-/
@[category research open, AMS 5 11]
theorem green_37_lower_bound :
    ∃ c : ℕ → ℝ, Tendsto c atTop (nhds 0) ∧
      ∀ k, 0 < k → (fun N : ℕ ↦ (N : ℝ) ^ (1 - c k)) =O[atTop] fun N ↦ (m N k : ℝ) := by
  sorry

end Green37

To prove it: keep every definition of Challenge.lean unchanged and prove Green37.green_37 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_green_37 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch green-37
nosorry submit green-37 nosorry/green-37/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.