§2, p. 6 — the knockout tournament arising from a node-line pair (x, ℓ) of the Fano plane
DefinitionStableSKC_Galois_Supplement_NodeLineEight players take part. The seven players are the nodes of a Fano plane: a family of seven 3-element lines such that any two distinct nodes lie on exactly one common line. Player is not a node. Through every node pass exactly three lines.
A knockout tournament on the eight players is given by its seeding (leaf position player); leaves and meet in round .
Let be a node and a line through . A knockout tournament arises from the node-line pair if
- and : player meets player in round ;
- : the players of the two other nodes of meet each other;
- : the remaining two matches are given by the two non-selected lines through .
The order within the pairs at leaves 2–3, 4–5 and 6–7 and the order of the two second-half pairs are left free; leaves 0 and 1 are fixed as as in the partial seedings on p. 6; for and in Figure 3, both (p. 6) and (Table 1) arise. These tournaments are the building blocks of the paper's stable serial knockout competition for eight players (Theorem 2.1).
Formalization Note The plane is a Steiner triple system S : RolesForceSeven.STS 7 (published definition) on nodes Fin 7; node j is player j + 1 : Fin 8 (nodePlayer), and nodesToPlayers maps a set of nodes to the corresponding players. Every Steiner triple system on seven points is the Fano plane up to relabelling. A tournament is the published Seeding 3 (Fin 8) of StableSKC.Galois.Model. ArisesFrom S x ℓ T does not itself require to be a line or ; the theorems that use it assume both.
import Mathlib
import Definitions.Def_StableSKC_Galois_Model
import Definitions.Def_RolesForceSeven_sts
namespace StableSKC.Galois.Supplement
open RolesForceSeven
/-- The Fano-plane nodes `0, …, 6` are the players `1, …, 7` of `Fin 8` (node `j` ↦ player
`j + 1`); player `0` is not a node (Lambers–Pendavingh–Spieksma, p. 6, Figure 3). -/
def nodePlayer (y : Fin 7) : Fin 8 := y.succ
/-- A set of nodes, read as a set of players. -/
def nodesToPlayers (m : Finset (Fin 7)) : Finset (Fin 8) := m.map (Fin.succEmb 7)
/-- p. 6: the knockout tournament `T` (a seeding `Fin 8 ≃ Fin 8`, leaf ↦ player) *arises from*
the node-line pair `x, ℓ` of the plane `S`: player `0` meets player `x` in round 1 (leaves 0, 1),
the players of the two other nodes of `ℓ` meet each other (leaves 2, 3), and the remaining two
round-1 matches (leaves 4, 5 and 6, 7) are given by the two lines through `x` other than `ℓ`, the
two other players of each such line meeting each other. The order inside each pair and of the two
second-half pairs is free. -/
def ArisesFrom (S : STS 7) (x : Fin 7) (ℓ : Finset (Fin 7)) (T : Seeding 3 (Fin 8)) : Prop :=
T 0 = 0 ∧ T 1 = nodePlayer x ∧
({T 2, T 3} : Finset (Fin 8)) = nodesToPlayers (ℓ.erase x) ∧
({{T 4, T 5}, {T 6, T 7}} : Finset (Finset (Fin 8))) =
(S.lines.filter fun m => x ∈ m ∧ m ≠ ℓ).image fun m => nodesToPlayers (m.erase x)
end StableSKC.Galois.Supplement