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 126 · variants.IsBigO

Source:Erdős Problems · erdosproblems.com/126
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:the main problem, on aiXiv: claimed solved — Claimed proved in aiXiv:2609.02367 (2026-08-28); no independent check recorded on aiXiv. · erdosproblems.com: proved (Lean) (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. solves Let f(n)f(n) be the minimum, over nn-element sets A⊆NA\subseteq\mathbb N, of the number of distinct primes dividing ∏a≠b∈A(a+b)\prod_{a\ne b\in A}(a+b). Then f(n)/log⁡n→∞f(n)/\log n\to\infty. This is proved formally in Lean 4 with Mathlib. — aiXiv:2609.02367, 2026-08-28 · claimed by its authors; no independent check recorded on aiXiv
  2. bound An alternate formal resolution proves n≤3r2n\le 3r^2, where rr is the number of primes dividing some a+ba+b with a≠b∈Aa\ne b\in A. Hence f(n)≫n1/2f(n)\gg n^{1/2}, with f(n)≪n/log⁡nf(n)\ll n/\log n known. Other resolutions give f(n)≫ncf(n)\gg n^{c} for c=1/3,1/5,1/8c=1/3,1/5,1/8. — aiXiv:2609.02367, 2026-08-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:

Erdős and Turán proved [ErTu34] in their first joint paper that log⁡n≪f(n)≪nlog⁡n \log n \ll f(n) \ll \frac{n}{\log n}

[ErTu34] Erdős, Paul and Turan, Paul, On a Problem in the Elementary Theory of Numbers. Amer. Math. Monthly (1934), 608-611.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.01061 [math.NT] · NS.01061v1 for this version
Declaration:Erdos126.erdos_126.variants.IsBigO
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:c144532292e31d5bdff0185214cfd911ab2aead4584542e9bb1b97e4a43e2aa4
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/126.lean

Formal statement

theorem erdos_126.variants.IsBigO
    (f : ℕ → ℕ)
    (hf : IsMaximalAddFactorsCard f) :
    ((fun (n : ℕ) => Real.log n) =O[atTop] fun (n : ℕ) => (f n : ℝ)) ∧
      (fun (n : ℕ) => (f n : ℝ)) =O[atTop] fun (n : ℕ) => n / Real.log n
Show the full Challenge.lean (79 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 126

*Reference:* [erdosproblems.com/126](https://www.erdosproblems.com/126)
-/

@[expose] public section

open Filter

namespace Erdos126

def IsMaximalAddFactorsCard (f : ℕ → ℕ) : Prop := ∀ n,
    IsGreatest
      { m | ∀ (A : Finset ℕ), A.card = n →
        m ≤ (∏ ⟨a, b⟩ ∈ A.offDiag, (a + b)).primeFactors.card}
      (f n)

set_option linter.style.formal_proof_palomar false in
/--
Let $f(n)$ be maximal such that if $A\subseteq\mathbb{N}$ has $|A| = n$ then
$\prod_{a\neq b\in A}(a + b)$ has at least $f(n)$ distinct prime factors.
Is it true that $\frac{f(n)}{\log n} \to\infty$?

The answer is yes, and a machine-checked proof is available.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/tadamcz/erdos126/blob/2516785fe6bbc43e979cf6029c976d9f998a7fba/Erdos126/Resolutions/Erdos126_132usd_25h.lean#L3053"]
theorem erdos_126 : ∀ (f : ℕ → ℕ), IsMaximalAddFactorsCard f →
    Tendsto (fun n => f n / Real.log n) atTop atTop := by
  sorry

/--
Erdős and Turán proved [ErTu34] in their first joint paper that
$$
  \log n \ll f(n) \ll \frac{n}{\log n}
$$

[ErTu34] Erdős, Paul and Turan, Paul, _On a Problem in the Elementary Theory of Numbers_. Amer. Math. Monthly (1934), 608-611.
-/
@[category research solved, AMS 11]
theorem erdos_126.variants.IsBigO
    (f : ℕ → ℕ)
    (hf : IsMaximalAddFactorsCard f) :
    ((fun (n : ℕ) => Real.log n) =O[atTop] fun (n : ℕ) => (f n : ℝ)) ∧
      (fun (n : ℕ) => (f n : ℝ)) =O[atTop] fun (n : ℕ) => n / Real.log n := by
  sorry

/--
Erdős says that $f(n) = o(\frac{n}{\log n})$ has never been proved.
-/
@[category research open, AMS 11]
theorem erdos_126.variants.isLittleO
    (f : ℕ → ℕ)
    (hf : IsMaximalAddFactorsCard f) :
    (fun (n : ℕ) => (f n : ℝ)) =o[atTop] (fun (n : ℕ) => n / Real.log n) := by
  sorry

end Erdos126

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

nosorry desk erdos-126--erdos-126-variants-isbigo      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-126--erdos-126-variants-isbigo
nosorry submit erdos-126--erdos-126-variants-isbigo nosorry/erdos-126--erdos-126-variants-isbigo/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.