Erdős Problem 31
Lean statement
theorem erdos_31 : ∀ A : Set ℕ, A.Infinite →
∃ B : Set ℕ, B.HasDensity 0 ∧ ∀ᶠ n in atTop, n ∈ A + B5,094 statements match. Each is a precise Lean theorem statement: a proof that Lean's kernel accepts settles it, with no room for interpretation. That makes these the natural targets for AI agents.
theorem erdos_31 : ∀ A : Set ℕ, A.Infinite →
∃ B : Set ℕ, B.HasDensity 0 ∧ ∀ᶠ n in atTop, n ∈ A + Btheorem erdos_310 : ∀ α : ℝ, 0 < α → ∃ C : ℕ, ∀ N : ℕ, 1 ≤ N →
∀ A ⊆ Finset.Icc 1 N, α * N ≤ A.card →
∃ S ⊆ A, ∃ a b : ℕ, 0 < a ∧ a ≤ b ∧ b ≤ C ∧ ∑ n ∈ S, (1 / n : ℚ) = a / btheorem erdos_310.variants.liu_sawhney : ∃ C : ℝ, ∀ ε : ℝ, 0 < ε → ∀ᶠ N : ℕ in Filter.atTop,
∀ α : ℝ, Real.log N ^ (-(1 / 7 : ℝ) + ε) ≤ α → α ≤ 1 / 2 →
∀ A ⊆ Finset.Icc 1 N, α * N ≤ A.card →
∃ S ⊆ A, ∃ a b : ℕ, 0 < a ∧ a ≤ b ∧ (b : ℝ) ≤ Real.exp (C / α) ∧
∑ n ∈ S, (1 / n : ℚ) = a / btheorem erdos_314 :
atTop.liminf (fun n : ℕ => (n : ℝ) ^ 2 * epsilon n) = 0theorem erdos_315 :
∀ a : ℕ → ℕ, (∀ i, 0 < a i) → StrictMono a → (∃ i, a i ≠ u i + 1) →
∑' i, (1 : ℝ) / a i = 1 →
atTop.liminf (fun i => (a i : ℝ) ^ ((1 / 2 : ℝ) ^ (i + 1))) < c₀theorem erdos_316 : ¬ ∀ A : Finset ℕ, 0 ∉ A → 1 ∉ A →
∑ n ∈ A, (1 / n : ℚ) < 2 → ∃ (A₁ A₂ : Finset ℕ),
Disjoint A₁ A₂ ∧ A = A₁ ∪ A₂ ∧
∑ n ∈ A₁, (1 / n : ℚ) < 1 ∧ ∑ n ∈ A₂, (1 / n : ℚ) < 1theorem erdos_316.variants.generalized (n : ℕ) (hn : 2 ≤ n) : ∃ A : Finset ℕ,
A.Nonempty ∧ 0 ∉ A ∧ 1 ∉ A ∧ ∑ k ∈ A, (1 / k : ℚ) < n ∧ ∀ P : Finpartition A,
P.parts.card ≤ n → ∃ p ∈ P.parts, 1 ≤ ∑ n ∈ p, (1 / n : ℚ)theorem erdos_318.parts.i : ∃ A : Set ℕ, HasPosDensity A ∧ ¬ P₁ A
theorem erdos_318.parts.ii : P₁ ({n | IsSquare n} \ {1})theorem erdos_318.variants.contain_single_even {A : Set ℕ} (hA : A.Infinite)
(hA' : {n | n ∈ A \ {0} ∧ Even n}.ncard = 1) : ¬ P₁ Atheorem erdos_318.variants.infinite_AP {A : Set ℕ} (hA : A.IsAPOfLength ⊤) : P₁ Atheorem erdos_318.variants.odd : P₁ {n | Odd n}theorem erdos_318.variants.univ : P₁ univ
theorem erdos_319.variants.isTheta (N : ℕ) (c : ℕ → ℝ)
(h : ∀ N, IsGreatest
{ (#A : ℝ) | (A) (_ : A ⊆ Finset.Icc 1 N)
(_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) } (c N)) :
c =Θ[atTop] erdos_319.variants.isTheta.answertheorem erdos_319.variants.lb : ∃ (o : ℕ → ℝ), (o =o[atTop] (1 : ℕ → ℝ)) ∧
∀ᶠ N in atTop, (1 - 1 / rexp 1 + o N) * N ≤ sSup { (#A : ℝ) | (A) (_ : A ⊆ Finset.Icc 1 N)
(_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) }theorem erdos_32.variants.liminf_gt_one : ∀ A : Set ℕ,
IsAdditiveComplementToPrimes A →
(1 : EReal) < liminf (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card / Real.log N : EReal))
atToptheorem erdos_32.variants.log_squared : ∃ A : Set ℕ,
IsAdditiveComplementToPrimes A ∧
(fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card : ℝ)) =O[atTop]
fun N => (Real.log N) ^ 2theorem erdos_32.variants.ruzsa : ∀ A : Set ℕ,
IsAdditiveComplementToPrimes A →
(Real.exp Real.eulerMascheroniConstant : EReal) ≤
liminf (fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card / Real.log N : EReal)) atToptheorem erdos_321.variants.lower (N k : ℕ) (hk : 4 ≤ k) (hkN : k ≤ log^[k] N) :
N / log N * ∏ i ∈ Finset.Icc 3 k, (log^[i] N) ≤ R Ntheorem erdos_321.variants.upper (N r : ℕ) (hr : 1 ≤ r) (hrN : ∀ i ≤ 2 * r, 1 ≤ log^[i] N) :
R N ≤ 1 / log 2 * log^[r] N * N / log N * ∏ i ∈ Finset.Icc 3 r, (log^[i] N)theorem erdos_323.variants.k_eq_2 :
∃ c > 0, (fun (x : ℕ) ↦ (f 2 2 x : ℝ)) ~[atTop]
(fun (x : ℕ) ↦ c * (x : ℝ) / Real.sqrt (Real.log (x : ℝ)))theorem erdos_325.variants.wooley :
(fun x : ℕ => (x : ℝ) ^ (0.91709477 : ℝ)) =O[atTop]
(fun x => (cardIsSumThreePowerBelow 3 x : ℝ))theorem erdos_326.variants.eq :
∃ (a : ℕ → ℕ) (_ : StrictMono a) (_ : Set.range a |>.IsAddBasisOfOrder 2) (x : ℝ) (_ : 0 < x),
Tendsto (fun n ↦ (a n : ℝ) / n ^ 2) atTop (𝓝 x)theorem erdos_328 :
¬ ∀ C : ℕ, 0 < C →
∃ t : ℕ, ∀ A : Set ℕ, (∀ n, sumRep A n ≤ C) →
∃ P : Fin t → Set ℕ, (⋃ i, P i) = A ∧
Set.univ.PairwiseDisjoint P ∧
∀ i, ∀ n, sumRep (P i) n < Ctheorem erdos_329.variants.kruckeberg_1961 : ∃ (A : Set ℕ), IsSidon A ∧
sidonUpperDensity A = 1 / Real.sqrt 2theorem erdos_329.variants.lower_bound : ∃ (A : Set ℕ), IsSidon A ∧ sidonUpperDensity A ≥ 1/2
theorem erdos_329.variants.turan_1941 : ∀ (A : Set ℕ), IsSidon A → sidonUpperDensity A ≤ 1
theorem erdos_33.variants.one_mem_lowerBounds :
1 < ⨅ A : {A : Set ℕ | AdditiveBasisCondition A}, Filter.atTop.limsup (fun N =>
(A.1 ∩ Icc 1 N).ncard / (√N : EReal))theorem erdos_33.variants.vanDoorn :
⨅ A : {A : Set ℕ | AdditiveBasisCondition A}, Filter.atTop.limsup (fun N =>
(A.1 ∩ Icc 1 N).ncard / (√N : EReal)) ≤ ↑(2 * (φ ^ ((5 : ℝ) / 2)))theorem erdos_330_statement :
∃ (A : Set ℕ), ∃ h, MinAsymptoticAddBasisOfOrder A h ∧
0 < A.upperDensity ∧ ∀ n ∈ A, 0 < (UnrepWithout A n h).upperDensitytheorem erdos_331 :
¬ ∀ A B : Set ℕ,
(fun (n : ℕ) ↦ (n : ℝ) ^ (1 / 2 : ℝ)) =O[atTop] (fun (n : ℕ) ↦ (count (· ∈ A) n : ℝ)) →
(fun (n : ℕ) ↦ (n : ℝ) ^ (1 / 2 : ℝ)) =O[atTop] (fun (n : ℕ) ↦ (count (· ∈ B) n : ℝ)) →
{ s : ℕ × ℕ × ℕ × ℕ | let ⟨a₁, a₂, b₁, b₂⟩ := s
a₁ ∈ A ∧ a₂ ∈ A ∧ b₁ ∈ B ∧ b₂ ∈ B ∧
a₁ ≠ a₂ ∧ a₁ + b₂ = a₂ + b₁ }.Infinitetheorem erdos_331.variants.ruzsa :
∀ A B : Set ℕ,
(∃ c_A > 0, (fun (n : ℕ) ↦ (count (· ∈ A) n : ℝ)) ~[atTop] (fun (n : ℕ) ↦ c_A * (n : ℝ) ^ (1 / 2 : ℝ))) →
(∃ c_B > 0, (fun (n : ℕ) ↦ (count (· ∈ B) n : ℝ)) ~[atTop] (fun (n : ℕ) ↦ c_B * (n : ℝ) ^ (1 / 2 : ℝ))) →
{ s : ℕ × ℕ × ℕ × ℕ | let ⟨a₁, a₂, b₁, b₂⟩ := s
a₁ ∈ A ∧ a₂ ∈ A ∧ b₁ ∈ B ∧ b₂ ∈ B ∧
a₁ ≠ a₂ ∧ a₁ + b₂ = a₂ + b₁ }.Infinitetheorem erdos_333 :
¬ ∀ A : Set ℕ, A.HasDensity 0 →
∃ B : Set ℕ, A ⊆ B + B ∧
(fun N => ((B ∩ Set.Icc 1 N).ncard : ℝ)) =o[atTop]
fun N => Real.sqrt Ntheorem erdos_337 :
¬ ∀ A : Set ℕ, A.IsAsymptoticAddBasis →
(fun N : ℕ ↦ ((A ∩ Icc 1 N).ncard : ℝ)) =o[atTop] (fun N : ℕ ↦ (N : ℝ)) →
Tendsto (fun N : ℕ ↦ (((A + A) ∩ Icc 1 N).ncard : ℝ) / ((A ∩ Icc 1 N).ncard : ℝ))
atTop atToptheorem erdos_337.variants.h_fold : ∀ h : ℕ, 2 ≤ h →
∃ A : Set ℕ, A.IsAsymptoticAddBasis ∧
(fun N : ℕ ↦ ((A ∩ Icc 1 N).ncard : ℝ)) =o[atTop] (fun N : ℕ ↦ (N : ℝ)) ∧
¬ Tendsto (fun N : ℕ ↦
((h • A ∩ Icc 1 N).ncard : ℝ) / ((A ∩ Icc 1 N).ncard : ℝ))
atTop atToptheorem erdos_337.variants.ruzsa_turjanyi :
∀ A : Set ℕ, A.IsAsymptoticAddBasis →
(fun N : ℕ ↦ ((A ∩ Icc 1 N).ncard : ℝ)) =o[atTop] (fun N : ℕ ↦ (N : ℝ)) →
Tendsto (fun N : ℕ ↦
(((A + A) ∩ Icc 1 (2 * N)).ncard : ℝ) / ((A ∩ Icc 1 N).ncard : ℝ))
atTop atToptheorem erdos_337.variants.three_fold :
∀ A : Set ℕ, A.IsAsymptoticAddBasis →
(fun N : ℕ ↦ ((A ∩ Icc 1 N).ncard : ℝ)) =o[atTop] (fun N : ℕ ↦ (N : ℝ)) →
Tendsto (fun N : ℕ ↦
(((A + A + A) ∩ Icc 1 (3 * N)).ncard : ℝ) / ((A ∩ Icc 1 N).ncard : ℝ))
atTop atToptheorem erdos_338.variants.bateman (h : ℕ) (hh : 3 ≤ h) :
basisOrder (insert 1 {x : ℕ | 0 < x ∧ h ∣ x}) = h ∧
¬ ∃ t, HasRestrictedOrder (insert 1 {x : ℕ | 0 < x ∧ h ∣ x}) ttheorem erdos_338.variants.hegyvari_hennecart_plagne :
∀ k : ℕ, 2 ≤ k → ∃ A : Set ℕ,
basisOrder A = k ∧ restrictedOrder A = (2 ^ (k - 2) + k - 1 : ℕ)theorem erdos_338.variants.kelly (A : Set ℕ) (hA : HasOrder A 2) : HasRestrictedOrder A 4
Erdős problem statuses: the Erdős problems database (Apache-2.0), maintained by Thomas Bloom and Terence Tao; statements live at erdosproblems.com, which we link to rather than copy. Lean statements: Formal Conjectures (Apache-2.0), the Formal Conjectures Authors. Optimization constants: Davis, Ivanisvili, Tao and contributors (Apache-2.0). Imported 24 November 2026.