Documentation

TauCeti.Combinatorics.Regularity.Graph.SeededRegularity

Szemerédi regularity relative to a seed partition #

Mathlib's szemeredi_regularity produces a uniform equipartition, but relates it to no prescribed partition. Refining its output afterwards does not help, since uniformity is not inherited by refinements, and a common refinement with a seed partition is not an equipartition in general. This file instead runs the energy-increment induction behind szemeredi_regularity from a given starting equipartition. Mathlib's SzemerediRegularity.increment is a Finpartition.bind, so it refines its input exactly, and each partition built by the induction refines the start.

Starting from an equipartition that almost refines a seed P₀ (provided by Finpartition.IsEquipartition.exists_equipartition_card_eq_almostRefines), this yields a uniform equipartition that still almost refines P₀, with a number of parts bounded in terms of ε and the number of parts of P₀ only. Starting instead from an exact refinement of an equipartition P into equally many pieces per part, it yields a uniform equipartition refining P exactly. Regularity statements that iterate the regularity lemma, such as strong regularity, need this control on the relation between successive partitions.

Main declarations #

References #

The induction follows the proof of szemeredi_regularity in Mathlib, by Yaël Dillies and Bhavik Mehta.

Szemerédi's regularity lemma below a starting equipartition. If P₁ is an equipartition with at least 7 parts and 100 ≤ 4 ^ #P₁.parts * ε ^ 5, and the graph is large enough, then some ε-uniform equipartition refines P₁ and has at most stepBound^[⌊4 / ε ^ 5⌋₊ + 1] #P₁.parts parts.

noncomputable def TauCeti.nestedRefinementBound (δ : ℝ) (l : ℕ) :

The complexity bound for exists_regular_exact_refining_equipartition: the bound of Szemerédi's regularity lemma started from initialBound δ 0 * l parts. It depends only on δ and the number l of parts of the partition being refined.

Instances For

    The complexity bound is Szemerédi's bound started from initialBound δ 0 * l parts.

    The complexity bound for exactly refining regularity is at least the number of parts being refined.

    noncomputable def TauCeti.refiningRegularityBound (ε : ℝ) (l : ℕ) :

    The complexity bound for exists_regular_equipartition_almost_refining: the bound of Szemerédi's regularity lemma with at least ⌈2 * l / ε⌉₊ initial parts. It depends only on ε and the number l of parts of the seed partition.

    Instances For

      The complexity bound is Szemerédi's bound with at least ⌈2 * l / ε⌉₊ initial parts.

      Szemerédi's regularity lemma relative to a seed. Every equipartition P₀ of a finite graph is almost refined, up to ε, by an ε-uniform equipartition with at most refiningRegularityBound ε #P₀.parts parts.

      Szemerédi's regularity lemma refining an equipartition exactly. Every equipartition P of a finite graph is refined exactly by a δ-uniform equipartition with at most nestedRefinementBound δ #P.parts parts.

      Szemerédi's regularity lemma relative to a seed, with a minimum number of parts. Every equipartition P₀ of a finite graph is almost refined, up to ε, by an ε-uniform equipartition with at least l parts, for any requested l ≤ card α. It is obtained by refining exactly an equipartition into max l₀ ⌈2 * l₀ / ε⌉₊ parts almost refining P₀, where l₀ = max l #P₀.parts, so it has at most nestedRefinementBound ε (max l₀ ⌈2 * l₀ / ε⌉₊) parts.