Documentation

LeanPool.ArithmeticTriangleRemovalInVectorSpaces.DisjointTriangles.Pruning

Pruning vertices of large degree #

Let X × Y × Z contain D triangles and m vertex-disjoint triangles (x i, y i, z i). Fox and Lovász remove vertices of large degree one at a time (Lemma 6). We choose instead, among all X' ⊆ X, Y' ⊆ Y and Z' ⊆ Z, one minimizing the potential r + A * D' ^ η. Here r counts the triangles (x i, y i, z i) outside X' × Y' × Z', D' counts the triangles of X' × Y' × Z', η = c p / (1 + c p) and A = m / (2 * D ^ η). Removing a vertex of degree d from a minimizer raises r by at most one and lowers D' by d, so d ≤ D' ^ (1 - η) / (A * η). Lemma 5 of Fox and Lovász then gives (η * m / 2) ^ (1 + c p) ≤ 125 * p ^ 2 * #V ^ (1 - c p) * D ^ c p.

Main definitions #

Main statements #

theorem ArithmeticTriangleRemovalInVectorSpaces.card_triangles_pos {V : Type u_1} {ι : Type u_2} [AddCommGroup V] [DecidableEq V] {x y z : ι → V} {X Y Z : Finset V} [Nonempty ι] (hxX : ∀ (i : ι), x i ∈ X) (hyY : ∀ (i : ι), y i ∈ Y) (hzZ : ∀ (i : ι), z i ∈ Z) (hsum : ∀ (i : ι), x i + y i + z i = 0) :
0 < (triangles X Y Z).card

If X × Y × Z contains the triangles (x i, y i, z i) and there is at least one index, then X × Y × Z contains a triangle.

theorem ArithmeticTriangleRemovalInVectorSpaces.rpow_le_mul_rpow_mul_card_triangles_rpow {V : Type u_1} {ι : Type u_2} [AddCommGroup V] [DecidableEq V] [Fintype ι] {x y z : ι → V} {X Y Z : Finset V} {p : ℕ} [Fact (Nat.Prime p)] [Module (ZMod p) V] [Fintype V] (hli : ∀ (x y z : V), (x, y, z) ∈ triangles X Y Z → LinearIndependent (ZMod p) ![x, y]) (hspan : ∀ (x y z : V), (x, y, z) ∈ triangles X Y Z → ∀ (x' y' z' : V), (x', y', z') ∈ triangles X Y Z → x' ∈ Submodule.span (ZMod p) {x, y} → y' ∈ Submodule.span (ZMod p) {x, y} → x' = x ∧ y' = y) (hx : Function.Injective x) (hy : Function.Injective y) (hz : Function.Injective z) (hxX : ∀ (i : ι), x i ∈ X) (hyY : ∀ (i : ι), y i ∈ Y) (hzZ : ∀ (i : ι), z i ∈ Z) (hsum : ∀ (i : ι), x i + y i + z i = 0) :
(c p / (1 + c p) * ↑(Fintype.card ι) / 2) ^ (1 + c p) ≤ 125 * ↑p ^ 2 * ↑(Fintype.card V) ^ (1 - c p) * ↑(triangles X Y Z).card ^ c p

Pruning. If the first two vertices of each triangle of X × Y × Z are linearly independent, their span contains the first two vertices of no other triangle, and X × Y × Z contains m vertex-disjoint triangles (x i, y i, z i), then (η * m / 2) ^ (1 + c p) ≤ 125 * p ^ 2 * #V ^ (1 - c p) * D ^ c p, where η = c p / (1 + c p) and D is the number of triangles.