Documentation

LeanPool.ArithmeticTriangleRemovalInVectorSpaces.DisjointTriangles.MaximalFamily

Removing a maximum family of vertex-disjoint triangles #

Let S be a family of vertex-disjoint triangles of X × Y × Z of maximum size. Removing the vertices of S from X, Y and Z leaves no triangle, and costs at most 3 * #S elements. By Theorem 3 of Fox and Lovász, X × Y × Z contains at least (#S / #V) ^ C p * #V ^ 2 triangles. This proves Theorem 1 of Fox and Lovász in every finite vector space over ZMod p.

Main definitions #

Main statements #

theorem ArithmeticTriangleRemovalInVectorSpaces.exists_subset_card_sdiff_add_le_of_card_triangles_lt {V : Type u_1} [DecidableEq V] [AddCommGroup V] {X Y Z : Finset V} {p : ℕ} [Fact (Nat.Prime p)] [Module (ZMod p) V] [Fintype V] {ε : ℝ} (hε : 0 ≤ ε) (h : ↑(triangles X Y Z).card < (ε / 3) ^ C p * ↑(Fintype.card V) ^ 2) :
∃ X' ⊆ X, ∃ Y' ⊆ Y, ∃ Z' ⊆ Z, ↑(X \ X').card + ↑(Y \ Y').card + ↑(Z \ Z').card ≤ ε * ↑(Fintype.card V) ∧ triangles X' Y' Z' = ∅

Theorem 1 of Fox and Lovász in a finite vector space V over ZMod p. If X × Y × Z has fewer than (ε / 3) ^ C p * #V ^ 2 triangles, then removing at most ε * #V elements from X, Y and Z leaves no triangle.