Chunk of the increment partition for Szemerédi Regularity Lemma #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
In the proof of Szemerédi Regularity Lemma, we need to partition each part of a starting partition to increase the energy. This file defines those partitions of parts and shows that they locally increase the energy.
This entire file is internal to the proof of Szemerédi Regularity Lemma.
Main declarations #
szemeredi_regularity.chunk: The partition of a part of the starting partition.szemeredi_regularity.edge_density_chunk_uniform:chunkdoes not locally decrease the edge density between uniform parts too much.szemeredi_regularity.edge_density_chunk_not_uniform:chunklocally increases the edge density between non-uniform parts.
TODO #
Once ported to mathlib4, this file will be a great golfing ground for Heather's new tactic
rel_congr.
References #
Yaël Dillies, Bhavik Mehta, Formalising Szemerédi’s Regularity Lemma in Lean
Definitions #
We define chunk, the partition of a part, and star, the sets of parts of chunk that are
contained in the corresponding witness of non-uniformity.
The portion of szemeredi_regularity.increment which partitions U.
Equations
- szemeredi_regularity.chunk hP G ε hU = dite (U.card = fintype.card α / szemeredi_regularity.step_bound P.parts.card * 4 ^ P.parts.card + (fintype.card α / P.parts.card - fintype.card α / szemeredi_regularity.step_bound P.parts.card * 4 ^ P.parts.card)) (λ (hUcard : U.card = fintype.card α / szemeredi_regularity.step_bound P.parts.card * 4 ^ P.parts.card + (fintype.card α / P.parts.card - fintype.card α / szemeredi_regularity.step_bound P.parts.card * 4 ^ P.parts.card)), (finpartition.atomise U (P.nonuniform_witnesses G ε U)).equitabilise _) (λ (hUcard : ¬U.card = fintype.card α / szemeredi_regularity.step_bound P.parts.card * 4 ^ P.parts.card + (fintype.card α / P.parts.card - fintype.card α / szemeredi_regularity.step_bound P.parts.card * 4 ^ P.parts.card)), (finpartition.atomise U (P.nonuniform_witnesses G ε U)).equitabilise _)
The portion of szemeredi_regularity.chunk which is contained in the witness of non uniformity
of U and V.
Equations
- szemeredi_regularity.star hP G ε hU V = finset.filter (λ (_x : finset α), _x ⊆ G.nonuniform_witness ε U V) (szemeredi_regularity.chunk hP G ε hU).parts
Density estimates #
We estimate the density between parts of chunk.
chunk #
Final bounds #
Those inequalities are the end result of all this hard work.
Lower bound on the edge densities between non-uniform parts of szemeredi_regularity.increment.
Lower bound on the edge densities between parts of szemeredi_regularity.increment. This is the
blanket lower bound used the uniform parts.