The blowup Picard lattice and the classes
Definitionblowup_lattice_27This file models the Picard lattice of , the blowup of the projective plane at six sufficiently general points, purely as an abelian group with a bilinear form.
Following the source, every class is written , where is the class of a line avoiding the six points and is the exceptional divisor over . It is represented by the coordinate pair (BlLattice). The intersection pairing is
which encodes the source's rules , , for , and .
Named classes: classL ; classE i (whose -coordinate is at , since ); classH , the hyperplane class of the cubic embedding; classK , the canonical class; lineClass i j , the class of the line through and ; and conicClass i , the class of the conic through the five points other than .
the27 is the finite set of the classes exhibited by the source: the exceptional divisors, the pair-lines (one for each unordered pair ), and the five-point conics.
Formalization Note. This is a concrete lattice, not a geometric blowup: it carries exactly the intersection rules the source uses and no further axioms. The sign convention means the exceptional class has ; the classification theorems instead assume with , matching the source's treatment of the non-exceptional classes.
import Mathlib open Finset namespace CubicSurface27 /-- The Picard lattice of the blowup of ℙ² at six points, in the source's coordinates: the class D = a·L − ∑ i, b i • E i is represented by the pair (a, b). -/ abbrev BlLattice := ℤ × (Fin 6 → ℤ) /-- The intersection pairing, determined by L² = 1, L·Eᵢ = 0, Eᵢ·Eⱼ = 0 (i ≠ j), Eᵢ² = −1. -/ def inter (D D' : BlLattice) : ℤ := D.1 * D'.1 - ∑ i : Fin 6, D.2 i * D'.2 i /-- The class of a line in ℙ² meeting none of the six points. -/ def classL : BlLattice := (1, fun _ => 0) /-- The exceptional divisor over the i-th point (its b-coordinate is −1 at i). -/ def classE (i : Fin 6) : BlLattice := (0, fun j => if j = i then -1 else 0) /-- The hyperplane class of the cubic embedding: H = 3L − E₁ − ⋯ − E₆. -/ def classH : BlLattice := (3, fun _ => 1) /-- The canonical class of the blowup: K = −3L + E₁ + ⋯ + E₆. -/ def classK : BlLattice := (-3, fun _ => -1) /-- The class of the line through points i and j: L − Eᵢ − Eⱼ. -/ def lineClass (i j : Fin 6) : BlLattice := (1, fun k => if k = i ∨ k = j then 1 else 0) /-- The class of the conic through the five points other than i: 2L − ∑ k ≠ i, Eₖ. -/ def conicClass (i : Fin 6) : BlLattice := (2, fun k => if k = i then 0 else 1) /-- The 27 classes of the source's count: 6 exceptional divisors, 15 pair-lines, 6 five-point conics. -/ def the27 : Finset BlLattice := (univ.image classE) ∪ ((univ.filter (fun p : Fin 6 × Fin 6 => p.1 < p.2)).image (fun p => lineClass p.1 p.2)) ∪ (univ.image conicClass) end CubicSurface27
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.