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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Green's Open Problem 24

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:

If AA is a set of nn integers, what is the maximum number of affine translates of the set {0,1,3}\lbrace 0,1,3 \rbrace that AA can contain?

Conjectured in [Aa19] p.579: (13+o(1))n2\left(\frac{1}{3} + o(1)\right) n^2.

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

Formal statement

theorem green_24 : ∀ n, max013AffineTranslates n = green_24.answer n
Show the full Challenge.lean (98 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Green's Open Problem 24

References:
- [Green, Ben. "100 open problems." (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.24)
- [Aa19] Aaronson, James. "Maximising the number of solutions to a linear equation in a set of integers."
  Bulletin of the London Mathematical Society 51.4 (2019): 577-594.
- [HaL28] Hardy, G. H., and J. E. Littlewood. "Notes on the theory of series (VIII): an inequality."
  Journal of the London Mathematical Society 1.2 (1928): 105-110.
-/

@[expose] public section

open Filter

namespace Green24

/--
The maximum number of $\lbrace 0,1,3 \rbrace$ affine translates that a set of size $n$ can
contain.
-/
noncomputable def max013AffineTranslates (n : ℕ) : ℕ :=
  sSup { k |
    ∃ A : Finset ℤ,
      A.card = n ∧
      -- Iterate over (x,y) = (a, a + d) in A × A (x ≠ y), and check if a + 3d = x + 3(y - x) ∈ A
      k = ((A ×ˢ A).filter (fun (x, y) ↦ x ≠ y ∧ x + 3 * (y - x) ∈ A)).card
  }

def green_24.answer : ℕ → ℕ := sorry

/--
If $A$ is a set of $n$ integers, what is the maximum number of affine translates of the set
$\lbrace 0,1,3 \rbrace$ that $A$ can contain?

Conjectured in [Aa19] p.579: $\left(\frac{1}{3} + o(1)\right) n^2$.
-/
@[category research open, question value, AMS 5 11]
theorem green_24 : ∀ n, max013AffineTranslates n = green_24.answer n := by
  sorry

/-  A collection of associated bounds and conjectured values. -/

namespace variants


/-- From [Aa19] p.577: the trivial upper bound is $n^2$ (non asymptotic). -/
@[category research solved, AMS 5 11]
theorem upper_trivial {n : ℕ} : max013AffineTranslates n ≤ n ^ 2 := by
  apply csSup_le
  · exact ⟨_, ⟨(Finset.range n).image Int.ofNat, by
      rw [Finset.card_image_of_injective _ Int.ofNat_injective, Finset.card_range], rfl⟩⟩
  · rintro k ⟨A, hA, rfl⟩
    apply le_trans (Finset.card_filter_le _ _)
    rw [Finset.card_product, hA, pow_two]

/-- The asymptotic constant $\gamma$ defined in [Aa19] p.579. -/
noncomputable def gamma : ℝ :=
  limsup (fun n : ℕ => (max013AffineTranslates n : ℝ) / ((n : ℝ)^2)) atTop

/-- Asymptotic upper bound (1.2) in [Aa19]. Named after Hardy and Littlewood [HaL28]. -/
@[category research solved, AMS 5 11]
theorem upper_HL : gamma ≤ 3/4 := by
  sorry

/-- Asymptotic lower bound (1.2) in [Aa19]. Named after Hardy and Littlewood [HaL28]. -/
@[category research solved, AMS 5 11]
theorem lower_HL : gamma ≥ 1/12 := by
  sorry

/-- Conjecture p.579 in [Aa19]: $\left(\frac{1}{3} + o(1)\right) n^2$. -/
@[category research open, AMS 5 11]
theorem conjecture : gamma = 1/3 := by
  sorry

end variants

end Green24

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

nosorry fetch green-24
nosorry submit green-24 nosorry/green-24/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.