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 520

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: related results only — No resolution or quantitative progress on record; related results below. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. theorem Let ff be a Rademacher random multiplicative function, M>(x)=∑n≤x, P(n)>x1/2f(n)M^{>}(x)=\sum_{n\le x,\,P(n)>x^{1/2}}f(n) and Q(x)=∑x1/2<p≤xM(x/p)2Q(x)=\sum_{x^{1/2}<p\le x}M(x/p)^2. Almost surely, lim sup⁡x→∞M>(x)/2Q(x)log⁡log⁡Q(x)=1\limsup_{x\to\infty} M^{>}(x)/\sqrt{2Q(x)\log\log Q(x)}=1 and the corresponding liminf is −1-1. The almost sure cluster set is [−1,1][-1,1]. — aiXiv:2611.00130, 2026-10-28 · claimed by its authors; no independent check recorded on aiXiv

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 ff be a Rademacher multiplicative function. Does there exist some constant c>0c > 0 such that, almost surely, lim sup⁡N→∞∑m≤Nf(m)Nlog⁡log⁡N=c? \limsup_{N \to \infty} \frac{\sum_{m \leq N} f(m)}{\sqrt{N \log \log N}} = c?

The answer is no: Høystad [Hø26] (with GPT-5.6 Pro and Claude) proved, following the Halász–Lau–Tenenbaum–Wu–Caich martingale approach with Harper's low-moment estimates [Ha13], that almost surely ∑m≤Nf(m)≪N(log⁡log⁡N)1/4+η\sum_{m \le N} f(m) \ll \sqrt{N} (\log \log N)^{1/4 + \eta} for every η>0\eta > 0, so the lim sup⁡\limsup is 00 almost surely. The linked formal proof works with the concrete model ℕ → Bool with the product of fair coins, whose squarefree-supported Rademacher function is IsRademacherMultiplicative; this refutes the statement below.

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

Formal statement

theorem erdos_520 :
    ¬ ∃ c > 0, ∀ (Ω : Type) [MeasureSpace Ω] [IsProbabilityMeasure (ℙ : Measure Ω)]
      (f : ℕ → Ω → ℝ), IsRademacherMultiplicative f →
      ∀ᵐ ω, limsup (fun N ↦ ∑ m ≤ N, f m ω / sqrt (N * log (log N))) atTop = c
Show the full Challenge.lean (82 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 520

*References:*
- [erdosproblems.com/520](https://www.erdosproblems.com/520)
- [Hø26] Høystad, S. W. R., *A self-contained Lean 4 proof that Erdős Problem #520 has a
  negative answer* (2026), https://github.com/saasom/Erdos520/blob/v1.1.0/paper/erdos520_note.pdf
- [Ha13] Harper, A. J., *Bounds on the suprema of Gaussian processes, and omega results for the
  sum of a random multiplicative function*. Ann. Appl. Probab. 23 (2013), 584–616.
-/

@[expose] public section

open MeasureTheory ProbabilityTheory Nat Real Filter

namespace Erdos520

variable {Ω : Type*} [MeasureSpace Ω] [IsProbabilityMeasure (ℙ : Measure Ω)]

/--
A random function $f$ is Rademacher multiplicative if $f(1) = 1$,
for each prime $p$, we independently choose $f(p) \in \{-1, 1\}$ uniformly at random (so each
$f(p)$ is a measurable function of the sample point),
for each square-free integer $n = p_1 \cdots p_r$, $f(n) = f(p_1) \cdots f(p_r)$, and
for each non-squarefree integer $n$, $f(n) = 0$.
-/
structure IsRademacherMultiplicative (f : ℕ → Ω → ℝ) : Prop where
  /-- Prime entries are random variables. -/
  measurable_of_prime p : p.Prime → Measurable (f p)
  /-- Prime entries are independent. -/
  iIndepFun_primes : iIndepFun (fun p : Primes ↦ f p) ℙ
  /-- Primes entries are uniformly distributed on `{-1, 1}`. -/
  prob_of_prime p : p.Prime → ℙ {ω | f p ω = 1} = 1 / 2 ∧ ℙ {ω | f p ω = -1} = 1 / 2
  map_one ω : f 1 ω = 1
  map_mul_of_coprime a b ω : a.Coprime b → f (a * b) ω = f a ω * f b ω
  map_of_not_squarefree n ω : ¬ Squarefree n → f n ω = 0

set_option linter.style.formal_proof_palomar false in
/--
Let $f$ be a Rademacher multiplicative function.
Does there exist some constant $c > 0$ such that, almost surely,
$$
  \limsup_{N \to \infty} \frac{\sum_{m \leq N} f(m)}{\sqrt{N \log \log N}} = c?
$$

The answer is no: Høystad [Hø26] (with GPT-5.6 Pro and Claude) proved, following the
Halász–Lau–Tenenbaum–Wu–Caich martingale approach with Harper's low-moment estimates [Ha13],
that almost surely $\sum_{m \le N} f(m) \ll \sqrt{N} (\log \log N)^{1/4 + \eta}$ for every
$\eta > 0$, so the $\limsup$ is $0$ almost surely. The linked formal
proof works with the concrete model `ℕ → Bool` with the product of fair coins, whose
squarefree-supported Rademacher function is `IsRademacherMultiplicative`; this refutes the
statement below.
-/
@[category research solved, question, AMS 11 60, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos520.lean#L24"]
theorem erdos_520 :
    ¬ ∃ c > 0, ∀ (Ω : Type) [MeasureSpace Ω] [IsProbabilityMeasure (ℙ : Measure Ω)]
      (f : ℕ → Ω → ℝ), IsRademacherMultiplicative f →
      ∀ᵐ ω, limsup (fun N ↦ ∑ m ≤ N, f m ω / sqrt (N * log (log N))) atTop = c := by
  sorry

end Erdos520

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

nosorry fetch erdos-520
nosorry submit erdos-520 nosorry/erdos-520/Solution.lean --wait

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.