Title:Erdős Problem 302
2 results recorded on aiXiv
- bound Let be the largest reciprocal-sum-free subset of (no distinct with ), and let be the density for the relaxation that keeps only triples with primitive coordinates smooth over the primes . Then for , and . — aiXiv:2611.02282, 2026-11-21 · claimed by its authors; no independent check recorded on aiXiv
- new proof , where . admits rational enclosures of any prescribed width, and has an explicit modulus of convergence. — aiXiv:2611.02282, 2026-11-21 · 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 be the size of the largest such that there are no solutions to with distinct ? Estimate .
The colouring version of this is [303], which was solved by Brown and Rödl [BrRo91].
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.01619 [math.NT] · NS.01619v1 for this version |
| Declaration: | Erdos302.erdos_302.parts.i |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | e21d9ae799c5ff8b9d4e5bb7edf91e99b9ddd3f63c0c791e41e608a40ff14c27 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/302.lean |
Formal statement
theorem erdos_302.parts.i (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N)) :
Tendsto (fun N : ℕ => (f N : ℝ) / N) atTop (𝓝 erdos_302.parts.i.answer)Show the full Challenge.lean (157 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 302
*References:*
- [erdosproblems.com/302](https://www.erdosproblems.com/302)
- [BrRo91] Brown, Tom C. and Rödl, Voijtech, Monochromatic solutions to equations with unit
fractions. Bull. Austral. Math. Soc. (1991), 387-392.
- [ErGr80] Erdős, P. and Graham, R., Old and new problems and results in combinatorial number
theory. Monographies de L'Enseignement Mathematique (1980).
- [va25](https://github.com/Woett/Mathematical-shorts/blob/main/Two-colouring%20and%20density%20lead%20to%20solutions%20to%20an%20equation%20in%20unit%20fractions.pdf)
-/
@[expose] public section
open Filter Finset
open scoped Topology
namespace Erdos302
/--
A finite set $A$ of positive integers admits no solution to
$\frac{1}{a} = \frac{1}{b} + \frac{1}{c}$ with $a, b, c$ distinct elements of $A$.
-/
def NoUnitFractionTriple (A : Finset ℕ) : Prop :=
∀ a ∈ A, ∀ b ∈ A, ∀ c ∈ A, a ≠ b → a ≠ c → b ≠ c →
(1 : ℚ) / a ≠ (1 : ℚ) / b + (1 : ℚ) / c
/--
$f N$ is the size of the largest $A ⊆ \{1, …, N\}$ containing no solution to
$\frac{1}{a} = \frac{1}{b} + \frac{1}{c}$ with distinct $a, b, c ∈ A$.
-/
def IsMaxNoTripleCard (N m : ℕ) : Prop :=
IsGreatest {k | ∃ A ⊆ Finset.Icc 1 N, NoUnitFractionTriple A ∧ A.card = k} m
def erdos_302.parts.i.answer : ℝ := sorry
/--
Let $f(N)$ be the size of the largest $A\subseteq \{1,\ldots,N\}$ such that there are no
solutions to
$$\frac{1}{a}= \frac{1}{b}+\frac{1}{c}$$
with distinct $a,b,c\in A$? Estimate $f(N)$.
The colouring version of this is [303], which was solved by Brown and Rödl [BrRo91].
-/
@[category research open, question value, AMS 11]
theorem erdos_302.parts.i (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N)) :
Tendsto (fun N : ℕ => (f N : ℝ) / N) atTop (𝓝 erdos_302.parts.i.answer) := by
sorry
/--
In particular, is $f(N)=(\tfrac{1}{2}+o(1))N$?
This is false: it is contradicted by Cambie's lower bound of $(5/8+o(1))N$ recorded below,
since $5/8 > 1/2$.
-/
@[category research solved, AMS 11]
theorem erdos_302.parts.ii (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N)) :
¬ Tendsto (fun N : ℕ => (f N : ℝ) / N) atTop (𝓝 ((1 : ℝ) / 2)) := by
sorry
/--
One can take either $A$ to be all odd integers in $[1,N]$ or all integers in $[N/2,N]$ to show
$f(N)\geq (1/2+o(1))N$.
-/
@[category research solved, AMS 11]
theorem erdos_302.variants.lower_half (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N))
(ε : ℝ) (hε : 0 < ε) :
∀ᶠ N : ℕ in atTop, ((1 : ℝ) / 2 - ε) * N ≤ f N := by
refine Filter.Eventually.of_forall fun N => ?_
set A : Finset ℕ := (Finset.range ((N + 1) / 2)).image (fun x => 2 * x + 1) with hA
have hsub : A ⊆ Finset.Icc 1 N := by
intro a ha
obtain ⟨x, hx, rfl⟩ := Finset.mem_image.1 ha
rw [Finset.mem_range] at hx
rw [Finset.mem_Icc]
omega
have hno : NoUnitFractionTriple A := by
intro a ha b hb c hc _ _ _ h
obtain ⟨x, -, rfl⟩ := Finset.mem_image.1 ha
obtain ⟨y, -, rfl⟩ := Finset.mem_image.1 hb
obtain ⟨z, -, rfl⟩ := Finset.mem_image.1 hc
have hx : ((2 * x + 1 : ℕ) : ℚ) ≠ 0 := by positivity
have hy : ((2 * y + 1 : ℕ) : ℚ) ≠ 0 := by positivity
have hz : ((2 * z + 1 : ℕ) : ℚ) ≠ 0 := by positivity
field_simp at h
have h' : (2 * y + 1) * (2 * z + 1) = (2 * x + 1) * (2 * z + 1 + (2 * y + 1)) := by
exact_mod_cast h
have := congrArg (· % 2) h'
simp [Nat.mul_mod, Nat.add_mod] at this
have hcard : A.card = (N + 1) / 2 := by
rw [hA, Finset.card_image_of_injective _ (fun x y hxy => by simpa using hxy),
Finset.card_range]
have hle : (N + 1) / 2 ≤ f N := by
rw [← hcard]
exact (hf N).2 ⟨A, hsub, hno, rfl⟩
have h1 : (N : ℝ) ≤ 2 * ((N + 1) / 2 : ℕ) := by
exact_mod_cast (by omega : N ≤ 2 * ((N + 1) / 2))
have h2 : (((N + 1) / 2 : ℕ) : ℝ) ≤ f N := by exact_mod_cast hle
have hN : (0 : ℝ) ≤ N := Nat.cast_nonneg N
nlinarith
/--
Stijn Cambie has observed that
$$f(N)\geq (5/8+o(1))N,$$
taking $A$ to be all odd integers $\leq N/4$ and all integers in $[N/2,N]$.
-/
@[category research solved, AMS 11]
theorem erdos_302.variants.lower_five_eighths (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N))
(ε : ℝ) (hε : 0 < ε) :
∀ᶠ N : ℕ in atTop, ((5 : ℝ) / 8 - ε) * N ≤ f N := by
sorry
/--
Wouter van Doorn has proved [va25] that
$$f(N) \leq (9/10+o(1))N.$$
-/
@[category research solved, AMS 11]
theorem erdos_302.variants.upper_nine_tenths (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N))
(ε : ℝ) (hε : 0 < ε) :
∀ᶠ N : ℕ in atTop, (f N : ℝ) ≤ ((9 : ℝ) / 10 + ε) * N := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Kenta Kitamura (KitaKen1 on GitHub) has given a Lean proof
([erdos-302-upper-bound](https://github.com/KitaKen1/erdos-302-upper-bound)) that
$$f(N) \leq (0.8461739827964010+o(1))N.$$
-/
@[category research solved, AMS 11,
formal_proof using lean4 at
"https://github.com/KitaKen1/erdos-302-upper-bound/blob/9447ceb/lean/Erdos302ReflectiveUpperFC.lean#L92-L99"]
theorem erdos_302.variants.upper_0_8461739827964010 (f : ℕ → ℕ)
(hf : ∀ N, IsMaxNoTripleCard N (f N)) (ε : ℝ) (hε : 0 < ε) :
∀ᶠ N : ℕ in atTop, (f N : ℝ) ≤ ((8461739827964010 : ℝ) / 10000000000000000 + ε) * N := by
sorry
end Erdos302
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos302.erdos_302.parts.i with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_i : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-302 nosorry submit erdos-302 nosorry/erdos-302/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-302-parts-ii — known result
- erdos-302-variants-lower-half — known result
- erdos-302-variants-lower-five-eighths — known result
- erdos-302-variants-upper-nine-tenths — known result
- erdos-302-variants-upper-0-8461739827964010 — known result
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.