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 311

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let δ(N)\delta(N) be the minimal non-zero value of ∣1−∑n∈A1n∣\lvert 1-\sum_{n\in A}\frac{1}{n}\rvert as AA ranges over all subsets of {1,…,N}\{1,\ldots,N\}. Is it true that δ(N)=e−(c+o(1))N\delta(N)=e^{-(c+o(1))N} for some constant c∈(0,1)c\in (0,1)?

The formulation in [ErGr80] has the additional condition that AA contains no SS with ∑n∈S1n=1\sum_{n\in S}\frac{1}{n}=1; Kovac (in the comments on the problem page) showed that the formulation above is equivalent. We state δ(N)=e−(c+o(1))N\delta(N)=e^{-(c+o(1))N} as −log⁡δ(N)/N→c-\log \delta(N) / N \to c.

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

Formal statement

theorem erdos_311 :
    ∃ c ∈ Set.Ioo (0 : ℝ) 1,
      Tendsto (fun N : ℕ => -Real.log (delta N) / N) atTop (𝓝 c)
Show the full Challenge.lean (92 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 311

*References:*
- [erdosproblems.com/311](https://www.erdosproblems.com/311)
- [ErGr80] P. Erdős and R. L. Graham, *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathématique (1980), p. 40.
-/

@[expose] public section

namespace Erdos311

open Finset Filter Topology

/--
`delta N` is the minimal non-zero value of $\lvert 1-\sum_{n\in A}\frac{1}{n}\rvert$ as $A$
ranges over all subsets of $\{1,\ldots,N\}$. The empty set gives the value $1$, so the set
below is nonempty for every $N$.
-/
noncomputable def delta (N : ℕ) : ℝ :=
  sInf {x : ℝ | x ≠ 0 ∧ ∃ A ⊆ Icc 1 N, x = |1 - ∑ n ∈ A, (1 : ℝ) / n|}

/--
Let $\delta(N)$ be the minimal non-zero value of $\lvert 1-\sum_{n\in A}\frac{1}{n}\rvert$ as $A$
ranges over all subsets of $\{1,\ldots,N\}$. Is it true that
$$\delta(N)=e^{-(c+o(1))N}$$
for some constant $c\in (0,1)$?

The formulation in [ErGr80] has the additional condition that $A$ contains no $S$ with
$\sum_{n\in S}\frac{1}{n}=1$; Kovac (in the comments on the problem page) showed that the
formulation above is equivalent. We state $\delta(N)=e^{-(c+o(1))N}$ as
$-\log \delta(N) / N \to c$.
-/
@[category research open, question, AMS 11]
theorem erdos_311 :
    ∃ c ∈ Set.Ioo (0 : ℝ) 1,
      Tendsto (fun N : ℕ => -Real.log (delta N) / N) atTop (𝓝 c) := by
  sorry

/--
The trivial lower bound: every non-zero value of $1 - \sum_{n \in A} 1/n$ is a non-zero rational
with denominator dividing $[1, \ldots, N]$, so $\delta(N) \geq 1/[1,\ldots,N]$.
-/
@[category textbook, AMS 11]
theorem delta_ge_inv_lcm (N : ℕ) : 1 / (((Icc 1 N).lcm id : ℕ) : ℝ) ≤ delta N := by
  sorry

/-- Since $[1, \ldots, N] = e^{(1+o(1))N}$, the trivial bound gives $\delta(N) \ge e^{-(1+o(1))N}$. -/
@[category textbook, AMS 11]
theorem delta_ge_exp : ∀ ε > 0, ∀ᶠ N : ℕ in atTop, Real.exp (-(1 + ε) * N) ≤ delta N := by
  sorry

/-- For $N = 1$ the only non-zero value is $\lvert 1-0\rvert = 1$ (from $A = \emptyset$),
so $\delta(1) = 1$. -/
@[category test, AMS 11]
theorem delta_one : delta 1 = 1 := by
  have hset : {x : ℝ | x ≠ 0 ∧ ∃ A ⊆ Icc (1 : ℕ) 1, x = |1 - ∑ n ∈ A, (1 : ℝ) / n|} = {1} := by
    ext x
    simp only [Set.mem_ofPred_eq, Set.mem_singleton_iff]
    constructor
    · rintro ⟨hx, A, hA, rfl⟩
      rw [Icc_self, subset_singleton_iff] at hA
      rcases hA with rfl | rfl
      · simp
      · simp at hx
    · rintro rfl
      exact ⟨one_ne_zero, ∅, empty_subset _, by simp⟩
  unfold delta
  rw [hset, csInf_singleton]

end Erdos311

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

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