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 790

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:on aiXiv: partial progress — Not resolved on aiXiv. Latest progress: bound in aiXiv:2611.02227 (2026-11-21). · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. bound Let ℓ(n)\ell(n) be the largest mm such that every set of nn distinct integers contains mm elements none of which is a sum of two or more pairwise distinct other elements of the subset. Then ℓ(n)≤Cn/(log⁡n)2\ell(n) \le C n/(\log n)^2. Together with Korsky's lower bound ℓ(n)≥cn/(log⁡n)2\ell(n) \ge c n/(\log n)^2, this gives ℓ(n)≍n/(log⁡n)2\ell(n) \asymp n/(\log n)^2. The authors state the upper bound is checked in Lean. — aiXiv:2611.02227, 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:

Let l(n)l(n) be maximal such that if A⊂ZA\subset\mathbb{Z} with ∣A∣=n\lvert A\rvert=n then there exists a sum-free B⊆AB\subseteq A with ∣B∣≥l(n)\lvert B\rvert \geq l(n) - that is, BB is such that there are no solutions to a1=a2+⋯+ara_1=a_2+\cdots+a_r with ai∈Ba_i\in B all distinct. Estimate l(n)l(n).

This is interpreted as asking for the order of growth of l(n)l(n).

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question
Cite as:NS.03215 [math.CO] · NS.03215v1 for this version
Declaration:Erdos790.erdos_790.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:76c4f8138668314600518b1009e37d467ef8e5644028d1b0ff71388de0b07e19
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/790.lean

Formal statement

theorem erdos_790.parts.i :
    (fun n ↦ (l n : ℝ)) =Θ[atTop] erdos_790.parts.i.answer
Show the full Challenge.lean (110 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 790

*References:*
- [erdosproblems.com/790](https://www.erdosproblems.com/790)
- [Er65] Erdős, P., _Extremal problems in number theory_. Proc. Sympos. Pure Math.
  8 (1965), 181–189, p. 188.
- [Er73] Erdős, P., _Problems and results on combinatorial number theory_.
  A Survey of Combinatorial Theory (1973), 117–138, p. 130.
- [CKS75] Choi, S. L. G., Komlós, J. and Szemerédi, E., _On sum-free subsequences_.
  Trans. Amer. Math. Soc. 212 (1975), 307–313.
  [DOI](https://doi.org/10.1090/S0002-9947-1975-0376594-1).
-/

@[expose] public section

open Filter
open scoped Asymptotics

namespace Erdos790


/-- No element equals a sum of two or more distinct other elements.
All integers, including zero, are allowed. -/
def DistinctSubsetSumFree (B : Finset ℤ) : Prop :=
  ∀ a ∈ B, ∀ S : Finset ℤ,
    S ⊆ B.erase a → 2 ≤ S.card → (∑ x ∈ S, x) ≠ a

def Guarantees (n k : ℕ) : Prop :=
  ∀ A : Finset ℤ, A.card = n →
    ∃ B ⊆ A, DistinctSubsetSumFree B ∧ k ≤ B.card

noncomputable def l (n : ℕ) : ℕ := by
  classical
  exact Nat.findGreatest (Guarantees n) n

def erdos_790.parts.i.answer : ℕ → ℝ := by sorry

/-- Let $l(n)$ be maximal such that if $A\subset\mathbb{Z}$ with $\lvert A\rvert=n$
then there exists a sum-free $B\subseteq A$ with $\lvert B\rvert \geq l(n)$ - that is,
$B$ is such that there are no solutions to $a_1=a_2+\cdots+a_r$
with $a_i\in B$ all distinct.
Estimate $l(n)$.

This is interpreted as asking for the order of growth of $l(n)$.
-/
@[category research open, question value, AMS 5 11]
theorem erdos_790.parts.i :
    (fun n ↦ (l n : ℝ)) =Θ[atTop] erdos_790.parts.i.answer := by sorry

/-- In particular, is it true that $l(n)n^{-1/2}\to\infty$? The lower bound in [CKS75,
Theorem (1.1)] gives a positive answer.
-/
@[category research solved, question, AMS 5 11]
theorem erdos_790.parts.ii :
    Tendsto (fun n : ℕ ↦ (l n : ℝ) / Real.sqrt (n : ℝ)) atTop atTop := by sorry

/-- Is it true that $l(n)<n^{1-c}$ for some $c>0$?
The inequality is interpreted as holding for all sufficiently large $n$.
-/
@[category research open, question, AMS 5 11]
theorem erdos_790.parts.iii :
    ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,
      (l n : ℝ) < (n : ℝ) ^ (1 - c) := by sorry

/-- Choi, Komlós and Szemerédi [CKS75, Theorem (1.1)] proved
$\sqrt{n\log n/\log\log n}\ll l(n)$.
-/
@[category research solved, AMS 5 11]
theorem erdos_790.variants.lower_bound :
    (fun n : ℕ ↦ Real.sqrt ((n : ℝ) * Real.log n / Real.log (Real.log n)))
      =O[atTop] (fun n ↦ (l n : ℝ)) := by sorry

/-- Choi, Komlós and Szemerédi [CKS75, Theorem (1.1)] proved
$l(n)\ll n/\log n$.
-/
@[category research solved, AMS 5 11]
theorem erdos_790.variants.upper_bound :
    (fun n ↦ (l n : ℝ)) =O[atTop] (fun n : ℕ ↦ (n : ℝ) / Real.log n) := by sorry

/-- Choi, Komlós and Szemerédi suggest in the closing paragraph of [CKS75]
that $l(n)\geq n^{1-o(1)}$.
-/
@[category research open, AMS 5 11]
theorem erdos_790.variants.near_linear :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,
      (n : ℝ) ^ (1 - ε) ≤ (l n : ℝ) := by sorry

end Erdos790

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

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