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 994

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let E⊆(0,1)E\subseteq (0,1) be a meaurable subset with Lebesgue measure λ(E)\lambda(E). Is it true that, for almost all α\alpha, lim⁡n→∞1n∑1≤k≤n1{kα}∈E=λ(E)\lim_{n\to \infty}\frac{1}{n}\sum_{1\leq k\leq n}1_{\{k\alpha \}\in E}=\lambda(E) for all EE?

This is a conjecture of Khintchine [Kh23] (with the exceptional null set of α\alpha allowed to depend on EE). It is false, and was disproved by Marstrand [Ma70].

Subjects:Number Theory (math.NT); Classical Analysis and ODEs (math.CA)
MSC classes:11, 28
Tags:question
Cite as:NS.03887 [math.NT] · NS.03887v1 for this version
Declaration:Erdos994.erdos_994
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:18345ed113a91a7e1fd0f2f05a7db5b50f4dcc5cf6174d94f8e91e6835ef9b81
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/994.lean

Formal statement

theorem erdos_994 :
    ¬ ∀ E ⊆ Ioo (0 : ℝ) 1, MeasurableSet E →
      ∀ᵐ α : ℝ, Tendsto (visitAverage E α) atTop (nhds (volume E).toReal)
Show the full Challenge.lean (91 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 994

*References:*
- [erdosproblems.com/994](https://www.erdosproblems.com/994)
- [Er64b] Erdős, P., _Problems and results on diophantine approximations_. Compositio Math.
  (1964), 52-65.
- [Kh23] Khintchine, A., _Ein Satz über Kettenbrüche, mit arithmetischen Anwendungen_. Math. Z.
  (1923), 289--306.
- [Ma70] Marstrand, J. M., _On Khinchin's conjecture about strong uniform distribution_. Proc.
  London Math. Soc. (3) (1970), 540--556.
-/

@[expose] public section

open Filter MeasureTheory Set

namespace Erdos994

open scoped Classical in
/-- The proportion $\frac{1}{n}\sum_{1\leq k\leq n}1_{\{k\alpha \}\in E}$ of the fractional parts
$\{k\alpha\}$, $1\leq k\leq n$, which lie in `E`. -/
noncomputable def visitAverage (E : Set ℝ) (α : ℝ) (n : ℕ) : ℝ :=
  (∑ k ∈ Finset.Icc 1 n, if Int.fract (k * α) ∈ E then (1 : ℝ) else 0) / n

/--
Let $E\subseteq (0,1)$ be a meaurable subset with Lebesgue measure $\lambda(E)$. Is it true that,
for almost all $\alpha$,
$$\lim_{n\to \infty}\frac{1}{n}\sum_{1\leq k\leq n}1_{\{k\alpha \}\in E}=\lambda(E)$$
for all $E$?

This is a conjecture of Khintchine [Kh23] (with the exceptional null set of $\alpha$ allowed to
depend on $E$). It is false, and was disproved by Marstrand [Ma70].
-/
@[category research solved, question, AMS 11 28]
theorem erdos_994 :
    ¬ ∀ E ⊆ Ioo (0 : ℝ) 1, MeasurableSet E →
      ∀ᵐ α : ℝ, Tendsto (visitAverage E α) atTop (nhds (volume E).toReal) := by
  sorry

/--
Read literally, with "for almost all $\alpha$" placed before "for all $E$", the statement is
trivially false: for any $\alpha$, removing the countable orbit $\{\{k\alpha\} : k\geq 1\}$ from
$(0,1)$ gives a measurable set of measure $1$ which is never visited.
-/
@[category textbook, AMS 11 28]
theorem erdos_994.variants.simultaneous :
    ¬ ∀ᵐ α : ℝ, ∀ E ⊆ Ioo (0 : ℝ) 1, MeasurableSet E →
      Tendsto (visitAverage E α) atTop (nhds (volume E).toReal) := by
  intro h
  obtain ⟨α, hα⟩ := h.exists
  set O : Set ℝ := Set.range fun k : ℕ ↦ Int.fract (((k + 1 : ℕ) : ℝ) * α) with hO_def
  have hO : volume O = 0 := (Set.countable_range _).measure_zero _
  have hE := hα (Ioo 0 1 \ O) Set.sdiff_subset
    (measurableSet_Ioo.diff (Set.countable_range _).measurableSet)
  have hvol : volume (Ioo (0 : ℝ) 1 \ O) = 1 := by
    rw [measure_sdiff_null hO, Real.volume_Ioo]
    simp
  have hzero : visitAverage (Ioo 0 1 \ O) α = fun _ ↦ 0 := by
    funext n
    unfold visitAverage
    rw [Finset.sum_eq_zero, zero_div]
    intro k hk
    rw [Finset.mem_Icc] at hk
    rw [if_neg]
    rintro ⟨-, hmem⟩
    exact hmem ⟨k - 1, by simp only [Nat.sub_add_cancel hk.1]⟩
  rw [hzero, hvol, ENNReal.toReal_one] at hE
  exact one_ne_zero (tendsto_nhds_unique hE tendsto_const_nhds)

end Erdos994

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

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