Draft — mutable and not usable as a dependency; its citation marks the draft state.

Szemerédi's Regularity Lemma

lax-18·formalized by Fatemeh Ghasemi·created 2026-08-02·GitHub @35e3304·Lean v4.30.0 epoch · mathlib c5ea00351c28

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this submission may be incorrect.

No flags have been submitted.

    Community review

    Flag this submission

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    Abstract

    This submission states Szemerédi's regularity lemma for finite simple graphs.

    The formalization uses clean equitable vertex partitions: the parts are nonempty, pairwise disjoint, cover all vertices, and any two part sizes differ by at most one. Edge densities are real-valued. A pair of parts is ε\varepsilon-regular when every sufficiently large pair of subsets has edge density within ε\varepsilon of the density of the original pair. A partition is ε\varepsilon-regular when at most εk2\varepsilon k^2 unordered pairs of distinct parts are irregular, where kk is the number of parts.

    The proof architecture follows the textbook energy-increment argument. It uses the weighted mean-square density of a partition, a bounded refinement which raises that energy whenever an equitable partition is irregular, and an equitable-cleanup lemma which restores equitability with arbitrarily small energy loss. This isolates the extra step needed to avoid an exceptional class in the final statement.

    The main statement is the standard lower-bound form: for every ε>0\varepsilon>0 and every m0>0m_0>0, there is Mm0M\ge m_0 such that every finite graph on at least m0m_0 vertices has an equitable ε\varepsilon-regular partition into kk parts with m0kMm_0\le k\le M.

    The classical statement and the energy-increment presentation follow Reinhard Diestel's Graph Theory, 5th edition, Section 7.4. Diestel uses an exceptional class so that the remaining classes have exactly equal size; the form stated here uses the equivalent clean equipartition convention in which all vertices belong to nonempty parts whose sizes differ by at most one.

    Concepts

    Concept map

    Proven claimDefinitionThis submissionA → B: B builds on A

    Proofs

    Proof networkview on GitHub

    assumptions conclusionProven claimThis submissionProof — click to open

    Proof code is not displayed; the archive records each proof's checked relationship between claims.

    Related submissions

    Submission map

    This submissionOther submissionA → B: B's concepts build on AA → B: only B's proofs build on A

    Cite this

    @misc{lax-18,
      author = {Fatemeh Ghasemi},
      title = {Szemerédi's Regularity Lemma},
      year = {2026},
      howpublished = {Lax Archive, lax-18},
      url = {https://laxarchive.org/lax-18/},
      note = {draft},
    }

    References

    1. Reinhard Diestel. Graph Theory. Springer 173, 2017. doi:10.1007/978-3-662-53622-3

    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

    Loading discussion…