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 296

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 N≥1N\geq 1 and let k(N)k(N) be maximal such that there are kk disjoint A1,…,Ak⊆{1,…,N}A_1,\ldots,A_k\subseteq \{1,\ldots,N\} with ∑n∈Ai1n=1\sum_{n\in A_i}\frac{1}{n}=1 for all ii. Estimate k(N)k(N). Is it true that k(N)=o(log⁡N)k(N)=o(\log N)?

Hunter and Sawhney observed that Bloom's theorem [Bl21], together with the greedy argument, gives k(N)=(1−o(1))log⁡Nk(N)=(1-o(1))\log N.

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

Formal statement

theorem erdos_296 :
    (∀ N k : ℕ, HasDisjointUnitDecomps N k → (k : ℚ) ≤ recipSum (Finset.Icc 1 N)) ∧
      (∀ ε : ℝ, 0 < ε → ε < 1 → ∀ᶠ N : ℕ in atTop,
        HasDisjointUnitDecomps N ⌊(1 - ε) * Real.log N⌋₊)
Show the full Challenge.lean (62 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 296

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

@[expose] public section

namespace Erdos296

open Filter

/-- The reciprocal sum of a finite set of natural numbers, as a rational number. -/
def recipSum (A : Finset ℕ) : ℚ :=
  ∑ n ∈ A, (1 : ℚ) / n

/-- There are `k` pairwise disjoint subsets of `{1, ..., N}` with reciprocal sum `1`. -/
def HasDisjointUnitDecomps (N k : ℕ) : Prop :=
  ∃ f : Fin k → Finset ℕ,
    (∀ i, f i ⊆ Finset.Icc 1 N) ∧
    (∀ i, recipSum (f i) = 1) ∧
    (∀ i j : Fin k, i ≠ j → Disjoint (f i) (f j))

set_option linter.style.formal_proof_palomar false in
/--
Let $N\geq 1$ and let $k(N)$ be maximal such that there are $k$ disjoint $A_1,\ldots,A_k\subseteq \{1,\ldots,N\}$ with $\sum_{n\in A_i}\frac{1}{n}=1$ for all $i$. Estimate $k(N)$. Is it true that $k(N)=o(\log N)$?

Hunter and Sawhney observed that Bloom's theorem [Bl21], together with the greedy
argument, gives $k(N)=(1-o(1))\log N$.
-/
@[category research solved, AMS 11,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos296.lean"]
theorem erdos_296 :
    (∀ N k : ℕ, HasDisjointUnitDecomps N k → (k : ℚ) ≤ recipSum (Finset.Icc 1 N)) ∧
      (∀ ε : ℝ, 0 < ε → ε < 1 → ∀ᶠ N : ℕ in atTop,
        HasDisjointUnitDecomps N ⌊(1 - ε) * Real.log N⌋₊) := by
  sorry

end Erdos296

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

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