Documentation

LeanPool.ArithmeticTriangleRemovalInVectorSpaces.DisjointTriangles.Embedding

Lifting triangles to general position #

Fox and Lovász map x ↦ (x, 1, 0), y ↦ (y, -1, 1) and z ↦ (z, 0, -1) into V × ZMod p × ZMod p. The map preserves triangles, the first two vertices of each lifted triangle are linearly independent, and their span contains the first two vertices of no other lifted triangle. The pruning bound therefore holds for all X, Y and Z, with #V replaced by p ^ 2 * #V.

Main definitions #

Main statements #

theorem ArithmeticTriangleRemovalInVectorSpaces.rpow_le_mul_card_rpow_mul_card_triangles_rpow {V : Type u_1} [AddCommGroup V] {p : ℕ} [Module (ZMod p) V] [DecidableEq V] {X Y Z : Finset V} [Fact (Nat.Prime p)] [Fintype V] {ι : Type u_2} [Fintype ι] {x y z : ι → V} (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 * (↑p ^ 2 * ↑(Fintype.card V)) ^ (1 - c p) * ↑(triangles X Y Z).card ^ c p

Pruning in general position. If X × Y × Z contains m vertex-disjoint triangles (x i, y i, z i), then (η * m / 2) ^ (1 + c p) ≤ 125 * p ^ 2 * (p ^ 2 * #V) ^ (1 - c p) * D ^ c p, where η = c p / (1 + c p) and D is the number of triangles.