Turán density #
This files defines the Turán density of a simple graph.
Main definitions #
SimpleGraph.turanDensity H
is the Turán density of the simple graphH
, defined as the limit ofextremalNumber n H / n.choose 2
asn
approaches∞
.SimpleGraph.tendsto_turanDensity
is the proof thatSimpleGraph.turanDensity
is well-defined.SimpleGraph.isEquivalent_extremalNumber
is the proof thatextremalNumber n H
is asymptotically equivalent toturanDensity H * n.choose 2
asn
approaches∞
.
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 ∞
.