Erdős Problem 28
Lean statement
theorem erdos_28 (A : Set ℕ) (h : (A + A)ᶜ.Finite) :
limsup (fun (n : ℕ) => (sumRep A n : ℕ∞)) atTop = (⊤ : ℕ∞)1,952 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_28 (A : Set ℕ) (h : (A + A)ᶜ.Finite) :
limsup (fun (n : ℕ) => (sumRep A n : ℕ∞)) atTop = (⊤ : ℕ∞)theorem erdos_282 {x : ℚ} (hx : x ∈ Set.Ioo 0 1) (hx_den : Odd x.den) :
greedyUnitFractionRem { n | Odd n } x =ᶠ[atTop] 0theorem erdos_282.variants.general (x : ℚ) (A : Set ℕ) :
greedyUnitFractionRem A x =ᶠ[atTop] 0 ↔ (x, A) ∈ erdos_282.variants.general.answertheorem erdos_282.variants.graham :
∀ x : ℚ, x ∈ Set.Ioo 0 1 → ∀ a d : ℕ, 1 < d →
(x.den / x.den.gcd (a.gcd d)).gcd (d / a.gcd d) = 1 →
greedyUnitFractionRem { n | n ≡ a [MOD d] } x =ᶠ[atTop] 0theorem erdos_282.variants.sq :
∀ x : ℚ, (x : ℝ) ∈ Set.Ico 0 (π ^ 2 / 6 - 1) ∪ Set.Ico 1 (π ^ 2 / 6) →
greedyUnitFractionRem { n | IsSquare n } x =ᶠ[atTop] 0theorem erdos_287 :
∀ (k : ℕ) (hk : 2 ≤ k) (s : Fin k → ℕ),
StrictMono s → 1 < s ⟨0, by omega⟩ →
∑ i : Fin k, 1/ (s i : ℝ) = 1 →
3 ≤ max_gap k stheorem erdos_287.variants.prime_conjecture :
∃ N₀ : ℕ, ∀ N : ℕ, N₀ ≤ N →
∃ p : ℕ, Nat.Prime p ∧ N ≤ p ∧ p ≤ 2 * N ∧ Nat.Prime ((p + 1) / 2)theorem erdos_288 : Set.Finite { I : Fin 2 → ℕ+ × ℕ+ |
∀ j, (I j).1 ≤ (I j).2 ∧
∃ n : ℕ+, (∑ j : Fin 2, ∑ nⱼ ∈ Set.Icc (I j).1 (I j).2, (nⱼ⁻¹ : ℚ)) = n }theorem erdos_288.variants.exists_k_gt_2 :
∃ k > 2, Set.Finite { I : Fin k → ℕ+ × ℕ+ |
∀ j, (I j).1 ≤ (I j).2 ∧
∃ n : ℕ+, (∑ j : Fin k, ∑ nⱼ ∈ Set.Icc (I j).1 (I j).2, (nⱼ⁻¹ : ℚ)) = n }theorem erdos_288.variants.i2_card_eq_1 : Set.Finite { (I, n₂) : (ℕ+ × ℕ+) × ℕ+ |
I.1 ≤ I.2 ∧ ∃ n : ℕ+, ∑ n₁ ∈ Set.Icc I.1 I.2, (n₁⁻¹ : ℚ) + (n₂⁻¹ : ℚ) = n }theorem erdos_288.variants.k_intervals : ∀ k, Set.Finite { I : Fin k → ℕ+ × ℕ+ |
∀ j, (I j).1 ≤ (I j).2 ∧
∃ n : ℕ+, (∑ j : Fin k, ∑ nⱼ ∈ Set.Icc (I j).1 (I j).2, (nⱼ⁻¹ : ℚ)) = n }theorem erdos_291.parts.i :
{ n : ℕ | Nat.gcd (a n) (L n) = 1 }.Infinitetheorem erdos_291.variants.shiu_heuristic_asymptotic :
Asymptotics.IsTheta atTop
(fun x : ℕ ↦ ((((Finset.Icc 1 x).filter (fun n ↦ Nat.gcd (a n) (L n) = 1)).card : ℝ)))
(fun x : ℕ ↦ (x : ℝ) / Real.log x)theorem erdos_291.variants.shiu_heuristic_density_zero :
Filter.Tendsto (fun N : ℕ ↦
((((Finset.Icc 1 N).filter (fun n ↦ Nat.gcd (a n) (L n) = 1)).card : ℝ) / (N : ℝ)))
atTop (nhds 0)theorem erdos_295 :
Filter.atTop.Tendsto (fun N => k N - (rexp 1 - 1)*N) Filter.atToptheorem erdos_30 :
∀ᵉ (ε > 0), (fun N => h N - (N : Real).sqrt) =O[atTop] fun N => (N : ℝ)^(ε : ℝ)theorem erdos_30.variants.O_one :
(fun N => h N - (N : ℝ).sqrt) =O[atTop] fun _ => (1 : ℝ)theorem erdos_302.parts.i (f : ℕ → ℕ) (hf : ∀ N, IsMaxNoTripleCard N (f N)) :
Tendsto (fun N : ℕ => (f N : ℝ) / N) atTop (𝓝 erdos_302.parts.i.answer)theorem erdos_307 : ∃ P Q : Finset ℕ, (∀ p ∈ P, p.Prime) ∧ (∀ q ∈ Q, q.Prime) ∧
1 = (∑ p ∈ P, (p : ℚ)⁻¹) * (∑ q ∈ Q, (q : ℚ)⁻¹)theorem erdos_307.variants.coprime_one_notMem : ∃ P Q : Finset ℕ, 0 ∉ P ∩ Q ∧ 1 ∉ P ∪ Q ∧
1 < #P ∧ 1 < #Q ∧ Set.Pairwise P Nat.Coprime ∧ Set.Pairwise Q Nat.Coprime ∧
1 = (∑ p ∈ P, (p : ℚ)⁻¹) * (∑ q ∈ Q, (q : ℚ)⁻¹)theorem erdos_308.variants.all_N :
∀ N ≥ 1, ∃ m, representable N = Set.Icc 1 mtheorem erdos_311 :
∃ c ∈ Set.Ioo (0 : ℝ) 1,
Tendsto (fun N : ℕ => -Real.log (delta N) / N) atTop (𝓝 c)theorem erdos_312 :
∃ (c : ℝ), 0 < c ∧
∀ (K : ℝ), 1 < K →
∃ (N₀ : ℕ),
∀ (n : ℕ) (a : Fin n → ℕ),
(n ≥ N₀ ∧ (∑ i : Fin n, (a i : ℝ)⁻¹) > K) →
∃ (S : Finset (Fin n)),
1 - Real.exp (-(c * K)) < (∑ i ∈ S, (a i : ℝ)⁻¹) ∧
∑ i ∈ S, (a i : ℝ)⁻¹ ≤ 1theorem erdos_313 : erdos313Solutions.Infinite
theorem erdos_313.variants.primary_pseudoperfect_are_infinite :
Set.Infinite {n | IsPrimaryPseudoperfect n}theorem erdos_317 :
∃ c > 0, ∀ n ≥ 1, ∃ δ : Fin n → ℚ,
Set.range δ ⊆ {-1, 0, 1} ∧
letI lhs : ℝtheorem erdos_317.variants.claim2 :
∀ᶠ n in atTop, ∀ δ : (Fin n) → ℚ, δ '' Set.univ ⊆ {-1,0,1} →
letI lhstheorem erdos_319 (N : ℕ) : IsGreatest
{ #A | (A) (_ : A ⊆ Finset.Icc 1 N)
(_ : ∃ δ : ℕ → ℤˣ, ∑ n ∈ A, (δ n : ℚ) / n = 0 ∧
∀ A' ⊂ A, A'.Nonempty → ∑ n ∈ A', (δ n : ℚ) / n ≠ 0) }
(erdos_319.answer N)theorem erdos_32 : ∃ A : Set ℕ,
IsAdditiveComplementToPrimes A ∧
(fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card : ℝ)) =o[atTop]
fun N => (Real.log N) ^ 2theorem erdos_32.variants.log_bound : ∃ A : Set ℕ,
IsAdditiveComplementToPrimes A ∧
(fun N => (((Finset.Icc 1 N).filter (· ∈ A)).card : ℝ)) =O[atTop]
fun N => Real.log Ntheorem erdos_321 (N : ℕ) :
R N = erdos_321.answer Ntheorem erdos_321.variants.isBigO :
(fun N ↦ (R N : ℝ)) =O[atTop] erdos_321.variants.isBigO.answertheorem erdos_321.variants.isLittleO :
(fun N ↦ (R N : ℝ)) =o[atTop] erdos_321.variants.isLittleO.answertheorem erdos_321.variants.isTheta :
(fun N ↦ (R N : ℝ)) =Θ[atTop] erdos_321.variants.isTheta.answertheorem erdos_322 :
∀ k : ℕ, 3 ≤ k → ∃ c > (0 : ℝ),
{n : ℕ | (n : ℝ) ^ c < representationCount k n}.Infinitetheorem erdos_323.parts.i :
∀ k ≥ 1, ∀ ε > (0 : ℝ),
(fun (x : ℕ) ↦ (x : ℝ) ^ (1 - ε)) =O[atTop] (fun (x : ℕ) ↦ (f k k x : ℝ))theorem erdos_323.parts.ii :
∀ k m : ℕ, 1 ≤ m → m < k →
(fun (x : ℕ) ↦ (x : ℝ) ^ ((m : ℝ) / (k : ℝ))) =O[atTop] (fun (x : ℕ) ↦ (f k m x : ℝ))theorem erdos_323.variants.k_gt_2 :
∀ k > 2, (fun (x : ℕ) ↦ (f k k x : ℝ)) =o[atTop] (fun (x : ℕ) ↦ (x : ℝ))theorem erdos_324 :
∃ f : ℤ[X], {(a, b) : ℕ × ℕ | a < b}.InjOn fun (a, b) => f.eval (a : ℤ) + f.eval (b : ℤ)theorem erdos_324.variants.quintic : {(a, b) : ℕ × ℕ | a < b}.InjOn fun (a, b) => a ^ 5 + b ^ 5Erdő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.