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 #
ArithmeticTriangleRemovalInVectorSpaces.lift p a b x: the vector(x, a, b).
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_image_lift: lifting preserves the number of triangles.ArithmeticTriangleRemovalInVectorSpaces.linearIndependent_of_mem_triangles_image_lift: the first two vertices of a triangle of the lifted sets are linearly independent.ArithmeticTriangleRemovalInVectorSpaces.eq_of_mem_span_of_mem_triangles_image_lift: their span contains the first two vertices of no other triangle of the lifted sets.ArithmeticTriangleRemovalInVectorSpaces.rpow_le_mul_card_rpow_mul_card_triangles_rpow: the pruning bound(η * m / 2) ^ (1 + c p) ≤ 125 * p ^ 2 * (p ^ 2 * #V) ^ (1 - c p) * D ^ c pformvertex-disjoint triangles inX × Y × Z.
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)
:
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.