Title:Erdős Problem 796
1 result recorded on aiXiv
- solves Claimed: for an explicit constant . Here is the largest size of such that every has fewer than three representations with . — aiXiv:2609.00358, 2026-07-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:Let and let be the largest possible size of such that every has solutions to with . Is it true that for some constant ?
The answer is yes: the rescaled error
normalizedErrorconverges.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.03234 [math.NT] · NS.03234v1 for this version |
| Declaration: | Erdos796.erdos_796 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 190043b14af42eb9f0c74409522c74126ddb769b545a332111b6f5707594dbf9 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/796.lean |
Formal statement
theorem erdos_796 :
∃ c : ℝ, Tendsto normalizedError atTop (𝓝 c)Show the full Challenge.lean (69 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 796
*Reference:* [erdosproblems.com/796](https://www.erdosproblems.com/796)
-/
@[expose] public section
namespace Erdos796
open Filter
open scoped Topology
/-- The number of unordered representations `m = a₁ * a₂` by two distinct
elements `a₁ < a₂` of `A`. -/
def repCount (A : Finset ℕ) (m : ℕ) : ℕ :=
((A ×ˢ A).filter fun a => a.1 < a.2 ∧ a.1 * a.2 = m).card
/-- `A` has at most `k - 1` representations of every `m` (fewer than `k`). -/
def HasRepBound (k : ℕ) (A : Finset ℕ) : Prop := ∀ m : ℕ, repCount A m < k
open scoped Classical in
/-- `g k n = g_k(n)` is the largest size of a subset `A ⊆ {1, …, n}` in which
every `m` has fewer than `k` representations `m = a₁ a₂` with `a₁ < a₂ ∈ A`. -/
noncomputable def g (k n : ℕ) : ℕ :=
((Finset.Icc 1 n).powerset.filter (HasRepBound k)).sup Finset.card
/-- The proposed second-order rescaling of `g_3(n)`:
`(g_3(n) - (log log n / log n) · n) / (n / log n)`, whose limit is the constant
`c` in the problem. -/
noncomputable def normalizedError (n : ℕ) : ℝ :=
((g 3 n : ℝ) - (n : ℝ) * Real.log (Real.log n) / Real.log n) / ((n : ℝ) / Real.log n)
set_option linter.style.formal_proof_palomar false in
/--
Let $k\geq 2$ and let $g_k(n)$ be the largest possible size of
$A\subseteq \{1,\ldots,n\}$ such that every $m$ has $<k$ solutions to
$m=a_1a_2$ with $a_1<a_2\in A$. Is it true that
$$g_3(n)=\frac{\log\log n}{\log n}n+(c+o(1))\frac{n}{\log n}$$
for some constant $c$?
The answer is yes: the rescaled error `normalizedError` converges.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/williamjblair/lean-proofs/blob/4f915a323443bfb1709a6805a013812016dca88a/starfleet/erdos-796/Research/CanonicalTail.lean"]
theorem erdos_796 :
∃ c : ℝ, Tendsto normalizedError atTop (𝓝 c) := by
sorry
end Erdos796
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos796.erdos_796 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_796 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-796 nosorry submit erdos-796 nosorry/erdos-796/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.