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 950

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Is it true that lim inf⁡f(n)=1\liminf f(n)=1?

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

Formal statement

theorem erdos_950.parts.i :
    atTop.liminf (fun n : ℕ ↦ (f n : EReal)) = 1
Show the full Challenge.lean (113 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 950

*References:*
- [erdosproblems.com/855](https://www.erdosproblems.com/855)
- [erdosproblems.com/950](https://www.erdosproblems.com/950)
- [Er77c] Erdős, Paul, Problems and results on combinatorial number theory. III. Number theory day
  (Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
- [mathoverflow/508491](https://mathoverflow.net/questions/508491)
-/

@[expose] public section

open Filter
open scoped Asymptotics Nat.Prime

namespace Erdos950

/--
Let $f(n) = \sum_{p<n}\frac{1}{n-p}$.
-/
noncomputable def f (n : ℕ) : ℝ :=
  ∑ p ∈ (Finset.range n).filter Prime, (1 : ℝ) / (n - p : ℝ)

/--
Is it true that $\liminf f(n)=1$?
-/
@[category research open, question, AMS 11]
theorem erdos_950.parts.i :
    atTop.liminf (fun n : ℕ ↦ (f n : EReal)) = 1 := by
  sorry

/--
Is it true that $\limsup f(n)=\infty$?
-/
@[category research open, question, AMS 11]
theorem erdos_950.parts.ii :
    atTop.limsup (fun n : ℕ ↦ (f n : EReal)) = ⊤ := by
  sorry

/--
Is it true that $f(n)=o(\log\log n)$ for all $n$?
-/
@[category research open, question, AMS 11]
theorem erdos_950.parts.iii :
    f =o[atTop] (fun n : ℕ ↦ Real.log (Real.log n)) := by
  sorry

/--
This function was considered by de Bruijn, Erdős, and Turán, who showed that
$\sum_{n<x}f(n)\sim \sum_{n<x}f(n)^2\sim x$. They gave no proofs, but a proof of the (harder) second
claim is given by Gorodetsky here [mathoverflow/508491].
-/
@[category research solved, AMS 11]
theorem erdos_950.variants.debruijn_erdos_turan :
    (fun x : ℕ ↦ ∑ n ∈ Finset.range x, f n) ~[atTop] (fun x : ℕ ↦ (x : ℝ)) ∧
    (fun x : ℕ ↦ ∑ n ∈ Finset.range x, (f n) ^ 2) ~[atTop] (fun x : ℕ ↦ (x : ℝ)) := by
  sorry

/--
Erdős writes that a 'weaker conjecture which is perhaps not quite inaccessible' is that,
for every $\epsilon>0$, if $x$ is sufficiently large there exists $y<x$ such that
$\pi(x)< \pi(y)+\epsilon \pi(x-y)$. Compare this to [855].
-/
@[category research open, question, AMS 11]
theorem erdos_950.variants.weaker_pi :
    ∀ ε > 0, ∀ᶠ x in atTop, ∃ y < x,
      (π x : ℝ) < (π y : ℝ) + ε * (π (x - y) : ℝ) := by
  sorry

/--
He notes that if $\pi(x)< \pi(y)+O\left(\frac{x-y}{\log x}\right)$ for all $y<x-(\log x)^C$ for
some constant $C>0$ then $f(n)\ll \log\log\log n$.
-/
@[category research solved, AMS 11]
theorem erdos_950.variants.weaker_pi_implies_f
    (h : ∃ C > (0 : ℝ), ∃ K > (0 : ℝ), ∀ᶠ x : ℕ in atTop, ∀ y : ℕ,
      (y : ℝ) < x - (Real.log x) ^ C →
      (π x : ℝ) < (π y : ℝ) + K * ((x - y : ℝ) / Real.log x)) :
    f =O[atTop] fun n : ℕ ↦ Real.log (Real.log (Real.log n)) := by
  sorry

/--
The study of $f(p)$ is even harder, and Erdős could not prove that
$\sum_{p<x}f(p)^2\sim \pi(x)$.
-/
@[category research open, question, AMS 11]
theorem erdos_950.variants.sum_primes :
    (fun x : ℕ ↦ ∑ p ∈ (Finset.range x).filter Prime, (f p) ^ 2) ~[atTop]
      fun x ↦ (π x : ℝ) := by
  sorry

end Erdos950

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

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