Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 13

Source:Erdős Problems · erdosproblems.com/13
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

If A⊆{1,...,N}A \subseteq \{1, ..., N\} is a set with no a,b,c∈Aa, b, c \in A such that a∣(b+c)a | (b+c) and a<min⁡(b,c)a < \min(b,c), then ∣A∣≤N/3+O(1)|A| \le N/3 + O(1). This has been solved by Bedert [Be23].

[Be23] Bedert, B., On a problem of Erdős and Sárközy about sequences with no term dividing the sum of two larger terms. arXiv:2301.07065 (2023).

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

Formal statement

theorem erdos_13 : ∃ C : ℝ, ∀ N : ℕ, ∀ A ⊆ Icc 1 N, IsForbiddenTripleFree A →
    (A.card : ℝ) ≤ (N : ℝ) / 3 + C
Show the full Challenge.lean (68 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 13

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

@[expose] public section

open Finset Nat

namespace Erdos13

/--
A finite set of naturals `A` is said to be forbidden-triple-free if for all `a, b, c ∈ A`,
if `a < min(b, c)` then `a` does not divide `b + c`.
-/
def IsForbiddenTripleFree (A : Finset ℕ) : Prop :=
  ∀ a ∈ A, ∀ b ∈ A, ∀ c ∈ A, a < min b c → ¬ (a ∣ b + c)

set_option linter.style.formal_proof_palomar false in
/--
If $A \subseteq \{1, ..., N\}$ is a set with no $a, b, c \in A$ such that $a | (b+c)$ and
$a < \min(b,c)$, then $|A| \le N/3 + O(1)$. This has been solved by Bedert [Be23].

[Be23] Bedert, B., _On a problem of Erdős and Sárközy about sequences with no term dividing
the sum of two larger terms_. arXiv:2301.07065 (2023).
-/
@[category research solved, AMS 5 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos13.lean#L8261"]
theorem erdos_13 : ∃ C : ℝ, ∀ N : ℕ, ∀ A ⊆ Icc 1 N, IsForbiddenTripleFree A →
    (A.card : ℝ) ≤ (N : ℝ) / 3 + C := by
  sorry

/--
A general version asks, for a fixed $r \in \mathbb{N}$, if a set
$A \subseteq \{1, ..., N\}$ has no $a \in A$ and $b_1, ..., b_r \in A$ such that
$a | (b_1 + ... + b_r)$ and $a < \min(b_1, ..., b_r)$, then is it true that
$|A| \le N/(r+1) + O(1)$?
-/
@[category research open, question, AMS 5 11]
theorem erdos_13.variants.general : ∀ r : ℕ, ∃ C : ℝ, ∀ N : ℕ,
    ∀ A ⊆ Icc 1 N,
    (∀ a ∈ A, ∀ (b : Fin r → ℕ), (∀ i, b i ∈ A) → (∀ i, a < b i) →
      ¬ (a ∣ ∑ i, b i)) →
    (A.card : ℝ) ≤ (N : ℝ) / (r + 1) + C := by
  sorry

end Erdos13

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

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