{
  "id": "4130",
  "ident": "NS.04130",
  "slug": "green-46",
  "title": "Ben Green's Open Problem 46",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "We conjecture that the best-known lower bound can be improved.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green46.green_46.improve_lower",
  "statement_lean": "theorem green_46.improve_lower :\n    (bestLower =o[atTop] green_46.improve_lower.answer) ∧ (green_46.improve_lower.answer ≪ maxY)",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Ben Green's Open Problem 46\n\nWhat 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$?\n\n*References:*\n- [Gr24] [Ben Green's Open Problem 46](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.46)\n- [FGK18] Ford, K., Green, B., Konyagin, S., Maynard, J., & Tao, T. (2018). Long gaps between primes.\n  Journal of the American Mathematical Society, 31(1), 65-105.\n- [Iw78] Iwaniec, Henryk. \"On the problem of Jacobsthal.\" Demonstratio Mathematica 11.1 (1978): 225-232.\n- [OAI26a] OpenAI, *A quadratic bound for Jacobsthal's function*. OpenAI Math Release preprint\n  (2026).\n  https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-quadratic-bound-for-Jacobsthals-function-September-25-2026/paper.pdf\n- [Ra38] Rankin, R. A., *The difference between consecutive prime numbers*. J. London Math. Soc.\n  (1938), 242--247.\n\nThis is the same problem as Erdős Problem 687.\n-/\n\n@[expose] public section\n\nnamespace Green46\n\nopen Filter\nopen scoped Asymptotics\n\n/-- Given $x$ and $y$, can we cover the interval $[1, y]$ by residue classes $a_p \\pmod p$\nfor each prime $p \\le x$? -/\ndef IsCoveredByResidues (x y : ℕ) : Prop :=\n  ∃ a : ℕ → ℕ, ∀ m ∈ Finset.Icc 1 y, ∃ p ≤ x, p.Prime ∧ m ≡ a p [MOD p]\n\n/-- The maximum $y$ for a given $x$, cast to a real number for asymptotics. -/\nnoncomputable def maxY (x : ℕ) : ℝ :=\n  ((sSup { y | IsCoveredByResidues x y } : ℕ) : ℝ)\n\n/-- Best-known lower bound [FGK18], improving on [Ra38]. -/\nnoncomputable def bestLower (x : ℕ) : ℝ :=\n  (x : ℝ) * Real.log (x : ℝ) * Real.log (Real.log (Real.log (x : ℝ))) / Real.log (Real.log (x : ℝ))\n\n/-- Best-known upper bound [Iw78]. -/\nnoncomputable def bestUpper (x : ℕ) : ℝ := (x : ℝ) ^ 2\n\ndef green_46.improve_lower.answer : ℕ → ℝ := sorry\n\n/-- We conjecture that the best-known lower bound can be improved. -/\n@[category research open, question value, AMS 11]\ntheorem green_46.improve_lower :\n    (bestLower =o[atTop] green_46.improve_lower.answer) ∧ (green_46.improve_lower.answer ≪ maxY)\n      := by\n  sorry\n\nnoncomputable def green_46.improve_upper.answer : ℕ → ℝ :=\n  fun x : ℕ ↦ ((x : ℝ) + 1) ^ 2 / (Real.log (Real.log (3 * ((x : ℝ) + 1)))) ^ 2\n\nset_option linter.style.formal_proof_palomar false in\n/-- We conjecture that the best-known upper bound can be improved.\n\nYes. OpenAI [OAI26a] proved $h(k) \\ll k^2 / (\\log\\log 3k)^2$ for Jacobsthal's function $h$\n(Erdős Problem 970). By the Chinese remainder theorem $\\mathrm{maxY}(x) < h(\\pi(x))$, which gives\n$\\mathrm{maxY}(x) \\ll (x+1)^2 / (\\log\\log 3(x+1))^2 = o(x^2)$. Whether $y \\ll x^{1+o(1)}$ remains\nopen, see `green_46.improve_upper_conjectured`. -/\n@[category research solved, question value, AMS 11, formal_proof using lean4 at\n  \"https://github.com/30k30/scholia/blob/b072c89c3edac06521868e32cc15b2bc91bd8533/erdos-687/glue/JacobsthalTo687.lean#L319\"]\ntheorem green_46.improve_upper :\n    (green_46.improve_upper.answer =o[atTop] bestUpper) ∧ (maxY ≪ green_46.improve_upper.answer)\n      := by\n  sorry\n\n/-- It seems very likely that we must have $y \\ll x^{1+o(1)}$ [Gr24]. -/\n@[category research open, AMS 11]\ntheorem green_46.improve_upper_conjectured :\n    ∃ o : ℕ → ℝ, (o =o[atTop] fun _ : ℕ ↦ (1 : ℝ)) ∧\n      maxY ≪ fun x ↦ (x : ℝ) ^ (1 + o x) := by\n  sorry\n\n/-- Best known lower bound: $y \\gg x \\frac{\\log x \\log \\log \\log x}{\\log \\log x}$ [FGK18]. -/\n@[category research solved, AMS 11]\ntheorem green_46.variants.lower :\n    bestLower ≪ maxY := by\n  sorry\n\n/-- Best known upper bound: $y \\ll x^2$ [Iw78]. -/\n@[category research solved, AMS 11]\ntheorem green_46.variants.upper :\n    maxY ≪ bestUpper := by\n  sorry\n\n-- TODO(jeangud) Add similar problem mentioned in [Gr24, Problem 46]\n\nend Green46\n",
  "statement_hash": "f1511ab44743e5eb614f93fefd512bad4431a9aaf8ec0f925b381dcf9c253e5f",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}