module public import Mathlib.Algebra.MvPolynomial.PDeriv public import Mathlib.LinearAlgebra.FiniteDimensional.Basic public import Mathlib.Data.Set.Card @[expose] public section /-! # The Yu–Zhu pencil of quintic surfaces: definitions These are the definitions shared, verbatim, by `Challenge.lean` and the development. Homogeneous coordinates `x₁, x₂, x₃, x₄` of `ℙ³` are the variables `X 0, X 1, X 2, X 3`, so a point of `ℙ³` is represented by a nonzero vector `x : Fin 4 → K` and a line of `ℙ³` by a two-dimensional subspace of `Fin 4 → K`. * `Quintic85.F t` is the quintic form (Yu–Zhu, arXiv:2609.26862v1, eq. (3.1)) `F_t = (x₃ - x₄)(x₁⁴ - 3x₂⁴) - 6(x₃ + x₄)x₁²x₂² + x₃x₄(x₄³ - t x₃³)`. * `Quintic85.IsSmooth t` says that the surface `X_t = V(F_t) ⊂ ℙ³` is smooth, by the Jacobian criterion: no nonzero point of `X_t` is a common zero of the four partial derivatives. * `Quintic85.IsLineOn t W` says that the two-dimensional subspace `W` is a line on `X_t`: the form `F_t` vanishes at every vector of `W`. -/ namespace Quintic85 open MvPolynomial variable {K : Type*} [Field K] /-- The quintic form `F_t ∈ K[x₁, x₂, x₃, x₄]` of Yu–Zhu, eq. (3.1); `xᵢ` is `X (i - 1)`. -/ noncomputable def F (t : K) : MvPolynomial (Fin 4) K := (X 2 - X 3) * (X 0 ^ 4 - 3 * X 1 ^ 4) - 6 * (X 2 + X 3) * X 0 ^ 2 * X 1 ^ 2 + X 2 * X 3 * (X 3 ^ 3 - C t * X 2 ^ 3) /-- `X_t = V(F_t) ⊂ ℙ³` is smooth (Jacobian criterion): at every nonzero vector where `F_t` vanishes, some partial derivative of `F_t` is nonzero. -/ def IsSmooth (t : K) : Prop := ∀ x : Fin 4 → K, x ≠ 0 → eval x (F t) = 0 → ∃ i, eval x (pderiv i (F t)) ≠ 0 /-- A line of `ℙ³` lying on `X_t`: a two-dimensional subspace `W ⊆ K⁴` on which `F_t` vanishes. -/ def IsLineOn (t : K) (W : Submodule K (Fin 4 → K)) : Prop := Module.finrank K W = 2 ∧ ∀ w ∈ W, eval w (F t) = 0 end Quintic85