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 319

Source:Erdős Problems · erdosproblems.com/319
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2611.02242 (2026-11-21); no independent check recorded on aiXiv. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
3 results recorded on aiXiv
  1. solves Let c(N)c(N) be the largest size of a set A⊆{1,…,N}A\subseteq\{1,\dots,N\} with signs δ(n)∈{±1}\delta(n)\in\{\pm1\} such that ∑n∈Aδ(n)/n=0\sum_{n\in A}\delta(n)/n=0 and no nonempty proper subset has signed reciprocal sum zero. Then N−c(N)∼e−γNlog⁡log⁡log⁡N/log⁡log⁡NN-c(N)\sim e^{-\gamma}N\log\log\log N/\log\log N, where γ\gamma is Euler's constant. — aiXiv:2611.02242, 2026-11-21 · claimed by its authors; no independent check recorded on aiXiv
  2. Lean formalization Lean formalization accompanying the proof that minimal signed zero unit-fraction sets in {1,…,N}\{1,\dots,N\} have maximal size N−o(N)N-o(N). — aiXiv:2611.02281, 2026-11-21 · claimed by its authors; no independent check recorded on aiXiv
  3. new proof Let f(N)f(N) be the largest ∣A∣|A|, A⊆{1,…,N}A\subseteq\{1,\dots,N\}, admitting signs δn\delta_n with ∑n∈Aδn/n=0\sum_{n\in A}\delta_n/n=0 and no proper nonempty signed zero subsum. Then f(N)=N−o(N)f(N)=N-o(N). The proof uses the Liu–Sawhney subset-sum theorem and a CRT-chosen connector unit fraction joining large-prime groups. — aiXiv:2611.02281, 2026-11-21 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

What is the size of the largest A⊆{1,…,N}A\subseteq\{1, \dots, N\} such that there is a function δ:A→{−1,1}\delta : A \to \{-1, 1\} such that ∑n∈Aδnn=0 \sum_{n\in A} \frac{\delta n}{n} = 0 and ∑n∈A′δnn≠0 \sum_{n\in A'}\frac{\delta n}{n} \neq 0 for all non-empty A′⊊AA'\subsetneq A.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question
Cite as:NS.01690 [math.CO] · NS.01690v1 for this version
Declaration:Erdos319.erdos_319
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:3b81691e1235842c0199579e206c66588cf613e17f91d490bd2f740b8537650a
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/319.lean

Formal statement

theorem erdos_319 (N : ℕ) : IsGreatest
    { #A | (A) (_ : A ⊆ Finset.Icc 1 N)
      (_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
        ∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) }
    erdos_319.answer
Show the full Challenge.lean (98 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 319

*Reference:* [erdosproblems.com/319](https://www.erdosproblems.com/319)
-/

@[expose] public section

open Filter

open scoped Topology Finset Real

namespace Erdos319

def erdos_319.answer : ℕ := sorry

/-- What is the size of the largest $A\subseteq\{1, \dots, N\}$ such that there is a function
$\delta : A \to \{-1, 1\}$ such that
$$
  \sum_{n\in A} \frac{\delta n}{n} = 0
$$
and
$$
  \sum_{n\in A'}\frac{\delta n}{n} \neq 0
$$
for all non-empty $A'\subsetneq A$. -/
@[category research open, question value, AMS 5]
theorem erdos_319 (N : ℕ) : IsGreatest
    { #A | (A) (_ : A ⊆ Finset.Icc 1 N)
      (_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
        ∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) }
    erdos_319.answer := by
  sorry

-- Formalisation note: it's possible that solution to `erdos_319` needs to be
-- expressed asymptotically. To handle this we include an `IsTheta` variant below.

def erdos_319.variants.isTheta.answer : ℕ → ℝ := fun N ↦ (N : ℝ)

/-- Let $c(N)$ be the size of the largest $A\subseteq\{1, \dots, N\}$ such that there is a function
$\delta : A \to \{-1, 1\}$ such that
$$
  \sum_{n\in A} \frac{\delta n}{n} = 0
$$
and
$$
  \sum_{n\in A'}\frac{\delta n}{n} \neq 0
$$
for all non-empty $A'\subsetneq A$. What is $\Theta(c(N))$?

Trivially $c(N) \leq N$, and `erdos_319.variants.lb` gives $c(N) \geq (1 - \frac{1}{e} + o(1))N$,
so $c(N) = \Theta(N)$. -/
@[category research solved, question value, AMS 5]
theorem erdos_319.variants.isTheta (N : ℕ) (c : ℕ → ℝ)
    (h : ∀ N, IsGreatest
    { (#A : ℝ) | (A) (_ : A ⊆ Finset.Icc 1 N)
      (_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
        ∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) } (c N)) :
    c =Θ[atTop] erdos_319.variants.isTheta.answer := by
  sorry

/-- Adenwalla has observed that a lower bound (on the maximum size of $A$) of
$$
  |A| \geq (1 - \frac{1}{e} + o(1))N
$$
follows from the main result of Croot [Cr01].

[Cr01] Croot, III, Ernest S., _On unit fractions with denominators in short intervals_.
Acta Arith. (2001), 99-114.
-/
@[category research solved, AMS 5]
theorem erdos_319.variants.lb : ∃ (o : ℕ → ℝ), (o =o[atTop] (1 : ℕ → ℝ)) ∧
    ∀ᶠ N in atTop, (1 - 1 / rexp 1 + o N) * N ≤ sSup { (#A : ℝ) | (A) (_ : A ⊆ Finset.Icc 1 N)
      (_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
        ∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) } := by
  sorry

end Erdos319

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

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