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 298

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:

Does every set A⊆NA \subseteq \mathbb{N} of positive density contain some finite S⊂AS \subset A such that ∑n∈S1n=1\sum_{n \in S} \frac{1}{n} = 1?

The answer is yes, proved by Bloom [Bl21] (even if 'positive density' is interpreted as 'positive upper density', which is likely what Erdős intended).

The theorem below uses the positive-upper-density interpretation; the literal natural-density interpretation is recorded separately.

This was formalized in Lean 3 by Bloom and Mehta.

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

Formal statement

theorem erdos_298 : (∀ (A : Set ℕ), 0 ∉ A → 0 < A.upperDensity →
    ∃ (S : Finset ℕ), ↑S ⊆ A ∧ ∑ n ∈ S, (1 / n : ℚ) = 1)
Show the full Challenge.lean (60 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 298

*References:*
- [erdosproblems.com/298](https://www.erdosproblems.com/298)
- [Bl21] Bloom, T. F., On a density conjecture about unit fractions. arXiv:2112.03726 (2021).
-/

@[expose] public section

namespace Erdos298

set_option linter.style.formal_proof_palomar false in
/--
Does every set $A \subseteq \mathbb{N}$ of positive density contain some finite $S \subset A$ such that
$\sum_{n \in S} \frac{1}{n} = 1$?

The answer is yes, proved by Bloom [Bl21] (even if 'positive density' is interpreted as 'positive
upper density', which is likely what Erdős intended).

The theorem below uses the positive-upper-density interpretation; the literal natural-density
interpretation is recorded separately.

This was formalized in Lean 3 by Bloom and Mehta.
-/
@[category research solved, question, AMS 11, formal_proof using other_system at "https://github.com/b-mehta/unit-fractions/blob/master/src/final_results.lean"]
theorem erdos_298 : (∀ (A : Set ℕ), 0 ∉ A → 0 < A.upperDensity →
    ∃ (S : Finset ℕ), ↑S ⊆ A ∧ ∑ n ∈ S, (1 / n : ℚ) = 1) := by
  sorry

/--
The literal natural-density interpretation of Erdős Problem 298 follows from [Bl21].
-/
@[category research solved, question, AMS 11]
theorem erdos_298.variants.natural_density : (∀ (A : Set ℕ), 0 ∉ A →
    A.HasPosDensity →
    ∃ (S : Finset ℕ), ↑S ⊆ A ∧ ∑ n ∈ S, (1 / n : ℚ) = 1) := by
  sorry

end Erdos298

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

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