module public import Mathlib.Algebra.MvPolynomial.PDeriv public import Mathlib.LinearAlgebra.FiniteDimensional.Basic public import Mathlib.Data.Set.Card public import Mathlib.FieldTheory.IsAlgClosed.Basic public import Mathlib.LinearAlgebra.BilinearMap public import Mathlib.Algebra.Group.Subgroup.ZPowers.Basic public import Mathlib.Data.Nat.Prime.Defs @[expose] public section /-! # Yu–Zhu, *A smooth quintic surface with 85 lines and Picard number 43* — statements Source: Xun Yu, Zigang Zhu, arXiv:2609.26862v1 (22 Sep 2026). This file is the audit surface: every definition used by an advertised theorem is spelled out here, and every advertised theorem is stated with a deliberate `sorry`. The proofs are in `Solution.lean` (which imports the development `Quintic85`, not this file); Comparator checks that names, types and definitions agree. ## Conventions Homogeneous coordinates `x₁, x₂, x₃, x₄` of `ℙ³` are the variables `X 0, X 1, X 2, X 3`. A point of `ℙ³` is a nonzero vector of `K⁴ = Fin 4 → K`; a line of `ℙ³` is a two-dimensional subspace of `K⁴`. The paper works over `ℂ`; we state the results over an arbitrary algebraically closed field `K` of characteristic zero (`ℂ` being an instance). ## Advertised results * `Quintic85.isSmooth_iff` — **Lemma 3.1**: `X_t` is smooth iff `t ∉ {0, 1}`. * `Quintic85.ncard_lines` — **Theorem 1.1**: for `t ∉ {0, 1}` the surface `X_t` contains exactly 85 lines. * `Quintic85.Lattice.isSaturated_of_prime_check` — **Lemma 2.6** (direction used in the paper). * `Quintic85.Lattice.eq_of_saturated` — **Corollary 2.5**, with the geometric inputs (Propositions 2.2 and 2.3 of the paper, which rest on Voisin's and Feyzbakhsh–Thomas' results) as explicit hypotheses. -/ 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 /-- **Lemma 3.1** (Yu–Zhu). Over an algebraically closed field of characteristic zero, the surface `X_t` is smooth if and only if `t ∉ {0, 1}`. -/ theorem isSmooth_iff [CharZero K] [IsAlgClosed K] (t : K) : IsSmooth t ↔ t ≠ 0 ∧ t ≠ 1 := by sorry /-- **Theorem 1.1** (Yu–Zhu). Over an algebraically closed field of characteristic zero, for every `t ∉ {0, 1}` the smooth quintic surface `X_t` contains exactly 85 lines. -/ theorem ncard_lines [CharZero K] [IsAlgClosed K] (t : K) (ht0 : t ≠ 0) (ht1 : t ≠ 1) : {W : Submodule K (Fin 4 → K) | IsLineOn t W}.ncard = 85 := by sorry end Quintic85 namespace Quintic85.Lattice section Overlattice variable {V : Type*} [AddCommGroup V] /-- `A` is an *overlattice* of `N`: `N ⊆ A`, and the quotient `A / N` is torsion, i.e. some positive multiple `m a` of every `a ∈ A` lies in `N`. For lattices (finitely generated `A`) this says exactly that `N` has finite index in `A`. (If `N` is a nondegenerate lattice, as in the paper, and `A` is integral, then `A ⊆ N^∨ ∩ ℚN` is automatically finitely generated.) -/ def IsOverlattice (N A : AddSubgroup V) : Prop := N ≤ A ∧ ∀ a ∈ A, ∃ m : ℕ, 0 < m ∧ (m : ℤ) • a ∈ N end Overlattice variable {V : Type*} [AddCommGroup V] [Module ℚ V] (B : LinearMap.BilinForm ℚ V) /-- `A` is *integral* (for the form `B`): all products `x · y = B x y` of vectors `x, y ∈ A` are integers. -/ def IsIntegral (A : AddSubgroup V) : Prop := ∀ x ∈ A, ∀ y ∈ A, ∃ z : ℤ, B x y = z /-- `A` is *even* (for the form `B`): all squares `x² = B x x` of vectors `x ∈ A` are even integers. -/ def IsEven (A : AddSubgroup V) : Prop := ∀ x ∈ A, ∃ z : ℤ, B x x = 2 * z /-- **Definition 2.1** (Yu–Zhu): `N` is *`d`-saturated* if every even overlattice `A ⊋ N` (that is: `A` is an overlattice of `N`, `A` is integral and even, and `A ≠ N`) contains a vector `x ∈ A \ N` with `x² ≥ -2(d - 2)`. In the paper `d ≥ 5` and `N` is an even negative definite lattice; these standing assumptions are not needed to state (or to use) the condition, so they are not part of the definition. -/ def IsSaturated (d : ℕ) (N : AddSubgroup V) : Prop := ∀ A : AddSubgroup V, IsOverlattice N A → IsIntegral B A → IsEven B A → N ≠ A → ∃ x ∈ A, x ∉ N ∧ -(2 * ((d : ℚ) - 2)) ≤ B x x /-- The *orthogonal complement* `h^⊥ = {x ∈ V | x · h = 0}` of a vector `h ∈ V`, as an additive subgroup of `V`. (For a symmetric form, as in the paper, the order of the two arguments of `B` does not matter.) -/ def perp (h : V) : AddSubgroup V where carrier := {x | B x h = 0} add_mem' {x y} hx hy := by change B x h = 0 at hx change B y h = 0 at hy change B (x + y) h = 0 rw [LinearMap.map_add₂, hx, hy, add_zero] zero_mem' := by change B 0 h = 0 exact LinearMap.map_zero₂ B h neg_mem' {x} hx := by change B x h = 0 at hx change B (-x) h = 0 rw [LinearMap.map_neg₂, hx, neg_zero] /-- **Lemma 2.6** (Yu–Zhu), the direction used in the paper: if for every prime `p` and every isotropic element `y` of order `p` of the discriminant group `N^∨ / N` (that is: `y ∉ N`, `p y ∈ N`, `y · n ∈ ℤ` for `n ∈ N`, `y² ∈ 2ℤ`) there is a vector `x ∈ (N + ℤ y) \ N` with `x² ≥ -2(d - 2)`, then `N` is `d`-saturated. -/ theorem isSaturated_of_prime_check (d : ℕ) (N : AddSubgroup V) (hcheck : ∀ (p : ℕ), p.Prime → ∀ y : V, y ∉ N → (p : ℤ) • y ∈ N → (∀ n ∈ N, ∃ z : ℤ, B y n = z) → (∃ z : ℤ, B y y = 2 * z) → ∃ x ∈ N ⊔ AddSubgroup.zmultiples y, x ∉ N ∧ -(2 * ((d : ℚ) - 2)) ≤ B x x) : IsSaturated B d N := by sorry /-- **Corollary 2.5** (Yu–Zhu), in lattice-theoretic form. `NS` plays the role of the Néron–Severi lattice of a smooth surface `X ⊂ ℙ³` of degree `d`, `h` that of the hyperplane class, and `M ⊆ NS` that of a sublattice of full rank `ρ(X)` containing the classes of all lines. The hypotheses `hprop22` and `hprop23` are Propositions 2.2 and 2.3 of the paper (the latter combined with `S_X ⊆ M`); `heven` is the evenness of `h^⊥` (adjunction). -/ theorem eq_of_saturated (d : ℕ) (NS M : AddSubgroup V) (h : V) (hNS : IsIntegral B NS) (hM : IsOverlattice M NS) (hL : ∃ L ∈ M, B L h = 1) (hhNS : h ∈ NS) (heven : IsEven B (NS ⊓ perp B h)) (hprop22 : ∀ D ∈ NS, B D h = 0 → D ≠ 0 → B D D ≤ -(2 * ((d : ℚ) - 2))) (hprop23 : ∀ D ∈ NS, B D h = 0 → B D D = -(2 * ((d : ℚ) - 2)) → D ∈ M) (hsat : IsSaturated B d (M ⊓ perp B h)) : M = NS := by sorry end Quintic85.Lattice