The areas / V30. Combinatorics
Mathlib.Combinatorics.SimpleGraph.Regularity.Increment
7 declarations. Mathlib docs · Source
Increment partition for Szemerédi Regularity Lemma
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
SzemerediRegularity.increment: The increment partition.SzemerediRegularity.card_increment: The increment partition is much bigger than the original, but by a controlled amount.SzemerediRegularity.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
gcongr.
References
[Yaël Dillies, Bhavik Mehta, Formalising Szemerédi’s Regularity Lemma in Lean][srl_itp]
theorem SzemerediRegularity.increment.congr_simp E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P P_1 : Finpartition Finset.univ} (e_P : P = P_1)
(hP : P.IsEquipartition) (G G_1 : SimpleGraph α),
G = G_1 →
∀ {inst_2 : DecidableRel G.Adj} [inst_3 : DecidableRel G_1.Adj] (ε ε_1 : ℝ),
ε = ε_1 → SzemerediRegularity.increment hP G ε = SzemerediRegularity.increment ⋯ G_1 ε_1
theorem Finpartition.bind.congr_simp E1 #
∀ {α : Type u_1} [inst : Lattice α] [inst_1 : OrderBot α] [inst_2 : IsModularLattice α] [inst_3 : DecidableEq α] {a : α}
(P : Finpartition a) (Q Q_1 : (i : α) → i ∈ P.parts → Finpartition i), Q = Q_1 → P.bind Q = P.bind Q_1
def SzemerediRegularity.increment E3 #
{α : Type u_1} →
[inst : Fintype α] →
[inst_1 : DecidableEq α] →
{P : Finpartition Finset.univ} →
P.IsEquipartition → (G : SimpleGraph α) → [DecidableRel G.Adj] → ℝ → Finpartition Finset.univ
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
Finpartition.energy_le_one), so this process eventually terminates and yields a
not-too-big uniform equipartition.
theorem SzemerediRegularity.card_increment E3 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ},
P.parts.card * 16 ^ P.parts.card ≤ Fintype.card α →
¬P.IsUniform G ε → (SzemerediRegularity.increment hP G ε).parts.card = SzemerediRegularity.stepBound P.parts.card
The increment partition has a prescribed (very big) size in terms of the original partition.
theorem SzemerediRegularity.increment_isEquipartition E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} (hP : P.IsEquipartition)
(G : SimpleGraph α) [inst_2 : DecidableRel G.Adj] (ε : ℝ), (SzemerediRegularity.increment hP G ε).IsEquipartition
theorem SzemerediRegularity.le_sum_distinctPairs_edgeDensity_sq E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} [Nonempty α] (x : ↥P.parts.offDiag),
ε ≤ 1 →
P.parts.card * 16 ^ P.parts.card ≤ Fintype.card α →
100 ≤ 4 ^ P.parts.card * ε ^ 5 →
↑(G.edgeDensity (↑x).1 (↑x).2) ^ 2 + ((if G.IsUniform ε (↑x).1 (↑x).2 then 0 else ε ^ 4 / 3) - ε ^ 5 / 25) ≤
(∑ i ∈ SzemerediRegularity.distinctPairs✝ hP G ε x, ↑(G.edgeDensity i.1 i.2) ^ 2) / 16 ^ P.parts.card
theorem SzemerediRegularity.energy_increment E3 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {G : SimpleGraph α}
[inst_2 : DecidableRel G.Adj] {ε : ℝ} [Nonempty α] (hP : P.IsEquipartition),
7 ≤ P.parts.card →
100 ≤ 4 ^ P.parts.card * ε ^ 5 →
P.parts.card * 16 ^ P.parts.card ≤ Fintype.card α →
¬P.IsUniform G ε →
0 ≤ ε → ε ≤ 1 → ↑(P.energy G) + ε ^ 5 / 4 ≤ ↑((SzemerediRegularity.increment hP G ε).energy G)
The increment partition has energy greater than the original one by a known fixed amount.