The areas / V30. Combinatorics
Mathlib.Combinatorics.SimpleGraph.Regularity.Chunk
16 declarations. Mathlib docs · Source
Chunk of the 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 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
SzemerediRegularity.chunk: The partition of a part of the starting partition.SzemerediRegularity.edgeDensity_chunk_uniform:chunkdoes not locally decrease the edge density between uniform parts too much.SzemerediRegularity.edgeDensity_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
gcongr.
References
[Yaël Dillies, Bhavik Mehta, Formalising Szemerédi’s Regularity Lemma in Lean][srl_itp]
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.
Density estimates
We estimate the density between parts of chunk.
chunk
Final bounds
Those inequalities are the end result of all this hard work.
theorem Finpartition.ofSubset.congr_simp E1 #
∀ {α : Type u_1} [inst : Lattice α] [inst_1 : OrderBot α] {a b : α} (P P_1 : Finpartition a) (e_P : P = P_1)
{parts parts_1 : Finset α} (e_parts : parts = parts_1) (subset : parts ⊆ P.parts) (sup_parts : parts.sup id = b),
P.ofSubset subset sup_parts = P_1.ofSubset ⋯ ⋯
theorem Finpartition.nonuniformWitnesses.congr_simp E1 #
∀ {α : Type u_1} {𝕜 : Type u_2} [inst : Field 𝕜] [inst_1 : LinearOrder 𝕜] [inst_2 : IsStrictOrderedRing 𝕜]
[inst_3 : DecidableEq α] {A : Finset α} (P P_1 : Finpartition A),
P = P_1 →
∀ (G G_1 : SimpleGraph α),
G = G_1 →
∀ {inst_4 : DecidableRel G.Adj} [inst_5 : DecidableRel G_1.Adj] (ε ε_1 : 𝕜),
ε = ε_1 → ∀ (s s_1 : Finset α), s = s_1 → P.nonuniformWitnesses G ε s = P_1.nonuniformWitnesses G_1 ε_1 s_1
theorem SimpleGraph.nonuniformWitness.congr_simp E1 #
∀ {α : Type u_1} {𝕜 : Type u_2} [inst : Field 𝕜] [inst_1 : LinearOrder 𝕜] [inst_2 : IsStrictOrderedRing 𝕜]
(G G_1 : SimpleGraph α),
G = G_1 →
∀ {inst_3 : DecidableRel G.Adj} [inst_4 : DecidableRel G_1.Adj] (ε ε_1 : 𝕜),
ε = ε_1 →
∀ (s s_1 : Finset α),
s = s_1 → ∀ (t t_1 : Finset α), t = t_1 → G.nonuniformWitness ε s t = G_1.nonuniformWitness ε_1 s_1 t_1
theorem SzemerediRegularity.chunk.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 →
∀ {U : Finset α} (hU : U ∈ P.parts), SzemerediRegularity.chunk hP G ε hU = SzemerediRegularity.chunk ⋯ G_1 ε_1 ⋯
theorem SzemerediRegularity.star.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 →
∀ {U U_1 : Finset α} (e_U : U = U_1) (hU : U ∈ P.parts) (V V_1 : Finset α),
V = V_1 → SzemerediRegularity.star hP G ε hU V = SzemerediRegularity.star ⋯ G_1 ε_1 ⋯ V_1
def SzemerediRegularity.chunk E3 #
{α : Type u_1} →
[inst : Fintype α] →
[inst_1 : DecidableEq α] →
{P : Finpartition Finset.univ} →
P.IsEquipartition →
(G : SimpleGraph α) → [DecidableRel G.Adj] → ℝ → {U : Finset α} → U ∈ P.parts → Finpartition U
The portion of SzemerediRegularity.increment which partitions U.
def SzemerediRegularity.star E1 #
{α : Type u_1} →
[inst : Fintype α] →
[inst_1 : DecidableEq α] →
{P : Finpartition Finset.univ} →
P.IsEquipartition →
(G : SimpleGraph α) → [DecidableRel G.Adj] → ℝ → {U : Finset α} → U ∈ P.parts → Finset α → Finset (Finset α)
The portion of SzemerediRegularity.chunk which is contained in the witness of non-uniformity
of U and V.
theorem SzemerediRegularity.biUnion_star_subset_nonuniformWitness E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} (hP : P.IsEquipartition)
(G : SimpleGraph α) [inst_2 : DecidableRel G.Adj] (ε : ℝ) {U : Finset α} (hU : U ∈ P.parts) (V : Finset α),
(SzemerediRegularity.star hP G ε hU V).biUnion id ⊆ G.nonuniformWitness ε U V
theorem SzemerediRegularity.star_subset_chunk E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U : Finset α} {hU : U ∈ P.parts} {V : Finset α},
SzemerediRegularity.star hP G ε hU V ⊆ (SzemerediRegularity.chunk hP G ε hU).parts
theorem SzemerediRegularity.card_chunk E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U : Finset α} {hU : U ∈ P.parts},
Fintype.card α / SzemerediRegularity.stepBound P.parts.card ≠ 0 →
(SzemerediRegularity.chunk hP G ε hU).parts.card = 4 ^ P.parts.card
theorem SzemerediRegularity.card_eq_of_mem_parts_chunk E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U : Finset α} {hU : U ∈ P.parts} {s : Finset α},
s ∈ (SzemerediRegularity.chunk hP G ε hU).parts →
s.card = Fintype.card α / SzemerediRegularity.stepBound P.parts.card ∨
s.card = Fintype.card α / SzemerediRegularity.stepBound P.parts.card + 1
theorem SzemerediRegularity.m_le_card_of_mem_chunk_parts E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U : Finset α} {hU : U ∈ P.parts} {s : Finset α},
s ∈ (SzemerediRegularity.chunk hP G ε hU).parts → Fintype.card α / SzemerediRegularity.stepBound P.parts.card ≤ s.card
theorem SzemerediRegularity.card_le_m_add_one_of_mem_chunk_parts E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U : Finset α} {hU : U ∈ P.parts} {s : Finset α},
s ∈ (SzemerediRegularity.chunk hP G ε hU).parts →
s.card ≤ Fintype.card α / SzemerediRegularity.stepBound P.parts.card + 1
theorem SzemerediRegularity.card_biUnion_star_le_m_add_one_card_star_mul E1 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U : Finset α} {hU : U ∈ P.parts} {V : Finset α},
↑((SzemerediRegularity.star hP G ε hU V).biUnion id).card ≤
↑(SzemerediRegularity.star hP G ε hU V).card * (↑(Fintype.card α / SzemerediRegularity.stepBound P.parts.card) + 1)
theorem SzemerediRegularity.edgeDensity_chunk_not_uniform E3 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U V : Finset α} [Nonempty α],
P.parts.card * 16 ^ P.parts.card ≤ Fintype.card α →
100 ≤ 4 ^ P.parts.card * ε ^ 5 →
ε ≤ 1 →
∀ {hU : U ∈ P.parts} {hV : V ∈ P.parts},
U ≠ V →
¬G.IsUniform ε U V →
↑(G.edgeDensity U V) ^ 2 - ε ^ 5 / 25 + ε ^ 4 / 3 ≤
(∑ ab ∈ (SzemerediRegularity.chunk hP G ε hU).parts.product (SzemerediRegularity.chunk hP G ε hV).parts,
↑(G.edgeDensity ab.1 ab.2) ^ 2) /
16 ^ P.parts.card
Lower bound on the edge densities between non-uniform parts of SzemerediRegularity.increment.
theorem SzemerediRegularity.edgeDensity_chunk_uniform E3 #
∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] {P : Finpartition Finset.univ} {hP : P.IsEquipartition}
{G : SimpleGraph α} [inst_2 : DecidableRel G.Adj] {ε : ℝ} {U V : Finset α} [Nonempty α],
P.parts.card * 16 ^ P.parts.card ≤ Fintype.card α →
100 ≤ 4 ^ P.parts.card * ε ^ 5 →
∀ (hU : U ∈ P.parts) (hV : V ∈ P.parts),
↑(G.edgeDensity U V) ^ 2 - ε ^ 5 / 25 ≤
(∑ ab ∈ (SzemerediRegularity.chunk hP G ε hU).parts.product (SzemerediRegularity.chunk hP G ε hV).parts,
↑(G.edgeDensity ab.1 ab.2) ^ 2) /
16 ^ P.parts.card
Lower bound on the edge densities between parts of SzemerediRegularity.increment. This is the
blanket lower bound used the uniform parts.