Triangles #
A triangle in an abelian group is a triple (x, y, z) with x + y + z = 0. This file defines the
set of triangles of X × Y × Z for finite sets X, Y and Z.
Main definitions #
ArithmeticTriangleRemovalInVectorSpaces.triangles X Y Z: the triangles inX × Y × Z.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_le_card_sq: there are at most#G ^ 2triangles.ArithmeticTriangleRemovalInVectorSpaces.card_triangles_erase_left: removing a vertexvfromXremoves the triangles whose first vertex isv, and similarly forYandZ.ArithmeticTriangleRemovalInVectorSpaces.card_triangles_piFinset: the triangles of the coordinatewise powersX ^ k,Y ^ kandZ ^ knumber#(triangles X Y Z) ^ k.
def
ArithmeticTriangleRemovalInVectorSpaces.triangles
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
(X Y Z : Finset G)
:
The triangles of X × Y × Z: the triples (x, y, z) with x + y + z = 0.
Equations
Instances For
theorem
ArithmeticTriangleRemovalInVectorSpaces.triangles_eq_empty_iff
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
{X Y Z : Finset G}
:
theorem
ArithmeticTriangleRemovalInVectorSpaces.triangles_mono
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
{X Y Z X' Y' Z' : Finset G}
(hX : X' ⊆ X)
(hY : Y' ⊆ Y)
(hZ : Z' ⊆ Z)
:
theorem
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_le_card_sq
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
[Fintype G]
(X Y Z : Finset G)
:
A triangle is determined by its first two vertices, so there are at most #G ^ 2 triangles.
theorem
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_erase_left
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
(X Y Z : Finset G)
(v : G)
:
Removing a vertex v from X removes the triangles whose first vertex is v.
theorem
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_erase_middle
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
(X Y Z : Finset G)
(v : G)
:
Removing a vertex v from Y removes the triangles whose second vertex is v.
theorem
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_erase_right
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
(X Y Z : Finset G)
(v : G)
:
Removing a vertex v from Z removes the triangles whose third vertex is v.
theorem
ArithmeticTriangleRemovalInVectorSpaces.card_triangles_piFinset
{G : Type u_1}
[AddCommGroup G]
[DecidableEq G]
(X Y Z : Finset G)
(k : ℕ)
:
(triangles (Fintype.piFinset fun (x : Fin k) => X) (Fintype.piFinset fun (x : Fin k) => Y)
(Fintype.piFinset fun (x : Fin k) => Z)).card = (triangles X Y Z).card ^ k
The triangles of the coordinatewise powers X ^ k, Y ^ k and Z ^ k are the k-tuples of
triangles of X × Y × Z.