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 16 · green_16_upper_bound

Source:Ben Green's 100 open problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

From [Schoen and Sisask] f(N)≪N⋅e−c(log⁡N)1/7f(N) \ll N \cdot e^{-c(\log N)^{1/7}}.

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

Formal statement

theorem green_16_upper_bound :
    ∃ c > (0 : ℝ), (fun N ↦ (f N : ℝ)) ≪ fun N ↦ (N : ℝ) * exp (-c * (log N) ^ (1 / 7 : ℝ))
Show the full Challenge.lean (92 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Ben Green's Open Problem 16

*References:*
* [Ben Green's Open Problem 16](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.16)
* [Ruzsa](I. Z. Ruzsa, Solving a linear equation in a set of integers. I. Acta Arith. 65 (1993), no. 3, 259–282.)
* [Schoen and Sisask](T. Schoen and O. Sisask, Roth’s theorem for four variables and additive structures in sums of sparse sets Forum of Mathematics, Sigma (2016), Vol. 4, e5, 28 pages.)
* [Yufei Zhao](Via Personal Communication with Ben Green)
-/

@[expose] public section

open Finset Real Filter Topology

namespace Green16

/-- A set has no solution to $x + 3y = 2z + 2w$ in distinct elements. -/
def SolutionFree (A : Finset ℕ) : Prop :=
  ∀ x ∈ A, ∀ y ∈ A, ∀ z ∈ A, ∀ w ∈ A,
    [x, y, z, w].Nodup →
    x + 3 * y ≠ 2 * z + 2 * w

/-- The maximum size of a solution-free subset of $[N]$. -/
noncomputable def f (N : ℕ) : ℕ :=
  sSup {k : ℕ | ∃ A : Finset ℕ, A ⊆ Icc 1 N ∧ SolutionFree A ∧ A.card = k}

def green_16.answer : ℕ → ℕ := sorry

/-- What is the largest subset of $[N]$ with no solution to $x + 3y = 2z + 2w$ in distinct integers $x, y, z, w$? -/
@[category research open, question value, AMS 5 11]
theorem green_16 (N : ℕ) :
    ∃ A : Finset ℕ, A ⊆ Icc 1 N ∧ SolutionFree A ∧
      A.card = green_16.answer N ∧
      MaximalFor (fun B => B ⊆ Icc 1 N ∧ SolutionFree B) Finset.card A := by
  sorry

/-- From [Ruzsa] $f(N) \gg N^{1/2}$. -/
@[category research solved, AMS 5 11]
theorem green_16_lower_bound :
    (fun N ↦ (N : ℝ) ^ (1 / 2 : ℝ)) ≪ fun N ↦ (f N : ℝ) := by
  sorry

/-- From [Schoen and Sisask] $f(N) \ll N \cdot e^{-c(\log N)^{1/7}}$. -/
@[category research solved, AMS 5 11]
theorem green_16_upper_bound :
    ∃ c > (0 : ℝ), (fun N ↦ (f N : ℝ)) ≪ fun N ↦ (N : ℝ) * exp (-c * (log N) ^ (1 / 7 : ℝ)) := by
  sorry

/-- A solution $(x, y, z, x', y', z')$ of $x + 2y + 3z = x' + 2y' + 3z'$ is *trivial* if for every
value $a$ the coefficients of the variables equal to $a$ have the same sum on both sides. -/
def IsTrivialZhaoSolution (x y z x' y' z' : ℕ) : Prop :=
  ∀ a : ℕ, (if x = a then 1 else 0) + (if y = a then 2 else 0) + (if z = a then 3 else 0) =
    (if x' = a then 1 else 0) + (if y' = a then 2 else 0) + (if z' = a then 3 else 0)

/-- A set has no nontrivial solution to $x + 2y + 3z = x' + 2y' + 3z'$. -/
def ZhaoSolutionFree (A : Finset ℕ) : Prop :=
  ∀ x ∈ A, ∀ y ∈ A, ∀ z ∈ A, ∀ x' ∈ A, ∀ y' ∈ A, ∀ z' ∈ A,
    x + 2 * y + 3 * z = x' + 2 * y' + 3 * z' → IsTrivialZhaoSolution x y z x' y' z'

/-- The maximum size of a Zhao-solution-free subset of $[N]$. -/
noncomputable def g (N : ℕ) : ℕ :=
  sSup {k : ℕ | ∃ A : Finset ℕ, A ⊆ Icc 1 N ∧ ZhaoSolutionFree A ∧ A.card = k}

/-- From [Yufei Zhao]: Is there a subset of $\{1, \ldots, N\}$ of size
$N^{1/3 - o(1)}$ with no nontrivial solutions to $x + 2y + 3z = x' + 2y' + 3z'$? -/
@[category research open, question, AMS 5 11]
theorem zhao_question :
    ∃ h : ℕ → ℝ, Tendsto h atTop (𝓝 0) ∧
      ∀ᶠ N in atTop, (g N : ℝ) ≥ (N : ℝ) ^ (1 / 3 - h N) := by
  sorry

end Green16

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

nosorry desk green-16--green-16-upper-bound      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch green-16--green-16-upper-bound
nosorry submit green-16--green-16-upper-bound nosorry/green-16--green-16-upper-bound/Solution.lean --wait

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.