The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.SimpleGraph.Extremal.TuranDensity

13 declarations. Mathlib docs · Source

Turán density

This file defines the Turán density of a simple graph.

Main definitions

  • SimpleGraph.turanDensity H is the Turán density of the simple graph H, defined as the limit of extremalNumber n H / n.choose 2 as n approaches ∞.

  • SimpleGraph.tendsto_turanDensity is the proof that SimpleGraph.turanDensity is well-defined.

  • SimpleGraph.isEquivalent_extremalNumber is the proof that extremalNumber n H is asymptotically equivalent to turanDensity H * n.choose 2 as n approaches ∞.

  • SimpleGraph.isContained_of_card_edgeFinset: simple graphs on n vertices with at least (turanDensity H + o(1)) * n ^ 2 edges contain H, for all sufficiently large n.

theorem SimpleGraph.antitoneOn_extremalNumber_div_choose_two E1 #

∀ {W : Type u_1} (H : SimpleGraph W), AntitoneOn (fun n ↦ ↑(SimpleGraph.extremalNumber n H) / ↑(n.choose 2)) (Set.Ici 2)

def SimpleGraph.turanDensity E3 #

{W : Type u_1} → SimpleGraph W → ℝ

The Turán density of a simple graph H is the limit of extremalNumber n H / n.choose 2 as n approaches ∞.

See SimpleGraph.tendsto_turanDensity for proof of existence.

theorem SimpleGraph.isGLB_turanDensity E1 #

∀ {W : Type u_1} (H : SimpleGraph W),
  IsGLB {x | ∃ n ∈ Set.Ici 2, ↑(SimpleGraph.extremalNumber n H) / ↑(n.choose 2) = x} H.turanDensity

theorem SimpleGraph.turanDensity_eq_csInf E1 #

∀ {W : Type u_1} (H : SimpleGraph W),
  H.turanDensity = sInf {x | ∃ n ∈ Set.Ici 2, ↑(SimpleGraph.extremalNumber n H) / ↑(n.choose 2) = x}

theorem SimpleGraph.turanDensity_le_extremalNumber_div_choose_two E1 #

∀ {W : Type u_1} (H : SimpleGraph W) {n : ℕ}, 2 ≤ n → H.turanDensity ≤ ↑(SimpleGraph.extremalNumber n H) / ↑(n.choose 2)

theorem SimpleGraph.turanDensity_nonneg E1 #

∀ {W : Type u_1} (H : SimpleGraph W), 0 ≤ H.turanDensity

theorem SimpleGraph.turanDensity_le_one E1 #

∀ {W : Type u_1} (H : SimpleGraph W), H.turanDensity ≤ 1

theorem SimpleGraph.tendsto_turanDensity E3 #

∀ {W : Type u_1} (H : SimpleGraph W),
  Filter.Tendsto (fun n ↦ ↑(SimpleGraph.extremalNumber n H) / ↑(n.choose 2)) Filter.atTop (nhds H.turanDensity)

The Turán density of a simple graph H is well-defined.

theorem SimpleGraph.isEquivalent_extremalNumber E3 #

∀ {W : Type u_1} {H : SimpleGraph W},
  H.turanDensity ≠ 0 →
    Asymptotics.IsEquivalent Filter.atTop (fun n ↦ ↑(SimpleGraph.extremalNumber n H)) fun n ↦
      H.turanDensity * ↑(n.choose 2)

extremalNumber n H is asymptotically equivalent to turanDensity H * n.choose 2 as n approaches ∞.

theorem SimpleGraph.eventually_isContained_of_card_edgeFinset E1 #

∀ {W : Type u_1} (H : SimpleGraph W) {ε : ℝ},
  0 < ε →
    ∀ᶠ (n : ℕ) in Filter.atTop,
      ∀ {G : SimpleGraph (Fin n)} [inst : DecidableRel G.Adj],
        ↑G.edgeFinset.card ≥ (H.turanDensity + ε) * ↑(n.choose 2) → H.IsContained G

Simple graphs on n vertices having at least (turanDensity H + o(1)) * n ^ 2 edges contain H, for sufficiently large n.

abbrev SimpleGraph.turanDensityConst E1 #

{W : Type u_1} → SimpleGraph W → ℝ → ℕ

The edge density of H-free simple graphs on turanDensityConst H ε vertices is at most turanDensity H + ε.

Contrapositively, turanDensity H + ε is the density at which H is always contained in simple graphs on turanDensityConst H ε vertices.

Note that this value is only defined for positive ε and turanDensityConst H ε = 0 for non positive ε.

theorem SimpleGraph.isContained_of_card_edgeFinset E3 #

∀ {W : Type u_1} (H : SimpleGraph W) {ε : ℝ},
  0 < ε →
    ∀ {V : Type u_2} [inst : Fintype V],
      Fintype.card V ≥ H.turanDensityConst ε →
        ∀ (G : SimpleGraph V) [inst_1 : DecidableRel G.Adj],
          ↑G.edgeFinset.card ≥ (H.turanDensity + ε) * ↑((Fintype.card V).choose 2) → H.IsContained G

Simple graphs on card V vertices having at least (turanDensity H + o(1)) * (card V) ^ 2 edges contain H, for sufficiently large card V.

theorem SimpleGraph.card_le_turanDensityConst E1 #

∀ {W : Type u_1} [inst : Fintype W] (H : SimpleGraph W) {ε : ℝ},
  0 < ε → H.turanDensity + ε ≤ 1 → Fintype.card W ≤ H.turanDensityConst ε

turanDensityConst H ε is at least card W, since a simple graph on fewer vertices cannot contain H : SimpleGraph W.