module public import Mathlib.LinearAlgebra.BilinearMap public import Mathlib.Algebra.Group.Subgroup.ZPowers.Basic public import Mathlib.Data.Nat.Prime.Defs public import Mathlib.Tactic.Linarith @[expose] public section /-! # Section 2 of Yu–Zhu: `d`-saturated lattices This file formalizes the lattice-theoretic part of Section 2 of Yu–Zhu, *A smooth quintic surface with 85 lines and Picard number 43* (arXiv:2609.26862v1): * Definition 2.1 (`d`-saturated lattices); * Lemma 2.6, in the direction used in the paper: to check saturation it suffices to look at the isotropic elements of prime order of the discriminant group; * Corollary 2.5: a sublattice `M` of finite index of `NS(X)`, containing a vector `L` with `L · h = 1` and such that `M ∩ h^⊥` is `d`-saturated, is all of `NS(X)` (given Propositions 2.2 and 2.3). ## The model All lattices live in one `ℚ`-vector space `V` (think of `NS(X) ⊗ ℚ`) carrying a `ℚ`-bilinear form `B` (think of the intersection form). We write `x · y` for `B x y` and `x²` for `B x x`. A *lattice* is an additive subgroup `N ⊆ V`, and its *dual* is `N^∨ = {y ∈ V | y · n ∈ ℤ for all n ∈ N}`. * `IsOverlattice N A`: `N ⊆ A` and every element of `A` has a positive multiple in `N`. * `IsIntegral B A`: all products `x · y` with `x, y ∈ A` are integers. * `IsEven B A`: all squares `x²` with `x ∈ A` are even integers. * `IsSaturated B d N` (Definition 2.1): every even overlattice `A ⊋ N` contains a vector `x ∉ N` with `x² ≥ -2(d - 2)`. * `perp B h`: the orthogonal complement `h^⊥ = {x ∈ V | x · h = 0}`. ## Main results * `isSaturated_of_prime_check` (Lemma 2.6): if for every prime `p` and every isotropic element `y` of order `p` of `N^∨ / N` there is a vector `x ∈ (N + ℤ y) \ N` with `x² ≥ -2(d - 2)`, then `N` is `d`-saturated. * `eq_of_saturated` (Corollary 2.5): `M = NS`. The two deep geometric inputs, Proposition 2.2 (the bound `D² ≤ -2(d - 2)` on `h^⊥`, from the Feyzbakhsh–Thomas and Voisin bounds) and Proposition 2.3 (the classes `D ∈ h^⊥` with `D² = -2(d - 2)`), are *not* proved here: they enter as the explicit hypotheses `hprop22` and `hprop23`. -/ 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 /-- The key step of Lemma 2.6: an overlattice `A ⊋ N` contains a vector `y ∉ N` with `p y ∈ N` for some prime `p`. Proof: pick `a ∈ A \ N` and the least `m > 0` with `m a ∈ N`. Then `m ≠ 1`, so some prime `p` divides `m`, say `m = p k`, and `y = k a` works: `k a ∉ N` by minimality of `m` (as `0 < k < m`), while `p y = m a ∈ N`. -/ theorem IsOverlattice.exists_prime_smul_mem {N A : AddSubgroup V} (hA : IsOverlattice N A) (hne : N ≠ A) : ∃ p : ℕ, p.Prime ∧ ∃ y ∈ A, y ∉ N ∧ (p : ℤ) • y ∈ N := by classical -- a vector `a ∈ A \ N` obtain ⟨a, haA, haN⟩ : ∃ a ∈ A, a ∉ N := by by_contra hcon refine hne (le_antisymm hA.1 fun x hx => ?_) by_contra hxN exact hcon ⟨x, hx, hxN⟩ -- the least `m > 0` with `m a ∈ N` have hex : ∃ m : ℕ, 0 < m ∧ (m : ℤ) • a ∈ N := hA.2 a haA obtain ⟨m, ⟨hm0, hmN⟩, hmin⟩ : ∃ m : ℕ, (0 < m ∧ (m : ℤ) • a ∈ N) ∧ ∀ k < m, ¬ (0 < k ∧ (k : ℤ) • a ∈ N) := ⟨Nat.find hex, Nat.find_spec hex, fun k hk => Nat.find_min hex hk⟩ -- `m ≠ 1` since `a ∉ N`, so `m = p k` for a prime `p` have hm1 : m ≠ 1 := by rintro rfl exact haN (by simpa using hmN) obtain ⟨p, hp, k, rfl⟩ := Nat.exists_prime_and_dvd hm1 have hk0 : 0 < k := Nat.pos_of_ne_zero fun hk => by simp [hk] at hm0 have hkm : k < p * k := by nlinarith [hp.two_le] -- `y = k a`: not in `N` by minimality of `m`, and `p y = m a ∈ N` refine ⟨p, hp, (k : ℤ) • a, zsmul_mem haA _, fun hkN => hmin k hkm ⟨hk0, hkN⟩, ?_⟩ rw [smul_smul, ← Nat.cast_mul] exact hmN 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] /-- A vector `x` lies in `h^⊥` if and only if `x · h = 0`. -/ @[simp] theorem mem_perp {h x : V} : x ∈ perp B h ↔ B x h = 0 := Iff.rfl /-- **Lemma 2.6** (Yu–Zhu), the direction used in the paper: to show that `N` is `d`-saturated it suffices to check the isotropic elements of prime order of the discriminant group `N^∨ / N`. Hypothesis `hcheck`: for every prime `p` and every vector `y ∈ V` representing an isotropic element of order `p` of `N^∨ / N` — that is, `y ∉ N` and `p y ∈ N` (order `p`), `y · n ∈ ℤ` for all `n ∈ N` (`y ∈ N^∨`), and `y² ∈ 2ℤ` (isotropic) — the lattice `N + ℤ y` contains a vector `x ∉ N` with `x² ≥ -2(d - 2)`. Conclusion: `N` is `d`-saturated. Proof: an even overlattice `A ⊋ N` contains some `y ∉ N` with `p y ∈ N` for a prime `p` (`IsOverlattice.exists_prime_smul_mem`). Since `A` is integral and even and contains `N`, this `y` represents an isotropic element of order `p` of `N^∨ / N`, and the vector `x` provided by `hcheck` lies in `N + ℤ y ⊆ A`. -/ 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 intro A hA hint hev hne -- `y ∈ A \ N` with `p y ∈ N` for a prime `p` obtain ⟨p, hp, y, hyA, hyN, hpy⟩ := hA.exists_prime_smul_mem hne -- `y ∈ N^∨` because `A` is integral, and `y² ∈ 2ℤ` because `A` is even obtain ⟨x, hx, hxN, hxx⟩ := hcheck p hp y hyN hpy (fun n hn => hint y hyA n (hA.1 hn)) (hev y hyA) -- `x ∈ N + ℤ y ⊆ A` exact ⟨x, sup_le hA.1 (AddSubgroup.zmultiples_le.mpr hyA) hx, hxN, hxx⟩ /-- **Corollary 2.5** (Yu–Zhu), in lattice-theoretic form. Here `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)`. Hypotheses: * `hNS`: `NS` is integral; * `hM`: `M ⊆ NS` has finite index (`NS` is an overlattice of `M`); * `hL`: some `L ∈ M` has `L · h = 1` (e.g. the class of a line on `X`); * `hhNS`: `h ∈ NS`; * `heven`: `NS ∩ h^⊥` is even (on `X` this follows from adjunction, as `K_X = (d - 4) h`); * `hprop22` (Proposition 2.2): every nonzero `D ∈ NS ∩ h^⊥` has `D² ≤ -2(d - 2)`; * `hprop23` (Proposition 2.3, combined with the inclusion `S_X ⊆ M`): every `D ∈ NS ∩ h^⊥` with `D² = -2(d - 2)` lies in `M`; * `hsat`: `M ∩ h^⊥` is `d`-saturated. Conclusion: `M = NS`. Proof: `A = NS ∩ h^⊥` is an even (integral) overlattice of `N = M ∩ h^⊥`. If `A ≠ N`, saturation gives `x ∈ A \ N` with `x² ≥ -2(d - 2)`; then `x ≠ 0`, so `x² = -2(d - 2)` by Proposition 2.2, hence `x ∈ M` by Proposition 2.3, and so `x ∈ N`: a contradiction. Thus `A = N`. Finally, for `D ∈ NS` the number `z = D · h` is an integer (as `h ∈ NS`), and `D - z L ∈ A = N ⊆ M`, so `D ∈ M`. -/ 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 -- Step 1: `N = M ∩ h^⊥` equals `A = NS ∩ h^⊥`. have hNA : M ⊓ perp B h = NS ⊓ perp B h := by by_contra hne -- `A` is an overlattice of `N` have hover : IsOverlattice (M ⊓ perp B h) (NS ⊓ perp B h) := by refine ⟨inf_le_inf_right _ hM.1, fun a ha => ?_⟩ rw [AddSubgroup.mem_inf] at ha obtain ⟨m, hm0, hmM⟩ := hM.2 a ha.1 exact ⟨m, hm0, AddSubgroup.mem_inf.mpr ⟨hmM, zsmul_mem ha.2 _⟩⟩ -- `A` is integral, being contained in `NS` have hint : IsIntegral B (NS ⊓ perp B h) := fun x hx y hy => hNS x (AddSubgroup.mem_inf.mp hx).1 y (AddSubgroup.mem_inf.mp hy).1 -- saturation gives `x ∈ A \ N` with `x² ≥ -2(d - 2)` obtain ⟨x, hxA, hxN, hxx⟩ := hsat _ hover hint heven hne rw [AddSubgroup.mem_inf, mem_perp] at hxA -- `x ≠ 0`, as `0 ∈ N` have hx0 : x ≠ 0 := by rintro rfl exact hxN (zero_mem _) -- Proposition 2.2 forces `x² = -2(d - 2)`, so `x ∈ M` by Proposition 2.3, i.e. `x ∈ N` have hx2 : B x x = -(2 * ((d : ℚ) - 2)) := le_antisymm (hprop22 x hxA.1 hxA.2 hx0) hxx exact hxN (AddSubgroup.mem_inf.mpr ⟨hprop23 x hxA.1 hxA.2 hx2, (mem_perp B).mpr hxA.2⟩) -- Step 2: every `D ∈ NS` lies in `M`, as `D - (D · h) L ∈ NS ∩ h^⊥ = M ∩ h^⊥`. refine le_antisymm hM.1 fun D hD => ?_ obtain ⟨L, hLM, hLh⟩ := hL obtain ⟨z, hz⟩ := hNS D hD h hhNS have hDL : D - z • L ∈ M ⊓ perp B h := by rw [hNA, AddSubgroup.mem_inf, mem_perp] refine ⟨sub_mem hD (zsmul_mem (hM.1 hLM) z), ?_⟩ -- `(D - z L) · h = z - z (L · h) = 0` simp [hLh, hz] have hDM := add_mem (AddSubgroup.mem_inf.mp hDL).1 (zsmul_mem hLM z) rwa [sub_add_cancel] at hDM end Quintic85.Lattice