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 300

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

Let A(N)A(N) denote the maximal cardinality of A⊆{1,…,N}A\subseteq \{1,\ldots,N\} such that ∑n∈S1n≠1\sum_{n\in S}\frac{1}{n}\neq 1 for all S⊆AS\subseteq A. Estimate A(N)A(N).

Erdős and Graham [ErGr80] believe the answer is A(N)=(1+o(1))NA(N)=(1+o(1))N. Croot [Cr03] disproved this, showing the existence of some constant c<1c<1 such that A(N)<cNA(N)<cN for all large NN. It is trivial that A(N)≥(1−1e+o(1))NA(N)\geq (1-\frac{1}{e}+o(1))N. Liu and Sawhney [LiSa24] have proved that A(N)=(1−1/e+o(1))NA(N)=(1-1/e+o(1))N.

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

Formal statement

theorem erdos_300 : Tendsto (fun N : ℕ => (A N : ℝ) / N) atTop (𝓝 (1 - 1 / Real.exp 1))
Show the full Challenge.lean (72 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 300

*References:*
- [erdosproblems.com/300](https://www.erdosproblems.com/300)
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference "Paul
  Erdős and his mathematics", Budapest, July 1999 (1999).
- [Cr03] Croot, III, Ernest S., *On a coloring conjecture about unit fractions*. Ann. of Math. (2)
  (2003), 545-556.
- [LiSa24] Liu, Y. and Sawhney, M., *On further questions regarding unit fractions*.
  arXiv:2404.07113 (2024).
-/

@[expose] public section

open Filter Topology

namespace Erdos300

/-- $A(N)$ is the maximal cardinality of $A\subseteq \{1,\ldots,N\}$ such that
$\sum_{n\in S}\frac{1}{n}\neq 1$ for all $S\subseteq A$. -/
noncomputable def A (N : ℕ) : ℕ :=
  sSup {m : ℕ | ∃ B : Finset ℕ, B ⊆ Finset.Icc 1 N ∧ (∀ S ⊆ B, ∑ n ∈ S, (1 / n : ℚ) ≠ 1) ∧
    B.card = m}

set_option linter.style.formal_proof_palomar false in
/--
Let $A(N)$ denote the maximal cardinality of $A\subseteq \{1,\ldots,N\}$ such that
$\sum_{n\in S}\frac{1}{n}\neq 1$ for all $S\subseteq A$. Estimate $A(N)$.

Erdős and Graham [ErGr80] believe the answer is $A(N)=(1+o(1))N$. Croot [Cr03] disproved this,
showing the existence of some constant $c<1$ such that $A(N)<cN$ for all large $N$. It is
trivial that $A(N)\geq (1-\frac{1}{e}+o(1))N$. Liu and Sawhney [LiSa24] have proved that
$A(N)=(1-1/e+o(1))N$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos300.lean#L4356"]
theorem erdos_300 : Tendsto (fun N : ℕ => (A N : ℝ) / N) atTop (𝓝 (1 - 1 / Real.exp 1)) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/-- Erdős and Graham [ErGr80] believed that $A(N)=(1+o(1))N$; this was disproved by Croot
[Cr03]. -/
@[category research solved, question, AMS 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos300.lean#L4356"]
theorem erdos_300.variants.erdos_graham :
    ¬ Tendsto (fun N : ℕ => (A N : ℝ) / N) atTop (𝓝 1) := by
  sorry

end Erdos300

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

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