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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 970

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: formalized in Lean — Claimed proved in aiXiv:2610.00876 (2026-10-06), with a Lean formalization published by the authors. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. solves Let h(k)h(k) be the maximum of Jacobsthal's function j(n)j(n) over nn with at most kk distinct prime factors. Then h(k)≤Ck2/(log⁡log⁡3k)2h(k)\le C k^2/(\log\log 3k)^2 for an absolute constant CC, which gives in particular h(k)≪k2h(k)\ll k^2. — aiXiv:2610.00876, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/021.md
  2. bound h(k)≪k2/(log⁡log⁡k)2h(k)\ll k^2/(\log\log k)^2 improves Iwaniec's bound h(k)≪k2log⁡2kh(k)\ll k^2\log^2 k and Vaughan's j(n)≪ω(n)2log⁡4ω(n)j(n)\ll \omega(n)^2\log^4\omega(n). — aiXiv:2610.00876, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/021.md

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Let h(k)h(k) be Jacobsthal's function, defined to as the minimal mm such that, if nn has at most kk prime factors, then in any set of mm consecutive integers there exists an integer coprime to nn. Determine the order of magnitude of h(k)h(k). In particular, is it true that h(k)≪k2?h(k) \ll k^2?

The bound h(k)≪k2h(k) \ll k^2 was proved by an internal OpenAI model in September 2026 [OAI26a]; see the linked Lean proof. The order of magnitude of h(k)h(k) remains open.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.03815 [math.NT] · NS.03815v1 for this version
Declaration:Erdos970.erdos_970
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:0f3655b0c32b9efee4f134e955e77be82ed4736037ca402ccc0874120b35e440
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/970.lean

Formal statement

theorem erdos_970 :
    ∃ C > (0 : ℝ), ∀ k : ℕ, 0 < k → (jacobsthalFunction k : ℝ) ≤ C * k ^ 2
Show the full Challenge.lean (76 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 970

*References:*
- [erdosproblems.com/970](https://www.erdosproblems.com/970)
- [FGKMT18] Ford, Kevin and Green, Ben and Konyagin, Sergei and Maynard, James and Tao, Terence,
  *Long gaps between primes*. J. Amer. Math. Soc. (2018), 65-105.
- [Iw78] Iwaniec, Henryk, *On the problem of {J}acobsthal*. Demonstratio Math. (1978), 225--231.
- [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
-/

@[expose] public section

namespace Erdos970

/--
`IsJacobsthalBound k m` says that every interval of `m` consecutive integers contains an
integer coprime to every positive natural number having at most `k` distinct prime factors.
-/
def IsJacobsthalBound (k m : ℕ) : Prop :=
  ∀ n : ℕ, 0 < n → n.primeFactors.card ≤ k →
    ∀ a : ℤ, ∃ i : ℕ, i < m ∧ (a + i).natAbs.Coprime n

/--
Jacobsthal's function, uniformly parametrized by the maximum number of distinct prime factors.
-/
noncomputable def jacobsthalFunction (k : ℕ) : ℕ :=
  sInf {m : ℕ | IsJacobsthalBound k m}

set_option linter.style.formal_proof_palomar false in
/--
Let $h(k)$ be Jacobsthal's function, defined to as the minimal $m$ such that, if $n$ has at most $k$ prime factors, then in any set of $m$ consecutive integers there exists an integer coprime to $n$. Determine the order of magnitude of $h(k)$. In particular, is it true that $$h(k) \ll k^2?$$

The bound $h(k) \ll k^2$ was proved by an internal OpenAI model in September 2026 [OAI26a]; see
the linked Lean proof. The order of magnitude of $h(k)$ remains open.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/Jacobsthal/Conclusions/QuadraticBound.lean#L13"]
theorem erdos_970 :
    ∃ C > (0 : ℝ), ∀ k : ℕ, 0 < k → (jacobsthalFunction k : ℝ) ≤ C * k ^ 2 := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
The stronger bound $$h(k) \ll \frac{k^2}{(\log\log 3k)^2}$$ proved in [OAI26a].
-/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/Jacobsthal/Conclusions/IteratedLogBound.lean#L59"]
theorem erdos_970.variants.iterated_log :
    ∃ C > (0 : ℝ), ∀ k : ℕ, 0 < k →
      (jacobsthalFunction k : ℝ) ≤ C * k ^ 2 / (Real.log (Real.log (3 * k))) ^ 2 := by
  sorry

end Erdos970

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

nosorry fetch erdos-970
nosorry submit erdos-970 nosorry/erdos-970/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.