Erdős Problem 21
Lean statement
theorem erdos_21.variants.lower (n : ℕ) : (8 / 3 : ℝ) * n - 3 ≤ f n
5,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_21.variants.lower (n : ℕ) : (8 / 3 : ℝ) * n - 3 ≤ f n
theorem erdos_21.variants.small_values : f 1 = 1 ∧ f 2 = 3 ∧ f 3 = 6 ∧ f 4 = 9 ∧ f 5 = 13
theorem erdos_210.lower_bound : ∀ n : ℕ, 3 ≤ n → 3 * n ≤ 7 * f n
theorem erdos_210.parts.i : Tendsto f atTop atTop
theorem erdos_210.parts.ii :
(fun n : ℕ => (f n : ℝ)) =Θ[atTop] (fun n : ℕ => (n : ℝ))theorem erdos_210.upper_bound {n : ℕ} (hn : 3 ≤ n) : f n ≤ ntheorem erdos_210.variants.csima_sawyer : ∀ n : ℕ, 8 ≤ n → 6 * n ≤ 13 * f n
theorem erdos_210.variants.even_upper_bound :
∀ᶠ n : ℕ in atTop, Even n → 2 * f n ≤ ntheorem erdos_210.variants.green_tao : ∀ᶠ n : ℕ in atTop, n ≤ 2 * f n
theorem erdos_210.variants.green_tao_odd :
∀ᶠ n : ℕ in atTop, Odd n → 3 * (n / 4) ≤ f ntheorem erdos_210.variants.seven : f 7 = 3
theorem erdos_210.variants.sylvester_gallai {n : ℕ} (hn : 3 ≤ n) : 1 ≤ f ntheorem erdos_211 : MainBound
theorem erdos_211.variants.quadratic : QuadraticBound
theorem erdos_211.variants.sharpness :
∃ s : ℕ → Finset ℝ²,
Tendsto (fun i => (s i).card) atTop atTop ∧
(∀ (i : ℕ) (L : AffineSubspace ℝ ℝ²), IsLine L →
((s i).filter fun p => p ∈ L).card ≤ 3) ∧
Tendsto (fun i =>
(((determinedLines (s i)).filter fun L => ((s i).filter fun p => p ∈ L).card = 3).card : ℝ) /
((s i).card : ℝ) ^ 2) atTop (nhds (1 / 6 : ℝ))theorem erdos_213.variants.KK08 : Erdos213For 7
theorem erdos_214 :
∀ S : Set ℝ², UnitDistanceAvoiding S →
∃ p : Fin 4 → ℝ², (∀ i, p i ∈ Sᶜ) ∧ (p ≅ unitSquare)theorem erdos_214.variants.bounds : 4 ≤ k ∧ k ≤ 7
theorem erdos_214.variants.csizmadia_toth : ¬ HasRedCopies 8
theorem erdos_214.variants.egmrss : 3 ≤ k ∧ k ≤ 10 ^ 12
theorem erdos_214.variants.juhasz : HasRedCopies 4
theorem erdos_214.variants.juhasz_twelve_points : ¬ HasRedCopies 12
theorem erdos_215 : ∃ S : Set ℂ, ∀ u t : ℂ, ‖u‖ = 1 →
∃! z : ℂ, z ∈ (fun w => u * w + t) '' S ∧ ∃ a b : ℤ, z = a + b * Complex.Itheorem erdos_219 : ∀ N : ℕ, ∃ l ∈ primeArithmeticProgressions, N ≤ ENat.card l
theorem erdos_22 :
∀ ε : ℝ, 0 < ε → ∀ᶠ (n : ℕ) in atTop,
∃ G : SimpleGraph (Fin n), G.CliqueFree 4 ∧
(G.indepNum : ℝ) ≤ ε * n ∧ (n : ℝ) ^ 2 / 8 ≤ G.edgeFinset.cardtheorem erdos_22.variants.bollobas_erdos_lower (ε δ : ℝ) (hε : 0 < ε) (hδ : 0 < δ) :
∀ᶠ (n : ℕ) in atTop,
∃ G : SimpleGraph (Fin n), G.CliqueFree 4 ∧
(G.indepNum : ℝ) ≤ δ * n ∧ (1 / 8 - ε) * n ^ 2 ≤ G.edgeFinset.cardtheorem erdos_22.variants.fox_loh_zhao :
∃ C : ℝ, 0 < C ∧ ∀ᶠ (n : ℕ) in atTop,
∃ G : SimpleGraph (Fin n), G.CliqueFree 4 ∧
(G.indepNum : ℝ) ≤
C * (Real.log (Real.log n)) ^ (3 / 2 : ℝ) / (Real.log n) ^ (1 / 2 : ℝ) * n ∧
(n : ℝ) ^ 2 / 8 ≤ G.edgeFinset.cardtheorem erdos_22.variants.szemeredi_upper (ε : ℝ) (hε : 0 < ε) :
∃ δ : ℝ, 0 < δ ∧ ∀ᶠ (n : ℕ) in atTop,
∀ G : SimpleGraph (Fin n), G.CliqueFree 4 →
(G.indepNum : ℝ) ≤ δ * n →
(G.edgeFinset.card : ℝ) ≤ (1 / 8 + ε) * n ^ 2theorem erdos_220 :
∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, 1 ≤ n →
(sumSquaredGaps (sortedTotatives n) : ℝ) ≤ C * (n : ℝ) ^ 2 / (n.totient : ℝ)theorem erdos_221 :
∃ A : Set ℕ,
((fun N => ({a ∈ A | a ≤ N}.ncard : ℝ)) ≪ (fun N => (N : ℝ) / Real.log N)) ∧
∀ᶠ N in atTop, ∃ k a, 0 ≤ k ∧ a ∈ A ∧ N = 2 ^ k + atheorem erdos_224 {d : ℕ} (A : Finset (ℝ^d)) (hcard : A.card = 2 ^ d + 1) :
∃ x y z : ℝ^d, x ∈ A ∧ y ∈ A ∧ z ∈ A ∧
x ≠ y ∧ x ≠ z ∧ y ≠ z ∧ ObtuseAt x y ztheorem erdos_225 :
∀ (n : ℕ) (c : ℕ → ℂ), 0 < n → c 0 ≠ 0 → c n ≠ 0 →
(∀ z : ℂ, trigPoly n c z = 0 → z.im = 0) →
(∀ θ ∈ Icc (0 : ℝ) (2 * Real.pi), ‖trigPoly n c θ‖ ≤ 1) →
(∃ θ ∈ Icc (0 : ℝ) (2 * Real.pi), ‖trigPoly n c θ‖ = 1) →
∫ θ in (0 : ℝ)..(2 * Real.pi), ‖trigPoly n c θ‖ ≤ 4theorem erdos_226 :
∃ F : ℂ → ℂ, Differentiable ℂ F ∧ (∀ x : ℝ, (F x).im = 0) ∧
(∀ g : AffineMap ℝ ℝ ℝ, (fun x : ℝ => (F x).re) ≠ g) ∧
PreservesRationality (fun x : ℝ => (F x).re)theorem erdos_228 :
∃ (c₁ : ℝ) (c₂ : ℝ), ∀ᶠ n : ℕ in Filter.atTop,
∃ p : Polynomial ℂ, p.degree = n ∧
(∀ i ≤ n, p.coeff i = 1 ∨ p.coeff i = -1) ∧
∀ z : ℂ, ‖z‖ = 1 →
( √n < c₁ * ‖p.eval z‖ ∧ ‖p.eval z‖ < c₂ * √n )theorem erdos_229 :
letItheorem theorem_1
{S : ℕ → Set ℂ}
(h : ∀ (k), derivedSet (S k) = ∅) :
letItheorem erdos_23.variants.n5 :
∀ (G : SimpleGraph (Fin 25)), G.CliqueFree 3 → ∃ (H : SimpleGraph (Fin 25)),
H ≤ G ∧ H.IsBipartite ∧ (G.edgeFinset \ H.edgeFinset).card ≤ 25theorem erdos_23.variants.n5_tight :
∃ (G : SimpleGraph (Fin 25)), G.CliqueFree 3 ∧ ∀ (H : SimpleGraph (Fin 25)),
H ≤ G → H.IsBipartite → 25 ≤ (G.edgeFinset \ H.edgeFinset).cardtheorem erdos_230 : ¬ ∃ c : ℝ, 0 < c ∧ ∀ n : ℕ, 2 ≤ n →
∀ a : Fin n → ℂ, (∀ k, ‖a k‖ = 1) → (1 + c) * √n ≤ circleMax atheorem erdos_230.variants.ultraflat : ∃ a : (n : ℕ) → Fin n → ℂ, (∀ n k, ‖a n k‖ = 1) ∧
Tendsto (fun n : ℕ => ⨆ z : Metric.sphere (0 : ℂ) 1,
|‖∑ k : Fin n, a n k * (z : ℂ) ^ ((k : ℕ) + 1)‖ / √n - 1|) atTop (𝓝 0)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.