Turán density #
This files 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∞.
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 ∞.