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 245

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

Let A⊆NA\subseteq\mathbb{N} be an infinite set such that ∣A∩{1,...,N}∣=o(N)|A\cap \{1, ..., N\}| = o(N). Is it true that lim sup⁡N→∞∣(A+A)∩{1,...,N}∣∣A∩{1,...,N}∣≥3? \limsup_{N\to\infty}\frac{|(A + A)\cap \{1, ..., N\}|}{|A \cap \{1, ..., N\}|} \geq 3?

The answer is yes, proved by Freiman [Fr73].

[Fr73] Fre\u{\i}man, G. A., Foundations of a structural theory of set addition. (1973), vii+108.

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

Formal statement

theorem erdos_245 :
    ∀ (A : Set ℕ), A.Infinite →
      atTop.Tendsto (fun N ↦ (A ∩ Icc 1 ⌊N⌋₊ |>.ncard : ℝ) / N) (𝓝 0) →
      3 ≤ atTop.limsup
        fun N : ℝ ↦ ((A + A) ∩ Icc 1 ⌊N⌋₊ |>.ncard : EReal)
          / (A ∩ Icc 1 ⌊N⌋₊).ncard
Show the full Challenge.lean (70 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 245

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

@[expose] public section

namespace Erdos245

open Filter Set Erdos245

open scoped Pointwise Topology

/--
Let $A\subseteq\mathbb{N}$ be an infinite set such that $|A\cap \{1, ..., N\}| = o(N)$.
Is it true that
$$
\limsup_{N\to\infty}\frac{|(A + A)\cap \{1, ..., N\}|}{|A \cap \{1, ..., N\}|} \geq 3?
$$

The answer is yes, proved by Freiman [Fr73].

[Fr73] Fre\u{\i}man, G. A., _Foundations of a structural theory of set addition_. (1973), vii+108.
-/
@[category research solved, question, AMS 5 11]
theorem erdos_245 :
    ∀ (A : Set ℕ), A.Infinite →
      atTop.Tendsto (fun N ↦ (A ∩ Icc 1 ⌊N⌋₊ |>.ncard : ℝ) / N) (𝓝 0) →
      3 ≤ atTop.limsup
        fun N : ℝ ↦ ((A + A) ∩ Icc 1 ⌊N⌋₊ |>.ncard : EReal)
          / (A ∩ Icc 1 ⌊N⌋₊).ncard := by
  sorry

/--
Let $A\subseteq\mathbb{N}$ be an infinite set such that $|A\cap \{1, ..., N\}| = o(N)$.
Then
$$
\limsup_{N\to\infty}\frac{|(A + A)\cap \{1, ..., N\}|}{|A \cap \{1, ..., N\}|} \geq 2.
$$
-/
@[category research solved, AMS 5 11]
theorem erdos_245.variants.two (A : Set ℕ) (h_inf : A.Infinite)
    (hf : atTop.Tendsto (fun N ↦ (A ∩ Icc 1 ⌊N⌋₊ |>.ncard : ℝ) / N) (𝓝 0)) :
    2 ≤ atTop.limsup
      fun N : ℝ ↦ ((A + A) ∩ Icc 1 ⌊N⌋₊ |>.ncard : EReal)
        / (A ∩ Icc 1 ⌊N⌋₊).ncard := by
  sorry

end Erdos245

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

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