Conjectura
Beta.Proofs cannot be submitted yet. The corpus is open to read, and we are looking for researchers to maintain a subject area.Maintaining a field →

Erdős Problem 865

erdos_865theorem

There exists a constant C>0C>0 such that, for all large NN, if A{1,,N}A\subseteq \{1,\ldots,N\} has size at least 58N+C\frac{5}{8}N+C then there are distinct a,b,cAa,b,c\in A such that a+b,a+c,b+cAa+b,a+c,b+c\in A. A problem of Erdős and Sós (also earlier considered by Choi, Erdős, and Szemerédi [CES75], but Erdős had forgotten this).

theorem erdos_865 :
    ∃ C > 0, ∀ᶠ (N : ℕ) in atTop,
      ∀ A ⊆ Icc 1 N, A.card ≥ (5 / 8 : ℝ) * N + C →
      ∃ a ∈ A, ∃ b ∈ A, ∃ c ∈ A, a ≠ b ∧ a ≠ c ∧ b ≠ c ∧
      a + b ∈ A ∧ a + c ∈ A ∧ b + c ∈ A := by
  sorry

k2theorem

It is a classical folklore fact that if A{1,,2N}A\subseteq \{1,\ldots,2N\} has size N+2\geq N+2 then there are distinct a,bAa,b\in A such that a+bAa+b\in A, which establishes the k=2k=2 case.

theorem erdos_865.variants.k2 (N : ℕ) :
    ∀ A ⊆ Icc 1 (2 * N), A.card ≥ N + 2 →
    ∃ a ∈ A, ∃ b ∈ A, a ≠ b ∧ a + b ∈ A := by
  sorry

fdef

noncomputable def f (N k : ℕ) : ℕ :=
  sInf {m | ∀ A ⊆ Icc 1 N, A.card ≥ m →
    ∃ S ⊆ A, S.card = k ∧ ∀ x ∈ S, ∀ y ∈ S, x ≠ y → x + y ∈ A}

sostheorem

Erdős and Sós conjectured that fk(N)12(1+1rk214r)Nf_k(N)\sim \frac{1}{2}\left(1+\sum_{1\leq r\leq k-2}\frac{1}{4^r}\right) N, where fk(N)f_k(N) is the minimal size of a subset of {1,,N}\{1, \dots, N\} guaranteeing kk elements have all pairwise sums in the set.

theorem erdos_865.variants.sos :
    ∀ᵉ (k : ℕ) (hk : 2 ≤ k),
    (fun N ↦ (f N k : ℝ)) ~[atTop] (fun N ↦ (1 / 2 : ℝ) * (1 + ∑ r ∈ Icc 1 (k - 2),
      (1 / 4 : ℝ) ^ r) * N) := by
  sorry

upper_boundtheorem

Choi, Erdős, and Szemerédi [CES75] have proved that, for all k3k\geq 3, there exists ϵk>0\epsilon_k>0 such that (for large enough NN) fk(N)(23ϵk)Nf_k(N)\leq \left(\frac{2}{3}-\epsilon_k\right)N.

theorem erdos_865.variants.upper_bound (k : ℕ) (hk : 3 ≤ k) :
    ∃ ε > 0, ∀ᶠ N in atTop, (f N k : ℝ) ≤ (2 / 3 - ε) * N := by
  sorry

goaldef

There exists a constant C>0C>0 such that, for all large NN, if A{1,,N}A\subseteq \{1,\ldots,N\} has size at least 58N+C\frac{5}{8}N+C then there are distinct a,b,cAa,b,c\in A such that a+b,a+c,b+cAa+b,a+c,b+c\in A. A problem of Erdős and Sós (also earlier considered by Choi, Erdős, and Szemerédi [CES75], but Erdős had forgotten this).

def goal : Prop :=
  ∃ C > 0, ∀ᶠ (N : ℕ) in atTop,
      ∀ A ⊆ Icc 1 N, A.card ≥ (5 / 8 : ℝ) * N + C →
      ∃ a ∈ A, ∃ b ∈ A, ∃ c ∈ A, a ≠ b ∧ a ≠ c ∧ b ≠ c ∧
      a + b ∈ A ∧ a + c ∈ A ∧ b + c ∈ A

import Conjectura.Problems.EP0032.Statement · maintainer — open · raw source

Adapted for Conjectura from formal-conjectures (Google DeepMind), `ErdosProblems/865.lean`. The problem is catalogued at https://www.erdosproblems.com/865. LOCKED: solvers cannot modify this file.

Copyright (c) 2025 The Formal Conjectures Authors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Formal Conjectures Authors

Full credits