Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.Powers |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Nonvanishing |
| 3 | |
| 4 | /-! # Powers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ampleness expressed using constructed tensor powers, and finite affine section covers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | /-- Changing the target of a section by an isomorphism preserves its nonvanishing open. -/ |
| 19 | theorem Ample.Powers.sectionNonvanishing_comp_iso {P Q : X.Modules} |
| 20 | (s : Line.Bundles.structureModule X ⟶ P) (e : P ≅ Q) : |
| 21 | Ample.LineBundles.sectionNonvanishing (s ≫ e.hom) = Ample.LineBundles.sectionNonvanishing s := by |
| 22 | apply congrArg sSup |
| 23 | ext U |
| 24 | change IsIso (Ample.LineBundles.pullbackSection U.ι (s ≫ e.hom)) ↔ IsIso (Ample.LineBundles.pullbackSection U.ι s) |
| 25 | simp only [Ample.LineBundles.pullbackSection, Functor.map_comp, ← Category.assoc, isIso_comp_right_iff] |
| 26 | |
| 27 | /-- The constructed tensor power restricts to the constructed power of the restriction. -/ |
| 28 | def Line.Bundles.LineBundle.tensorPowerPullbackIso (L : Line.Bundles.LineBundle Y) (n : ℕ) (f : X ⟶ Y) [IsOpenImmersion f] : |
| 29 | ((L.tensorPower n).pullback f).sheaf ≅ ((L.pullback f).tensorPower n).sheaf := |
| 30 | Classical.choice (((L.tensorPower_isTensorPower n).pullback_of_isOpenImmersion f).unique |
| 31 | ((L.pullback f).tensorPower_isTensorPower n)) |
| 32 | |
| 33 | /-- The arbitrary tensor-power witness in ampleness may be replaced by the constructed power. -/ |
| 34 | theorem Line.Bundles.LineBundle.isAmple_iff_tensorPower (L : Line.Bundles.LineBundle X) : |
| 35 | L.IsAmple ↔ IsCompact (Set.univ : Set X) ∧ |
| 36 | ∀ x : X, ∃ (n : ℕ) (_ : 0 < n) (s : Line.Bundles.structureModule X ⟶ (L.tensorPower n).sheaf), |
| 37 | x ∈ Ample.LineBundles.sectionNonvanishing s ∧ IsAffineOpen (Ample.LineBundles.sectionNonvanishing s) := by |
| 38 | constructor |
| 39 | · rintro ⟨hX, hL⟩ |
| 40 | refine ⟨hX, fun x => ?_⟩ |
| 41 | obtain ⟨n, hn, P, hP, s, hx, hs⟩ := hL x |
| 42 | obtain ⟨e⟩ := hP.unique (L.tensorPower_isTensorPower n) |
| 43 | refine ⟨n, hn, s ≫ e.hom, ?_, ?_⟩ |
| 44 | · rw [Ample.Powers.sectionNonvanishing_comp_iso] |
| 45 | exact hx |
| 46 | · rw [Ample.Powers.sectionNonvanishing_comp_iso] |
| 47 | exact hs |
| 48 | · rintro ⟨hX, hL⟩ |
| 49 | refine ⟨hX, fun x => ?_⟩ |
| 50 | obtain ⟨n, hn, s, hx, hs⟩ := hL x |
| 51 | exact ⟨n, hn, L.tensorPower n, L.tensorPower_isTensorPower n, s, hx, hs⟩ |
| 52 | |
| 53 | /-- Finitely many actual sections of positive powers have affine nonvanishing loci covering X. -/ |
| 54 | theorem Line.Bundles.LineBundle.IsAmple.finite_tensorPower_cover {L : Line.Bundles.LineBundle X} (hL : L.IsAmple) : |
| 55 | ∃ (k : ℕ) (n : Fin k → ℕ) (_ : ∀ i, 0 < n i) |
| 56 | (s : ∀ i, Line.Bundles.structureModule X ⟶ (L.tensorPower (n i)).sheaf), |
| 57 | (∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) ∧ |
| 58 | ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 59 | classical |
| 60 | obtain ⟨hX, h⟩ := (L.isAmple_iff_tensorPower).mp hL |
| 61 | choose n hn s hx hs using h |
| 62 | obtain ⟨t, ht⟩ := hX.elim_finite_subcover |
| 63 | (fun x => (Ample.LineBundles.sectionNonvanishing (s x) : Set X)) |
| 64 | (fun x => (Ample.LineBundles.sectionNonvanishing (s x)).isOpen) |
| 65 | (fun x _ => Set.mem_iUnion.mpr ⟨x, hx x⟩) |
| 66 | let e := Fintype.equivFin t |
| 67 | refine ⟨Fintype.card t, fun i => n (e.symm i).val, fun i => hn _, |
| 68 | fun i => s (e.symm i).val, fun i => hs _, fun x => ?_⟩ |
| 69 | obtain ⟨y, hy, hxy⟩ := Set.mem_iUnion₂.mp (ht (Set.mem_univ x)) |
| 70 | refine ⟨e ⟨y, hy⟩, ?_⟩ |
| 71 | have he : (e.symm (e ⟨y, hy⟩)).val = y := congrArg Subtype.val (e.symm_apply_apply ⟨y, hy⟩) |
| 72 | exact (congrArg (fun z => x ∈ Ample.LineBundles.sectionNonvanishing (s z)) he).mpr hxy |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |