Lax18.SzemerediRegularityLemma
Szemerédi's regularity lemma
concepts/Lax18/SzemerediRegularityLemma.lean · lax-18
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Theorem
Szemerédi's regularity lemma says that for every and every positive lower bound , there is an upper bound such that every finite simple graph on at least vertices has an equitable -regular partition into parts with .
The partition is clean: its parts are nonempty, pairwise disjoint, cover all vertices, and have sizes differing by at most one. There is no exceptional leftover class.
Lean source view on GitHub
| 1 | import Lax18.EnergyIncrement |
| 2 | import Lax18.EquitableCleanup |
| 3 | import Lax18.PartitionEnergyBounds |
| 4 | import Lax18.PartitionEnergyMonotonicity |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: Szemerédi's regularity lemma |
| 9 | type: theorem |
| 10 | --- |
| 11 | Szemerédi's regularity lemma says that for every \(\varepsilon>0\) and every |
| 12 | positive lower bound \(m_0\), there is an upper bound \(M\ge m_0\) such that |
| 13 | every finite simple graph on at least \(m_0\) vertices has an equitable |
| 14 | \(\varepsilon\)-regular partition into \(k\) parts with \(m_0\le k\le M\). |
| 15 | |
| 16 | The partition is clean: its parts are nonempty, pairwise disjoint, cover all |
| 17 | vertices, and have sizes differing by at most one. There is no exceptional |
| 18 | leftover class. |
| 19 | |
| 20 | # Source |
| 21 | The classical lower-bound statement and its energy-increment presentation |
| 22 | follow Reinhard Diestel, *Graph Theory*, 5th edition, Section 7.4. Diestel |
| 23 | uses an exceptional class to make the remaining classes exactly equal; the |
| 24 | statement here uses the equivalent clean equipartition convention, with all |
| 25 | part sizes differing by at most one. |
| 26 | -/ |
| 27 | |
| 28 | namespace Lax18.SzemerediRegularityLemma |
| 29 | |
| 30 | open Lax18.FiniteGraphPartitions |
| 31 | open Lax18.RegularPartitions |
| 32 | |
| 33 | universe u |
| 34 | |
| 35 | /-- Szemerédi's regularity lemma for finite simple graphs, in the standard |
| 36 | lower-bound form. -/ |
| 37 | axiom szemeredi_regularity_lemma : |
| 38 | ∀ (ε : ℝ) (m₀ : ℕ), |
| 39 | 0 < ε → |
| 40 | 0 < m₀ → |
| 41 | ∃ M : ℕ, |
| 42 | m₀ ≤ M ∧ |
| 43 | ∀ {V : Type u} [Fintype V] [DecidableEq V] |
| 44 | (G : SimpleGraph V), |
| 45 | m₀ ≤ Fintype.card V → |
| 46 | ∃ P : VertexPartition V, |
| 47 | m₀ ≤ P.partCount ∧ |
| 48 | P.partCount ≤ M ∧ |
| 49 | IsEquitableRegularPartition G ε P |
| 50 | |
| 51 | end Lax18.SzemerediRegularityLemma |
| 52 |
Source
The classical lower-bound statement and its energy-increment presentation follow Reinhard Diestel, Graph Theory, 5th edition, Section 7.4. Diestel uses an exceptional class to make the remaining classes exactly equal; the statement here uses the equivalent clean equipartition convention, with all part sizes differing by at most one.
Builds on
Used by
none
From Mathlib
none
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments