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 the partition obtained by gluing the parts partitions together (the increment partition) and shows that the energy globally increases.
This entire file is internal to the proof of Szemerédi Regularity Lemma.
Main declarations #
szemeredi_regularity.increment
: The increment partition.szemeredi_regularity.card_increment
: The increment partition is much bigger than the original, but by a controlled amount.szemeredi_regularity.energy_increment
: The increment partition has energy greater than the original by a known (small) fixed amount.
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
The increment partition in Szemerédi's Regularity Lemma.
If an equipartition is not uniform, then the increment partition is a (much bigger) equipartition
with a slightly higher energy. This is helpful since the energy is bounded by a constant (see
szemeredi_regularity.energy_le_one
), so this process eventually terminates and yields a
not-too-big uniform equipartition.
Equations
- szemeredi_regularity.increment hP G ε = P.bind (λ (U : finset α), szemeredi_regularity.chunk hP G ε)
The increment partition has a prescribed (very big) size in terms of the original partition.
The increment partition has energy greater than the original one by a known fixed amount.