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 #
ArithmeticTriangleRemovalInVectorSpaces.potential: the potentialr + A * D' ^ η.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.card_filter_fst_le_of_potential_le: the degree bound at a vertex whose removal does not lower the potential.ArithmeticTriangleRemovalInVectorSpaces.card_triangles_pos_of_potential_le: a configuration whose potential is at most that of(X, Y, Z)contains a triangle.ArithmeticTriangleRemovalInVectorSpaces.rpow_le_mul_rpow_mul_card_triangles_rpow: the bound(η * m / 2) ^ (1 + c p) ≤ 125 * p ^ 2 * #V ^ (1 - c p) * D ^ c p.
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.
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.