Turán density #
This file defines the Turán density of a simple graph.
Main definitions #
SimpleGraph.turanDensity His the Turán density of the simple graphH, defined as the limit ofextremalNumber n H / n.choose 2asnapproaches∞.SimpleGraph.tendsto_turanDensityis the proof thatSimpleGraph.turanDensityis well-defined.SimpleGraph.isEquivalent_extremalNumberis the proof thatextremalNumber n His asymptotically equivalent toturanDensity H * n.choose 2asnapproaches∞.SimpleGraph.isContained_of_card_edgeFinset: simple graphs onnvertices with at least(turanDensity H + o(1)) * n ^ 2edges containH, for all sufficently largen.
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.
Equations
- H.turanDensity = limUnder Filter.atTop fun (n : ℕ) => ↑(SimpleGraph.extremalNumber n H) / ↑(n.choose 2)
Instances For
The Turán density of a simple graph H is well-defined.
extremalNumber n H is asymptotically equivalent to turanDensity H * n.choose 2 as n
approaches ∞.
Simple graphs on n vertices having at least (turanDensity H + o(1)) * n ^ 2 edges contain
H, for sufficiently large n.
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 ε.
Equations
- H.turanDensityConst ε = if h : ε > 0 then Nat.find ⋯ else 0
Instances For
Simple graphs on card V vertices having at least (turanDensity H + o(1)) * (card V) ^ 2
edges contain H, for sufficiently large card V.