ErdosProblems/618solvedCombinatorics
Erdős Problem 618
Lean statement
theorem erdos_618 :
∀ (G : ∀ n : ℕ, SimpleGraph (Fin n)),
(∀ n, (G n).CliqueFree 3) →
(fun n => ((G n).maxDegree : ℝ)) =o[atTop] (fun n => (n : ℝ) ^ ((1 : ℝ) / 2)) →
(fun n => (h2 (G n) : ℝ)) =o[atTop] (fun n => (n : ℝ) ^ 2)source on GitHub · reference
ErdosProblems/619solvedCombinatorics
Erdős Problem 619
Lean statement
theorem erdos_619 :
¬ ∃ c > (0 : ℝ), ∀ (V : Type) [Fintype V] (G : SimpleGraph V),
G.Connected → G.CliqueFree 3 →
(minNewEdges 4 G : ℝ) < (1 - c) * Fintype.card Vsource on GitHub · reference
ErdosProblems/619solvedCombinatorics
Erdős Problem 619
Lean statement
theorem erdos_619.variants.add_edges_diam_three {V : Type*} [Fintype V]
(G : SimpleGraph V) (hG : G.Connected) (hG' : G.CliqueFree 3) :
∃ H : SimpleGraph V, G ≤ H ∧ H.CliqueFree 3 ∧ H.ediam ≤ 3source on GitHub
ErdosProblems/619solvedCombinatorics
Erdős Problem 619
Lean statement
theorem erdos_619.variants.h_five_le {V : Type*} [Fintype V]
(G : SimpleGraph V) (hG : G.Connected) (hG' : G.CliqueFree 3) :
(minNewEdges 5 G : ℝ) ≤ (Fintype.card V - 1) / 2source on GitHub
ErdosProblems/619solvedCombinatorics
Erdős Problem 619
Lean statement
theorem erdos_619.variants.h_three_le {V : Type*} [Fintype V]
(G : SimpleGraph V) (hG : G.Connected) (hG' : G.CliqueFree 3) :
minNewEdges 3 G ≤ Fintype.card Vsource on GitHub
ErdosProblems/619solvedCombinatorics
Erdős Problem 619
Lean statement
theorem erdos_619.variants.h_three_lower :
∃ c > (0 : ℝ), ∀ n : ℕ, 0 < n →
∃ (V : Type) (_ : Fintype V) (G : SimpleGraph V),
Fintype.card V = n ∧ G.Connected ∧ G.CliqueFree 3 ∧
(n : ℝ) - c ≤ minNewEdges 3 Gsource on GitHub
ErdosProblems/621solvedCombinatorics
Erdős Problem 621
Lean statement
theorem erdos_621 :
∀ (n : ℕ) (G : SimpleGraph (Fin n)) (a t : ℕ),
IsGreatest {k : ℕ | ∃ A ⊆ G.edgeFinset, A.card = k ∧
∀ x y z : Fin n, G.Adj x y → G.Adj y z → G.Adj x z →
(({s(x, y), s(y, z), s(x, z)} : Finset (Sym2 (Fin n))) ∩ A).card ≤ 1} a →
IsLeast {k : ℕ | ∃ T ⊆ G.edgeFinset, T.card = k ∧
∀ x y z : Fin n, G.Adj x y → G.Adj y z → G.Adj x z →
(T ∩ ({s(x, y), s(y, z), s(x, z)} : Finset (Sym2 (Fin n)))).Nonempty} t →
4 * (a + t) ≤ n ^ 2source on GitHub · reference
ErdosProblems/625solvedCombinatorics · Probability theory and stochastic processes
Erdős Problem 625
Lean statement
theorem erdos_625 :
∀ K : ℝ, Tendsto
(fun n : ℕ ↦ binomialRandom (Fin n) ⟨1 / 2, by norm_num⟩
{G | K ≤ (G.chromaticNumber.toNat : ℝ) - G.cochromaticNumber.toNat})
atTop (𝓝 1)source on GitHub · reference
ErdosProblems/625solvedCombinatorics · Probability theory and stochastic processes
Erdős Problem 625
Lean statement
theorem erdos_625.variants.quantitative :
Tendsto
(fun n : ℕ ↦ binomialRandom (Fin n) ⟨1 / 2, by norm_num⟩
{G | ((Real.log 2) ^ 2 / 4 * Real.log (200 / 153 : ℝ)) *
n / (Real.log n) ^ 3 ≤
(G.chromaticNumber.toNat : ℝ) - G.cochromaticNumber.toNat})
atTop (𝓝 1)source on GitHub
ErdosProblems/626solvedCombinatorics
Erdős Problem 626
Lean statement
theorem erdos_626.variants.erdos_upper :
∀ k : ℕ, 4 ≤ k → ∀ᶠ n : ℕ in atTop,
(g k n : ℝ) ≤ 2 * Real.log n / Real.log ((k : ℝ) - 2) + 1source on GitHub
ErdosProblems/626solvedCombinatorics
Erdős Problem 626
Lean statement
theorem erdos_626.variants.h_lower :
∃ c > (0 : ℝ), ∀ m : ℕ, 1 ≤ m → ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
(n : ℝ) ^ (c / (m : ℝ) - ε) ≤ (h m n : ℝ)source on GitHub
ErdosProblems/626solvedCombinatorics
Erdős Problem 626
Lean statement
theorem erdos_626.variants.h_upper_odd :
∀ m : ℕ, Odd m → ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
(h m n : ℝ) ≤ (n : ℝ) ^ (2 / ((m : ℝ) + 1) + ε)source on GitHub
ErdosProblems/626solvedCombinatorics
Erdős Problem 626
Lean statement
theorem erdos_626.variants.kostochka :
∀ k : ℕ, 4 ≤ k → ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
(1 / (4 * Real.log k) - ε) * Real.log n ≤ (g k n : ℝ)source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.afm_upper :
∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
maxChromaticCliqueRatio n ≤ (3.71943 + ε) * ((n : ℝ) / Real.logb 2 n ^ 2)source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.conditional (ℓ : ℝ)
(hR : ∀ s t k : ℕ, s * t ≤ k ^ 2 → classicalRamsey s t ≤ diagonalRamsey k)
(hlim : Tendsto (fun k : ℕ ↦ Real.logb 2 (diagonalRamsey k : ℝ) / (k : ℝ)) atTop (𝓝 ℓ)) :
Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2))
atTop (𝓝 (ℓ ^ 2))source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.erdos_1961 :
∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),
G.cliqueNum = 2 ∧
c * Real.sqrt (n : ℝ) / Real.log (n : ℝ) ≤ (G.chromaticNumber.toNat : ℝ)source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.limit_bounds :
∀ L : ℝ, Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2))
atTop (𝓝 L) → 1 / 4 ≤ L ∧ L ≤ 4source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.lower :
∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
(1 / 4 - ε) * ((n : ℝ) / Real.logb 2 n ^ 2) ≤ maxChromaticCliqueRatio nsource on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.theta :
(fun n : ℕ ↦ maxChromaticCliqueRatio n) =Θ[atTop]
(fun n : ℕ ↦ (n : ℝ) / Real.logb 2 n ^ 2)source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.tutte_zykov :
∀ k : ℕ, 2 ≤ k → ∃ (n : ℕ) (G : SimpleGraph (Fin n)),
G.cliqueNum = 2 ∧ G.chromaticNumber = (k : ℕ∞)source on GitHub
ErdosProblems/627solvedCombinatorics
Erdős Problem 627
Lean statement
theorem erdos_627.variants.upper :
∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
maxChromaticCliqueRatio n ≤ (4 + ε) * ((n : ℝ) / Real.logb 2 n ^ 2)source on GitHub
ErdosProblems/628solvedCombinatorics
Erdős Problem 628
Lean statement
theorem erdos_628.variants.independence_number_2 (V : Type*) [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj]
(hG_indep : G.indepNum = 2)
(k : ℕ)
(hG_chrom : G.chromaticNumber = (k : ℕ∞))
(hG_clique : G.CliqueFree k)
(a b : ℕ) (ha : a ≥ 2) (hb : b ≥ 2) (hab : a + b = k + 1) :
∃ (s : Set V),
(G.induce s).chromaticNumber ≥ (a : ℕ∞) ∧
(G.induce sᶜ).chromaticNumber ≥ (b : ℕ∞)source on GitHub
ErdosProblems/628solvedCombinatorics
Erdős Problem 628
Lean statement
theorem erdos_628.variants.k_5_a_3_b_3 (V : Type*) [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj]
(hG_chrom : G.chromaticNumber = (5 : ℕ∞))
(hG_clique : G.CliqueFree 5) :
∃ (s : Set V),
(G.induce s).chromaticNumber ≥ (3 : ℕ∞) ∧
(G.induce sᶜ).chromaticNumber ≥ (3 : ℕ∞)source on GitHub
ErdosProblems/628solvedCombinatorics
Erdős Problem 628
Lean statement
theorem erdos_628.variants.quasi_line (V : Type*) [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj]
(hG_quasi : IsQuasiLineGraph G)
(k : ℕ)
(hG_chrom : G.chromaticNumber = (k : ℕ∞))
(hG_clique : G.CliqueFree k)
(a b : ℕ) (ha : a ≥ 2) (hb : b ≥ 2) (hab : a + b = k + 1) :
∃ (s : Set V),
(G.induce s).chromaticNumber ≥ (a : ℕ∞) ∧
(G.induce sᶜ).chromaticNumber ≥ (b : ℕ∞)source on GitHub
ErdosProblems/629solvedCombinatorics
Erdős Problem 629
Lean statement
theorem erdos_629.variants.ert_bounds (k : ℕ) (hk : 1 ≤ k) :
2 ^ (k - 1) < n k ∧ n k < k ^ 2 * 2 ^ (k + 2)source on GitHub
ErdosProblems/629solvedCombinatorics
Erdős Problem 629
Lean statement
theorem erdos_629.variants.hmt_recursion (k : ℕ) (hk : 2 ≤ k) :
n k ≤ k * n (k - 2) + 2 ^ ksource on GitHub
ErdosProblems/629solvedCombinatorics
Erdős Problem 629
Lean statement
theorem erdos_629.variants.n_three : n 3 = 14
source on GitHub
ErdosProblems/629solvedCombinatorics
Erdős Problem 629
Lean statement
theorem erdos_629.variants.n_two : n 2 = 6
source on GitHub
ErdosProblems/629solvedCombinatorics
Erdős Problem 629
Lean statement
theorem erdos_629.variants.property_b (k : ℕ) (hk : 2 ≤ k) :
(Hypergraph.minChromaticEdges k 3).toNat ≤ n k ∧
n k ≤ 2 * (Hypergraph.minChromaticEdges k 3).toNatsource on GitHub
ErdosProblems/629solvedCombinatorics
Erdős Problem 629
Lean statement
theorem erdos_629.variants.radhakrishnan_srinivasan :
∃ c > (0 : ℝ), ∀ᶠ k : ℕ in atTop,
c * 2 ^ k * Real.sqrt (k / Real.log k) ≤ (n k : ℝ)source on GitHub
ErdosProblems/63solvedCombinatorics
Erdős Problem 63
Lean statement
theorem erdos_63 :
∀ {V : Type*} (G : SimpleGraph V), G.chromaticNumber = ⊤ →
∀ N : ℕ, ∃ n ≥ N, 2 ^ n ∈ G.cycleLengthssource on GitHub · reference
ErdosProblems/633solvedCombinatorics · Geometry
Erdős Problem 633
Lean statement
lemma IsSimiliCuttable.of_ne_zero_two_three_five (hn₀ : n ≠ 0) (hn₂ : n ≠ 2) (hn₃ : n ≠ 3)
(hn₅ : n ≠ 5) : IsSimiliCuttable n Tsource on GitHub · reference
ErdosProblems/633solvedCombinatorics · Geometry
Erdős Problem 633
Lean statement
lemma erdos_633 : T ∈ erdos_633.answer ↔
∀ n, IsCuttable n T → IsSquare nsource on GitHub · reference
ErdosProblems/633solvedCombinatorics · Geometry
Erdős Problem 633
Lean statement
lemma exists_isSimiliCuttable_iff_ne_zero_two_three_five :
∃ T, ∀ n, IsSimiliCuttable n T ↔ n ≠ 0 ∧ n ≠ 2 ∧ n ≠ 3 ∧ n ≠ 5source on GitHub · reference
ErdosProblems/633solvedCombinatorics · Geometry
Erdős Problem 633
Lean statement
lemma isCuttable_iff_isSquare_of_linearIndependent
(hTsides : LinearIndependent ℤ
![dist (T.points 0) (T.points 1),
dist (T.points 1) (T.points 2),
dist (T.points 2) (T.points 0)])
(hTangles : LinearIndependent ℤ
![∠ (T.points 0) (T.points 1) (T.points 2),
∠ (T.points 1) (T.points 2) (T.points 0),
∠ (T.points 2) (T.points 0) (T.points 1)]) :
IsCuttable n T ↔ n ≠ 0 ∧ IsSquare nsource on GitHub · reference
ErdosProblems/636solvedCombinatorics
Erdős Problem 636
Lean statement
theorem erdos_636 :
∀ C > (0 : ℝ), ∃ γ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
(G.cliqueNum : ℝ) < C * Real.log n → (G.indepNum : ℝ) < C * Real.log n →
HasManyDistinctInducedSubgraphs G (γ * (n : ℝ) ^ (5 / 2 : ℝ))source on GitHub · reference
ErdosProblems/636solvedCombinatorics
Erdős Problem 636
Lean statement
theorem erdos_636.variants.best_possible :
∃ C > (0 : ℝ), ∃ K : ℝ, ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),
(G.cliqueNum : ℝ) < C * Real.log n ∧ (G.indepNum : ℝ) < C * Real.log n ∧
¬ HasManyDistinctInducedSubgraphs G (K * (n : ℝ) ^ (5 / 2 : ℝ))source on GitHub
ErdosProblems/636solvedCombinatorics
Erdős Problem 636
Lean statement
theorem erdos_636.variants.erdos_faudree_sos :
∀ C > (0 : ℝ), ∃ γ > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
(G.cliqueNum : ℝ) < C * Real.log n → (G.indepNum : ℝ) < C * Real.log n →
HasManyDistinctInducedSubgraphs G (γ * (n : ℝ) ^ (3 / 2 : ℝ))source on GitHub
ErdosProblems/639solvedCombinatorics
Erdős Problem 639
Lean statement
theorem erdos_639 :
∀ᶠ (n : ℕ) in atTop, ∀ C : Sym2 (Fin n) → Fin 2,
{e : Sym2 (Fin n) | ¬e.IsDiag ∧
∀ x y : Fin n, e = s(x, y) →
¬∃ z, z ≠ x ∧ z ≠ y ∧ C s(x, z) = C e ∧ C s(y, z) = C e}.ncard ≤ n ^ 2 / 4source on GitHub · reference
ErdosProblems/639solvedCombinatorics
Erdős Problem 639
Lean statement
theorem erdos_639.variants.exact :
∀ n : ℕ, IsGreatest
(Set.range fun C : Sym2 (Fin n) → Fin 2 => (uncoveredEdges C).ncard)
(if n ≤ 5 then n.choose 2 else if n = 6 then 10 else n ^ 2 / 4)source on GitHub