{
  "id": "1664",
  "ident": "NS.01664",
  "slug": "erdos-311",
  "title": "Erdős Problem 311",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $\\delta(N)$ be the minimal non-zero value of $\\lvert 1-\\sum_{n\\in A}\\frac{1}{n}\\rvert$ as $A$\nranges over all subsets of $\\{1,\\ldots,N\\}$. Is it true that\n$$\\delta(N)=e^{-(c+o(1))N}$$\nfor some constant $c\\in (0,1)$?\n\nThe formulation in [ErGr80] has the additional condition that $A$ contains no $S$ with\n$\\sum_{n\\in S}\\frac{1}{n}=1$; Kovac (in the comments on the problem page) showed that the\nformulation above is equivalent. We state $\\delta(N)=e^{-(c+o(1))N}$ as\n$-\\log \\delta(N) / N \\to c$.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos311.erdos_311",
  "statement_lean": "theorem erdos_311 :\n    ∃ c ∈ Set.Ioo (0 : ℝ) 1,\n      Tendsto (fun N : ℕ => -Real.log (delta N) / N) atTop (𝓝 c)",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 311\n\n*References:*\n- [erdosproblems.com/311](https://www.erdosproblems.com/311)\n- [ErGr80] P. Erdős and R. L. Graham, *Old and new problems and results in combinatorial number\n  theory*. Monographies de L'Enseignement Mathématique (1980), p. 40.\n-/\n\n@[expose] public section\n\nnamespace Erdos311\n\nopen Finset Filter Topology\n\n/--\n`delta N` is the minimal non-zero value of $\\lvert 1-\\sum_{n\\in A}\\frac{1}{n}\\rvert$ as $A$\nranges over all subsets of $\\{1,\\ldots,N\\}$. The empty set gives the value $1$, so the set\nbelow is nonempty for every $N$.\n-/\nnoncomputable def delta (N : ℕ) : ℝ :=\n  sInf {x : ℝ | x ≠ 0 ∧ ∃ A ⊆ Icc 1 N, x = |1 - ∑ n ∈ A, (1 : ℝ) / n|}\n\n/--\nLet $\\delta(N)$ be the minimal non-zero value of $\\lvert 1-\\sum_{n\\in A}\\frac{1}{n}\\rvert$ as $A$\nranges over all subsets of $\\{1,\\ldots,N\\}$. Is it true that\n$$\\delta(N)=e^{-(c+o(1))N}$$\nfor some constant $c\\in (0,1)$?\n\nThe formulation in [ErGr80] has the additional condition that $A$ contains no $S$ with\n$\\sum_{n\\in S}\\frac{1}{n}=1$; Kovac (in the comments on the problem page) showed that the\nformulation above is equivalent. We state $\\delta(N)=e^{-(c+o(1))N}$ as\n$-\\log \\delta(N) / N \\to c$.\n-/\n@[category research open, question, AMS 11]\ntheorem erdos_311 :\n    ∃ c ∈ Set.Ioo (0 : ℝ) 1,\n      Tendsto (fun N : ℕ => -Real.log (delta N) / N) atTop (𝓝 c) := by\n  sorry\n\n/--\nThe trivial lower bound: every non-zero value of $1 - \\sum_{n \\in A} 1/n$ is a non-zero rational\nwith denominator dividing $[1, \\ldots, N]$, so $\\delta(N) \\geq 1/[1,\\ldots,N]$.\n-/\n@[category textbook, AMS 11]\ntheorem delta_ge_inv_lcm (N : ℕ) : 1 / (((Icc 1 N).lcm id : ℕ) : ℝ) ≤ delta N := by\n  sorry\n\n/-- Since $[1, \\ldots, N] = e^{(1+o(1))N}$, the trivial bound gives $\\delta(N) \\ge e^{-(1+o(1))N}$. -/\n@[category textbook, AMS 11]\ntheorem delta_ge_exp : ∀ ε > 0, ∀ᶠ N : ℕ in atTop, Real.exp (-(1 + ε) * N) ≤ delta N := by\n  sorry\n\n/-- For $N = 1$ the only non-zero value is $\\lvert 1-0\\rvert = 1$ (from $A = \\emptyset$),\nso $\\delta(1) = 1$. -/\n@[category test, AMS 11]\ntheorem delta_one : delta 1 = 1 := by\n  have hset : {x : ℝ | x ≠ 0 ∧ ∃ A ⊆ Icc (1 : ℕ) 1, x = |1 - ∑ n ∈ A, (1 : ℝ) / n|} = {1} := by\n    ext x\n    simp only [Set.mem_ofPred_eq, Set.mem_singleton_iff]\n    constructor\n    · rintro ⟨hx, A, hA, rfl⟩\n      rw [Icc_self, subset_singleton_iff] at hA\n      rcases hA with rfl | rfl\n      · simp\n      · simp at hx\n    · rintro rfl\n      exact ⟨one_ne_zero, ∅, empty_subset _, by simp⟩\n  unfold delta\n  rw [hset, csInf_singleton]\n\nend Erdos311\n",
  "statement_hash": "2ba8c0fc6348061614d96e5dea7eeb3e4d60bac3f0000109e9c9cd35f1d7e6ee",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}