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 46

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:

We conjecture that the best-known lower bound can be improved.

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

Formal statement

theorem green_46.improve_lower :
    (bestLower =o[atTop] green_46.improve_lower.answer) ∧ (green_46.improve_lower.answer ≪ maxY)
Show the full Challenge.lean (110 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Ben Green's Open Problem 46

What is the largest $y$ for which one may cover the interval $[y]$ by residue classes $a_p \pmod{p}$, one for each prime $p \leq x$?

*References:*
- [Gr24] [Ben Green's Open Problem 46](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.46)
- [FGK18] Ford, K., Green, B., Konyagin, S., Maynard, J., & Tao, T. (2018). Long gaps between primes.
  Journal of the American Mathematical Society, 31(1), 65-105.
- [Iw78] Iwaniec, Henryk. "On the problem of Jacobsthal." Demonstratio Mathematica 11.1 (1978): 225-232.
- [OAI26a] OpenAI, *A quadratic bound for Jacobsthal's function*. OpenAI Math Release preprint
  (2026).
  https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-quadratic-bound-for-Jacobsthals-function-September-25-2026/paper.pdf
- [Ra38] Rankin, R. A., *The difference between consecutive prime numbers*. J. London Math. Soc.
  (1938), 242--247.

This is the same problem as Erdős Problem 687.
-/

@[expose] public section

namespace Green46

open Filter
open scoped Asymptotics

/-- Given $x$ and $y$, can we cover the interval $[1, y]$ by residue classes $a_p \pmod p$
for each prime $p \le x$? -/
def IsCoveredByResidues (x y : ℕ) : Prop :=
  ∃ a : ℕ → ℕ, ∀ m ∈ Finset.Icc 1 y, ∃ p ≤ x, p.Prime ∧ m ≡ a p [MOD p]

/-- The maximum $y$ for a given $x$, cast to a real number for asymptotics. -/
noncomputable def maxY (x : ℕ) : ℝ :=
  ((sSup { y | IsCoveredByResidues x y } : ℕ) : ℝ)

/-- Best-known lower bound [FGK18], improving on [Ra38]. -/
noncomputable def bestLower (x : ℕ) : ℝ :=
  (x : ℝ) * Real.log (x : ℝ) * Real.log (Real.log (Real.log (x : ℝ))) / Real.log (Real.log (x : ℝ))

/-- Best-known upper bound [Iw78]. -/
noncomputable def bestUpper (x : ℕ) : ℝ := (x : ℝ) ^ 2

def green_46.improve_lower.answer : ℕ → ℝ := sorry

/-- We conjecture that the best-known lower bound can be improved. -/
@[category research open, question value, AMS 11]
theorem green_46.improve_lower :
    (bestLower =o[atTop] green_46.improve_lower.answer) ∧ (green_46.improve_lower.answer ≪ maxY)
      := by
  sorry

noncomputable def green_46.improve_upper.answer : ℕ → ℝ :=
  fun x : ℕ ↦ ((x : ℝ) + 1) ^ 2 / (Real.log (Real.log (3 * ((x : ℝ) + 1)))) ^ 2

set_option linter.style.formal_proof_palomar false in
/-- We conjecture that the best-known upper bound can be improved.

Yes. OpenAI [OAI26a] proved $h(k) \ll k^2 / (\log\log 3k)^2$ for Jacobsthal's function $h$
(Erdős Problem 970). By the Chinese remainder theorem $\mathrm{maxY}(x) < h(\pi(x))$, which gives
$\mathrm{maxY}(x) \ll (x+1)^2 / (\log\log 3(x+1))^2 = o(x^2)$. Whether $y \ll x^{1+o(1)}$ remains
open, see `green_46.improve_upper_conjectured`. -/
@[category research solved, question value, AMS 11, formal_proof using lean4 at
  "https://github.com/30k30/scholia/blob/b072c89c3edac06521868e32cc15b2bc91bd8533/erdos-687/glue/JacobsthalTo687.lean#L319"]
theorem green_46.improve_upper :
    (green_46.improve_upper.answer =o[atTop] bestUpper) ∧ (maxY ≪ green_46.improve_upper.answer)
      := by
  sorry

/-- It seems very likely that we must have $y \ll x^{1+o(1)}$ [Gr24]. -/
@[category research open, AMS 11]
theorem green_46.improve_upper_conjectured :
    ∃ o : ℕ → ℝ, (o =o[atTop] fun _ : ℕ ↦ (1 : ℝ)) ∧
      maxY ≪ fun x ↦ (x : ℝ) ^ (1 + o x) := by
  sorry

/-- Best known lower bound: $y \gg x \frac{\log x \log \log \log x}{\log \log x}$ [FGK18]. -/
@[category research solved, AMS 11]
theorem green_46.variants.lower :
    bestLower ≪ maxY := by
  sorry

/-- Best known upper bound: $y \ll x^2$ [Iw78]. -/
@[category research solved, AMS 11]
theorem green_46.variants.upper :
    maxY ≪ bestUpper := by
  sorry

-- TODO(jeangud) Add similar problem mentioned in [Gr24, Problem 46]

end Green46

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

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