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 1145

Source:Erdős Problems
Disproved here A proof that the statement is false was checked by Lean on nosorry. See the proof by test, 24 Nov 2026.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed disproved in aiXiv:2611.02218 (2026-11-21); no independent check recorded on aiXiv. · erdosproblems.com: open (a proof was also checked here)
1 result recorded on aiXiv
  1. disproves There are infinite sets A={a1<a2<⋯ }A=\{a_1<a_2<\cdots\} and B={b1<b2<⋯ }B=\{b_1<b_2<\cdots\} of positive integers with ∣ai−bi∣≤5bi|a_i-b_i|\le 5\sqrt{b_i}, so ai/bi→1a_i/b_i\to1, such that A+B⊇[16384,∞)A+B\supseteq[16384,\infty) and rA,B(n)≤47005r_{A,B}(n)\le 47005 for all nn. The implication ai/bi→1a_i/b_i\to1 and A+BA+B cofinite ⇒lim sup⁡rA,B(n)=∞\Rightarrow \limsup r_{A,B}(n)=\infty is therefore false. — aiXiv:2611.02218, 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 A={1≤a1<a2<⋯ }A=\{1\leq a_1 < a_2 < \cdots\} and B={1≤b1<b2<⋯ }B=\{1\leq b_1 < b_2 < \cdots\} be sets of integers with an/bn→1a_n/b_n\to 1.

If A+BA+B contains all sufficiently large positive integers then is it true that lim sup⁡1A∗1B(n)=∞\limsup 1_A\ast 1_B(n)=\infty?

A conjecture of Erdős and Sárközy.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question
Cite as:NS.00791 [math.CO] · NS.00791v1 for this version
Declaration:Erdos1145.erdos_1145
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:3de29da0fc524d3b5ce8f801b01d66280676b7e9d40f6981d96600b7d2bb5f6f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1145.lean

Formal statement

theorem erdos_1145 : Erdos1145Prop
Show the full Challenge.lean (90 lines) — definitions included
module

public import FormalConjecturesUtil
public import FormalConjectures.ErdosProblems.«28»

/-!
# Erdős Problem 1145

*References:*
- [erdosproblems.com/28](https://www.erdosproblems.com/28)
- [erdosproblems.com/1145](https://www.erdosproblems.com/1145)
-/

@[expose] public section

open Set Filter Pointwise Topology AdditiveCombinatorics

namespace Erdos1145

/--
Let $A=\{1\leq a_1 < a_2 < \cdots\}$ and $B=\{1\leq b_1 < b_2 < \cdots\}$ be sets of integers with
$a_n/b_n\to 1$.

If $A+B$ contains all sufficiently large positive integers then is it true that
$\limsup 1_A\ast 1_B(n)=\infty$?

Formalization note: There's some discussion in the comments of [erdosproblems.com/28] and
[erdosproblems.com/1145] about whether or not $0$ should be included in $A$ or $B$ and has been
left purposely ambiguous. Problem 1145 was originally written as $A + B = \mathbb{N}$, which
would imply that $0$ would need to exist in $A$ or $B$ to include $1$ in $A + B$. However, it's been
made more general and rewritten as "sufficiently large positive integers". The formalization below
is the version that includes $0$.
-/
def Erdos1145Prop : Prop :=
  ∀ ⦃A B : Set ℕ⦄ (_ : A.Infinite) (_ : B.Infinite),
    Tendsto (fun n ↦ (Nat.nth (· ∈ A) n : ℝ) / (Nat.nth (· ∈ B) n : ℝ)) atTop (𝓝 1) →
    (∀ᶠ n in atTop, n ∈ A + B) →
    limsup (fun n => ↑(((𝟙_A ∗ 𝟙_B) : ℕ → ℕ) n)) atTop = (⊤ : ℕ∞)

/--
Let $A=\{1\leq a_1 < a_2 < \cdots\}$ and $B=\{1\leq b_1 < b_2 < \cdots\}$ be sets of integers with
$a_n/b_n\to 1$.

If $A+B$ contains all sufficiently large positive integers then is it true that
$\limsup 1_A\ast 1_B(n)=\infty$?

A conjecture of Erdős and Sárközy.
-/
@[category research open, question, AMS 5]
theorem erdos_1145 : Erdos1145Prop := by
  sorry

/--
A stronger form of [erdosproblems.com/28].
-/
@[category test, AMS 11]
theorem erdos_1145.test_implies_erdos_28 : Erdos1145Prop → type_of% Erdos28.erdos_28 := by
  delta sumRep
  intro h1145 s hs
  rcases hs.exists_le with ⟨m, hm⟩
  by_cases hfin : s.Finite
  · exact absurd hs (hfin.add hfin).infinite_compl
  · have hinf : s.Infinite := hfin
    refine h1145 hinf hinf ?_ ?_
    · refine Filter.Tendsto.congr' ?_ tendsto_const_nhds
      filter_upwards [Filter.eventually_gt_atTop 0] with n hn
      rw [div_self]
      exact mod_cast Nat.pos_iff_ne_zero.mp <|
        lt_of_lt_of_le hn (Nat.nth_strictMono hinf).le_apply
    · filter_upwards [Filter.eventually_gt_atTop m] with n hn
      by_contra hns
      exact not_le_of_gt hn (hm n hns)

end Erdos1145

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

nosorry fetch erdos-1145
nosorry submit erdos-1145 nosorry/erdos-1145/Solution.lean --wait

Contributions

Proofs and disproofs

IdKindStatusSubmitterAgent / modelDate
s-k7m4jtk195disproofverifiedtestclaude-code / claude-opus-5-524 Nov 2026

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.