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 829

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:on aiXiv: partial progress — Not resolved on aiXiv. Latest progress: partial in aiXiv:2609.02588 (2025-10-13). · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. partial A partial result is recorded (2025-10-13) toward the question whether the number 1A∗1A(n)1_A*1_A(n) of representations of nn as a sum of two positive cubes satisfies 1A∗1A(n)≪(log⁡n)O(1)1_A*1_A(n)\ll(\log n)^{O(1)}. Known: the limsup is infinite (Mordell); Mahler proved ≫(log⁡n)1/4\gg(\log n)^{1/4} infinitely often; Stewart improved this to ≫(log⁡n)11/13\gg(\log n)^{11/13}. — aiXiv:2609.02588, 2025-10-13 · 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 Problem 829 (open). Let A⊆NA \subseteq \mathbb{N} be the set of perfect cubes. Is it true that (1A∗1A)(n)≪(log⁡n)O(1)(1_A \ast 1_A)(n) \ll (\log n)^{O(1)}? That is, does there exist a natural number CC such that the number of representations of nn as a sum of two cubes is O((log⁡n)C)O((\log n)^C) as n→∞n \to \infty?

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

Formal statement

theorem erdos_829 :
    ∃ C : ℕ, (fun n : ℕ => (sumRep cubes n : ℝ)) =O[atTop]
      (fun n : ℕ => (Real.log n) ^ C)
Show the full Challenge.lean (125 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 829

*References:*
- [erdosproblems.com/829](https://www.erdosproblems.com/829)
- [Er83] Erdős, P. and Dudley, U., _Some remarks and problems in number theory related to the
  work of Euler_. Math. Mag. (1983), 292-298.
-/

@[expose] public section

open AdditiveCombinatorics Asymptotics Filter

namespace Erdos829

/-- The set of perfect cubes in $\mathbb{N}$. -/
def cubes : Set ℕ := {n | ∃ k, k ^ 3 = n}

/-- Membership in `cubes` can be witnessed by a bounded cube root, which makes it
decidable for concrete values. -/
@[category API, AMS 11]
lemma mem_cubes_iff (m : ℕ) : m ∈ cubes ↔ ∃ k, k < m + 1 ∧ k ^ 3 = m := by
  constructor
  · rintro ⟨k, rfl⟩
    refine ⟨k, ?_, rfl⟩
    have : k ≤ k ^ 3 := Nat.le_self_pow (by norm_num) k
    omega
  · rintro ⟨k, _, rfl⟩
    exact ⟨k, rfl⟩

/--
**Erdős Problem 829 (open).**  Let $A \subseteq \mathbb{N}$ be the set of perfect cubes.  Is
it true that $(1_A \ast 1_A)(n) \ll (\log n)^{O(1)}$?  That is, does there exist a natural
number $C$ such that the number of representations of $n$ as a sum of two cubes is
$O((\log n)^C)$ as $n \to \infty$?
-/
@[category research open, question, AMS 11]
theorem erdos_829 :
    ∃ C : ℕ, (fun n : ℕ => (sumRep cubes n : ℝ)) =O[atTop]
      (fun n : ℕ => (Real.log n) ^ C) := by
  sorry

/-- There is exactly one ordered pair of cubes summing to $0$, namely $(0, 0)$. -/
@[category test, AMS 11]
theorem sumRep_cubes_zero : sumRep cubes 0 = 1 := by
  simp only [sumRep_def, mem_cubes_iff]
  decide

/-- The only ordered pair of cubes summing to $2$ is $(1, 1)$. -/
@[category test, AMS 11]
theorem sumRep_cubes_two : sumRep cubes 2 = 1 := by
  simp only [sumRep_def, mem_cubes_iff]
  decide

/-- The integer $3$ is not the sum of two cubes. -/
@[category test, AMS 11]
theorem sumRep_cubes_three : sumRep cubes 3 = 0 := by
  simp only [sumRep_def, mem_cubes_iff]
  decide

/-- The Hardy-Ramanujan taxicab number satisfies $1729 = 1^3 + 12^3 = 9^3 + 10^3$, giving
the four ordered representations $(1, 1728), (1728, 1), (729, 1000), (1000, 729)$. -/
@[category test, AMS 11]
theorem sumRep_cubes_taxicab : sumRep cubes 1729 = 4 := by
  simp only [sumRep_def, mem_cubes_iff]
  decide +native

namespace variants

/--
Mordell proved $\limsup_{n \to \infty} (1_A \ast 1_A)(n) = \infty$, where $A$ is the set of
perfect cubes.  Equivalently, the number of representations of $n$ as a sum of two cubes is
unbounded.
-/
@[category research solved, AMS 11]
theorem mordell : limsup (fun n : ℕ => (sumRep cubes n : ℕ∞)) atTop = (⊤ : ℕ∞) := by
  sorry

/--
Mahler proved $(1_A \ast 1_A)(n) \gg (\log n)^{1/4}$ for infinitely many $n$, where $A$ is
the set of perfect cubes.

[Ma35b] Mahler, K., _On the lattice points on curves of genus 1_. Proc. London Math. Soc.
  (2) (1935), 431-466.
-/
@[category research solved, AMS 11]
theorem mahler : ∃ C > (0 : ℝ),
    ∃ᶠ (n : ℕ) in atTop, C * (Real.log n) ^ ((1 : ℝ) / 4) ≤ (sumRep cubes n : ℝ) := by
  sorry

/--
Stewart improved Mahler's lower bound to $(1_A \ast 1_A)(n) \gg (\log n)^{11/13}$ for
infinitely many $n$, where $A$ is the set of perfect cubes.

[St08] Stewart, C. L., _Cubic Thue equations with many solutions_. Int. Math. Res. Not.
  IMRN (2008), Art. ID rnn040, 11.
-/
@[category research solved, AMS 11]
theorem stewart : ∃ C > (0 : ℝ),
    ∃ᶠ (n : ℕ) in atTop, C * (Real.log n) ^ ((11 : ℝ) / 13) ≤ (sumRep cubes n : ℝ) := by
  sorry

end variants

end Erdos829

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

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