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 323 · variants.k_eq_2

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

The case k=2k=2 was resolved by Landau, who showed f2,2(x)∼cxlog⁡xf_{2,2}(x) \sim \frac{cx}{\sqrt{\log x}} for some constant c>0c>0.

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

Formal statement

theorem erdos_323.variants.k_eq_2 :
    ∃ c > 0, (fun (x : ℕ) ↦ (f 2 2 x : ℝ)) ~[atTop]
      (fun (x : ℕ) ↦ c * (x : ℝ) / Real.sqrt (Real.log (x : ℝ)))
Show the full Challenge.lean (80 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 323

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

@[expose] public section

open Filter
open scoped Asymptotics

namespace Erdos323

/--
Let $1\leq m\leq k$ and $f_{k,m}(x)$ denote the number of integers $\leq x$ which are the sum of
$m$ many nonnegative $k$th powers.
-/
noncomputable def f (k m x : ℕ) : ℕ :=
  { n : ℕ | n ≤ x ∧ ∃ (v : Fin m → ℕ), n = ∑ i, v i ^ k }.ncard

/--
Is it true that $f_{k,k}(x) \gg_\epsilon x^{1-\epsilon}$ for all $\epsilon>0$?

This would have significant applications to Waring's problem. Erdős and Graham describe this as
'unattackable by the methods at our disposal'.
-/
@[category research open, question, AMS 11]
theorem erdos_323.parts.i :
    ∀ k ≥ 1, ∀ ε > (0 : ℝ),
      (fun (x : ℕ) ↦ (x : ℝ) ^ (1 - ε)) =O[atTop] (fun (x : ℕ) ↦ (f k k x : ℝ)) := by
  sorry

/--
Is it true that if $m < k$ then $f_{k,m}(x) \gg x^{m/k}$ for sufficiently large $x$?
-/
@[category research open, question, AMS 11]
theorem erdos_323.parts.ii :
    ∀ k m : ℕ, 1 ≤ m → m < k →
      (fun (x : ℕ) ↦ (x : ℝ) ^ ((m : ℝ) / (k : ℝ))) =O[atTop] (fun (x : ℕ) ↦ (f k m x : ℝ)) := by
  sorry

/--
The case $k=2$ was resolved by Landau, who showed $f_{2,2}(x) \sim \frac{cx}{\sqrt{\log x}}$ for
some constant $c>0$.
-/
@[category research solved, AMS 11]
theorem erdos_323.variants.k_eq_2 :
    ∃ c > 0, (fun (x : ℕ) ↦ (f 2 2 x : ℝ)) ~[atTop]
      (fun (x : ℕ) ↦ c * (x : ℝ) / Real.sqrt (Real.log (x : ℝ))) := by
  sorry

/--
For $k>2$ it is not known if $f_{k,k}(x)=o(x)$.
-/
@[category research open, question, AMS 11]
theorem erdos_323.variants.k_gt_2 :
    ∀ k > 2, (fun (x : ℕ) ↦ (f k k x : ℝ)) =o[atTop] (fun (x : ℕ) ↦ (x : ℝ)) := by
  sorry

end Erdos323

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

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