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 1002

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:

For any 0<α<10<\alpha<1, let $f(\alpha,n)=\frac{1}{\log n}\sum_{1\leq k\leq n}(\tfrac{1}{2}- { \alpha k})$. Does f(α,n)f(\alpha,n) have an asymptotic distribution function?

In other words, is there a non-decreasing function gg such that g(−∞)=0g(-\infty)=0, g(∞)=1g(\infty)=1, and lim⁡n→∞∣{α∈(0,1):f(α,n)≤c}∣=g(c)\lim_{n\to \infty}\lvert \{ \alpha\in (0,1): f(\alpha,n)\leq c\}\rvert=g(c)?

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

Formal statement

theorem erdos_1002 :
    ∃ g : ℝ → ℝ, Monotone g ∧
    Tendsto g atBot (𝓝 0) ∧
    Tendsto g atTop (𝓝 1) ∧
    letI f :=  fun (α : ℝ) (n : ℕ) ↦
      (1 / log n) * ∑ k ∈ Icc (1 : ℕ) n, (1 / 2 - Int.fract (α * k))
    ∀ c : ℝ, Tendsto (fun (n : ℕ) ↦ (volume { α | α ∈ Ioo (0 : ℝ) 1 ∧ f α n ≤ c }).toReal)
      atTop (𝓝 (g c))
Show the full Challenge.lean (69 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1002

*References:*
- [erdosproblems.com/1002](https://www.erdosproblems.com/1002)
- [Ke60] Kesten, Harry, Uniform distribution {${\rm mod}\,1$}. Ann. of Math. (2) (1960), 445--471.
-/

@[expose] public section

open Real Set Filter Finset MeasureTheory Topology

namespace Erdos1002

/--
For any $0<\alpha<1$, let $f(\alpha,n)=\frac{1}{\log n}\sum_{1\leq k\leq n}(\tfrac{1}{2}-
\{ \alpha k\})$. Does $f(\alpha,n)$ have an asymptotic distribution function?

In other words, is there a non-decreasing function $g$ such that $g(-\infty)=0$, $g(\infty)=1$,
and $\lim_{n\to \infty}\lvert \{ \alpha\in (0,1): f(\alpha,n)\leq c\}\rvert=g(c)$?
-/
@[category research open, question, AMS 11]
theorem erdos_1002 :
    ∃ g : ℝ → ℝ, Monotone g ∧
    Tendsto g atBot (𝓝 0) ∧
    Tendsto g atTop (𝓝 1) ∧
    letI f :=  fun (α : ℝ) (n : ℕ) ↦
      (1 / log n) * ∑ k ∈ Icc (1 : ℕ) n, (1 / 2 - Int.fract (α * k))
    ∀ c : ℝ, Tendsto (fun (n : ℕ) ↦ (volume { α | α ∈ Ioo (0 : ℝ) 1 ∧ f α n ≤ c }).toReal)
      atTop (𝓝 (g c)) := by
  sorry

/--
Kesten [Ke60] proved that if $f(\alpha,\beta,n)=\frac{1}{\log n}\sum_{1\leq k\leq n}(\tfrac{1}{2}-
\{\beta+\alpha k\})$ then $f(\alpha,\beta,n)$ has asymptotic distribution function
$g(c)=\frac{1}{\pi}\int_{-\infty}^{\rho c}\frac{1}{1+t^2}\mathrm{d}t$, where $\rho>0$ is an explicit
constant.
-/
@[category research solved, AMS 11]
theorem erdos_1002.variants.kesten :
    ∃ ρ > 0,
      let g := fun (c : ℝ) ↦ (1 / π) * ∫ t in Iic (ρ * c), 1 / (1 + t^2)
      ∀ c : ℝ, Tendsto (fun (n : ℕ) ↦
        (volume { p : ℝ × ℝ | let ⟨α, β⟩ := p; α ∈ Icc (0 : ℝ) 1 ∧ β ∈ Icc (0 : ℝ) 1 ∧
          (1 / log n) * ∑ k ∈ Icc (1 : ℕ) n, (1 / 2 - Int.fract (β + α * k)) ≤ c }).toReal)
        atTop (𝓝 (g c)) := by
  sorry

end Erdos1002

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

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