Dense bipartite graph contains a -path-rich rectangle
ProvedFinset.dense_bipartite_has_path3_rectangleLet be an additive commutative group, let , and let be finite sets with nonempty and . Let be a set of edges with
Then there exist and with
such that for every and every ,
This is the rectangle lemma that the Balog-Szemeredi-Gowers argument in this project consumes, proved along the Fox-Sudakov dependent-random-choice route: degree pruning, one application of pair dependent random choice, a Markov refinement on rows, and a rare/popular split on columns. It is not a transcription of Fox-Sudakov, Dependent random choice, Lemma 5.2; it departs from that lemma in two ways, recorded here.
Deviation 1: the counted set carries no distinctness conditions. Fox-Sudakov count genuine paths of length three. Their proof produces at least neighbours of in the core set, and for each of those at least common neighbours ; the two "" terms are exactly those distinctness corrections, and the product of the two factors is what is bounded below by . The set counted in the statement above is the plain filter of by the three edge conditions, with no requirement or , so degenerate pairs are admitted. The count above therefore ranges over a strictly larger set and the conclusion is weaker than Lemma 5.2's: Lemma 5.2's bound implies the bound above, while the bound above does not give Lemma 5.2's. The weaker form is sound for the Balog-Szemeredi-Gowers use, because the representation consumed downstream,
is valid for degenerate paths too: it needs only that the three pairs are edges, never that the vertices are distinct.
Deviation 2: a guaranteed lower bound replaces the exact density. After pruning to the rows , Fox-Sudakov run dependent random choice with the exact edge density . The proof formalized here instead sets
and runs dependent random choice with . Since , one has — this is the lower bound Fox-Sudakov themselves display — so the density hypothesis of the dependent-random-choice lemma is met and the argument is sound, but every bound downstream is stated in terms of rather than .
A third, smaller difference: the column bound is stated here as , where Fox-Sudakov state ; only the weaker form is claimed.
The conclusion feeds the Tao-Vu triple-count injection, which converts path richness plus a small restricted sumset into a bound on the honest sumset .
import Mathlib open scoped Pointwise
theorem Finset.dense_bipartite_has_path3_rectangle {G : Type*} [AddCommGroup G] [DecidableEq G]
(δ : ℝ) (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1)
(A B : Finset G) (hA : A.Nonempty) (hAB : A.card = B.card)
(E : Finset (G × G)) (hE_sub : E ⊆ A ×ˢ B)
(hE_dense : δ * (A.card : ℝ) * (B.card : ℝ) ≤ (E.card : ℝ)) :
∃ A' B' : Finset G, A' ⊆ A ∧ B' ⊆ B ∧
(δ / 8) * (A.card : ℝ) ≤ (A'.card : ℝ) ∧
(δ / 8) * (A.card : ℝ) ≤ (B'.card : ℝ) ∧
∀ a ∈ A', ∀ b ∈ B',
(δ^5 / 2^12) * (A.card : ℝ)^2 ≤
(((B ×ˢ A).filter fun q : G × G ↦
(a, q.1) ∈ E ∧ (q.2, q.1) ∈ E ∧ (q.2, b) ∈ E).card : ℝ) := by sorry
Confirmed by the mission captain (proposal self-audit).