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 131

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2609.00230 (2026-07-24); no independent check recorded on aiXiv. · erdosproblems.com: disproved (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves Let F(N)F(N) be the largest size of A⊆{1,…,N}A\subseteq\{1,\dots,N\} in which no a∈Aa\in A divides the sum of any nonempty subset of A∖{a}A\setminus\{a\}. The author claims F(N)≤N1/5+o(1)F(N)\le N^{1/5+o(1)}, improving the earlier N1/4+o(1)N^{1/4+o(1)}. Combined with the classical lower bound F(N)≫N1/5F(N)\gg N^{1/5}, this gives F(N)=N1/5+o(1)F(N)=N^{1/5+o(1)}. — aiXiv:2609.00230, 2026-07-24 · 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:

Every non-dividing set is non-averaging. Pham and Zakharov [PhZa24] proved that a non-averaging subset of {1,…,N}\{1, \dots, N\} has size at most N1/4+o(1)N^{1/4 + o(1)}, so F(N)≤N1/4+o(1)F(N) \le N^{1/4 + o(1)}.

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

Formal statement

theorem erdos_131.variants.pham_zakharov :
    ∃ f : ℕ → ℝ, Tendsto f atTop (𝓝 0) ∧
      ∀ᶠ N : ℕ in atTop, (F N : ℝ) ≤ (N : ℝ) ^ ((1 : ℝ) / 4 + f N)
Show the full Challenge.lean (126 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 131

*References:*
- [erdosproblems.com/131](https://www.erdosproblems.com/131)
- [ELRSS99] Erdős, P. and Lev, V. and Rauzy, G. and Sándor, C. and Sárközy, A., *Greedy
  algorithm, arithmetic progressions, subset sums and divisibility*. Discrete Math. (1999),
  119-135.
- [PhZa24] Pham, H. T. and Zakharov, D., *Sharp bound for the Erdős–Straus non-averaging set
  problem*. [arXiv:2410.14624](https://arxiv.org/abs/2410.14624) (2024).
-/

@[expose] public section

open Filter Topology

namespace Erdos131

/-- A finite set $A$ of naturals is *non-dividing* if no $a \in A$ divides the sum of the
elements of any nonempty subset $S \subseteq A \setminus \{a\}$. -/
def NonDividing (A : Finset ℕ) : Prop :=
  ∀ a ∈ A, ∀ S ⊆ A.erase a, S.Nonempty → ¬ a ∣ ∑ x ∈ S, x

instance (A : Finset ℕ) : Decidable (NonDividing A) := by
  unfold NonDividing; infer_instance

/-- $F(N)$ is the maximal size of a non-dividing subset of $\{1, \dots, N\}$. -/
def F (N : ℕ) : ℕ :=
  (((Finset.Icc 1 N).powerset).filter NonDividing).sup Finset.card

/-- $F(N)$ is attained: some non-dividing $A \subseteq \{1, \dots, N\}$ has exactly $F(N)$
elements. -/
@[category API, AMS 11]
theorem exists_card_eq_F (N : ℕ) :
    ∃ A ⊆ Finset.Icc 1 N, NonDividing A ∧ A.card = F N := by
  obtain ⟨A, hA, h⟩ := Finset.exists_mem_eq_sup
    (((Finset.Icc 1 N).powerset).filter NonDividing)
    ⟨∅, by simp [NonDividing]⟩ Finset.card
  simp only [Finset.mem_filter, Finset.mem_powerset] at hA
  exact ⟨A, hA.1, hA.2, h.symm⟩

/-- Every non-dividing $A \subseteq \{1, \dots, N\}$ has at most $F(N)$ elements. -/
@[category API, AMS 11]
theorem card_le_F {N : ℕ} {A : Finset ℕ} (hA : A ⊆ Finset.Icc 1 N) (hnd : NonDividing A) :
    A.card ≤ F N :=
  Finset.le_sup (f := Finset.card) (by simp [hA, hnd])

/-- Trivial upper bound: $F(N) \le N$. -/
@[category API, AMS 11]
theorem F_le (N : ℕ) : F N ≤ N := by
  obtain ⟨A, hA, -, h⟩ := exists_card_eq_F N
  simpa [← h] using Finset.card_le_card hA

/-- $F$ is monotone. -/
@[category API, AMS 11]
theorem F_mono : Monotone F := fun _ _ hMN =>
  let ⟨_, hA, hnd, h⟩ := exists_card_eq_F _
  h ▸ card_le_F (hA.trans (Finset.Icc_subset_Icc_right hMN)) hnd

/-- Trivial lower bound: for $N \ge 1$, the singleton $\{N\}$ is non-dividing, so
$1 \le F(N)$. -/
@[category API, AMS 11]
theorem one_le_F {N : ℕ} (hN : 1 ≤ N) : 1 ≤ F N := by
  have h := card_le_F (N := N) (A := {N}) (by simp [hN]) (by
    intro a ha S hS hne
    have : S = ∅ := by simpa [Finset.mem_singleton.1 ha] using hS
    simp [this] at hne)
  simpa using h

/-- Every non-dividing set is non-averaging. Pham and Zakharov [PhZa24] proved that a
non-averaging subset of $\{1, \dots, N\}$ has size at most $N^{1/4 + o(1)}$, so
$F(N) \le N^{1/4 + o(1)}$. -/
@[category research solved, AMS 11]
theorem erdos_131.variants.pham_zakharov :
    ∃ f : ℕ → ℝ, Tendsto f atTop (𝓝 0) ∧
      ∀ᶠ N : ℕ in atTop, (F N : ℝ) ≤ (N : ℝ) ^ ((1 : ℝ) / 4 + f N) := by
  sorry

/-- Erdős, Lev, Rauzy, Sándor and Sárközy [ELRSS99] proved $F(N) < 3 N^{1/2} + 1$. -/
@[category research solved, AMS 11]
theorem erdos_131.variants.elrss (N : ℕ) : (F N : ℝ) < 3 * Real.sqrt N + 1 := by
  sorry

/--
Let $F(N)$ be the maximal size of $A \subseteq \{1, \dots, N\}$ such that no $a \in A$ divides
the sum of any distinct elements of $A \setminus \{a\}$. Is it true that
$F(N) > N^{1/2 - o(1)}$?

The answer is no, by the bound of Pham and Zakharov [PhZa24]
(`erdos_131.variants.pham_zakharov`).
-/
@[category research solved, question, AMS 11]
theorem erdos_131 :
    ¬ ∃ f : ℕ → ℝ, Tendsto f atTop (𝓝 0) ∧
      ∀ᶠ N : ℕ in atTop, (N : ℝ) ^ ((1 : ℝ) / 2 - f N) < (F N : ℝ) := by
  rintro ⟨f, hf, hlow⟩
  obtain ⟨g, hg, hup⟩ := erdos_131.variants.pham_zakharov
  have hf' : ∀ᶠ N : ℕ in atTop, f N < 1 / 8 := hf.eventually (gt_mem_nhds (by norm_num))
  have hg' : ∀ᶠ N : ℕ in atTop, g N < 1 / 8 := hg.eventually (gt_mem_nhds (by norm_num))
  obtain ⟨N, hN1, h1, h2, h3, h4⟩ :=
    ((eventually_ge_atTop 1).and (hlow.and (hup.and (hf'.and hg')))).exists
  have hle : (N : ℝ) ^ ((1 : ℝ) / 4 + g N) ≤ (N : ℝ) ^ ((1 : ℝ) / 2 - f N) :=
    Real.rpow_le_rpow_of_exponent_le (by exact_mod_cast hN1) (by linarith)
  linarith

end Erdos131

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

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