Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 67

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:

The Erdős discrepancy problem

If f ⁣:N→{−1,+1}f\colon \mathbb N \rightarrow \{-1, +1\} then is it true that for every C>0C>0 there exist d,m≥1d, m \ge 1 such that ∣∑1≤k≤mf(kd)∣>C?\left\lvert \sum_{1\leq k\leq m}f(kd)\right\rvert > C? This is true, and was proved by Tao [Ta16]

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

Formal statement

theorem erdos_67 (f : ℕ → ({-1, 1} : Finset ℝ)) (C : ℝ) (hC : 0 < C) : ∃ᵉ (d ≥ 1) (m ≥ 1),
    C < |∑ k ∈ Finset.Icc 1 m, (f (k * d)).1|
Show the full Challenge.lean (60 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 67

*References:*
- [erdosproblems.com/67](https://www.erdosproblems.com/66)
- [Ta16] Tao, Terence, The Erdős discrepancy problem. Discrete Anal. (2016), Paper No. 1, 29.
-/

@[expose] public section

open Filter

namespace Erdos67

/--
**The Erdős discrepancy problem**

If $f\colon \mathbb N \rightarrow \{-1, +1\}$ then is it true that for every $C>0$ there
exist $d, m \ge 1$ such that $$\left\lvert \sum_{1\leq k\leq m}f(kd)\right\rvert > C?$$
This is true, and was proved by Tao [Ta16]
-/
@[category research solved, AMS 11]
theorem erdos_67 (f : ℕ → ({-1, 1} : Finset ℝ)) (C : ℝ) (hC : 0 < C) : ∃ᵉ (d ≥ 1) (m ≥ 1),
    C < |∑ k ∈ Finset.Icc 1 m, (f (k * d)).1| := by
  sorry

/--
**The Erdős discrepancy problem (complex variant)**

If $f\colon \mathbb N \rightarrow S^1 ⊆ ℂ$ then is it true that for every $C>0$ there
exist $d, m \ge 1$ such that $$\left\lvert \sum_{1\leq k\leq m}f(kd)\right\rvert > C?$$
This is true, and was proved by Tao [Ta16]
-/
@[category research solved, AMS 11]
theorem erdos_67.variants.complex (f : ℕ → Metric.sphere (0 : ℂ) 1) (C : ℝ) (hC : 0 < C) :
    ∃ᵉ (d ≥ 1) (m ≥ 1), C < ‖∑ k ∈ Finset.Icc 1 m, (f (k * d)).1‖  := by
  sorry


end Erdos67

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

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