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.AbelianScheme.IsogenyQuotient.AmpleFiniteSectionNeighborhood |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmpleNorm |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 4 | |
| 5 | /-! # Ample Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmpleDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ampleness descends through an actual finite-flat quotient over an |
| 12 | infinite field. The proof constructs source sections avoiding each |
| 13 | whole fibre and takes their global norms; it assumes no section- |
| 14 | avoidance or compatibility datum. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | theorem quotient_isAmple_of_pullback |
| 21 | {K : Type u} [Field K] [Infinite K] |
| 22 | {H S R X Y : Scheme.{u}} [IsAffine H] [IsAffine S] |
| 23 | (q : X ⟶ Y) [IsFinite q] [Flat q] [Surjective q] [LocallyOfFinitePresentation q] |
| 24 | (s t : R ⟶ X) (hk : IsKernelPair q s t) |
| 25 | (h : H ⟶ S) [IsFinite h] (a : X ⟶ S) (r : R ⟶ H) |
| 26 | (hs : IsPullback r s h a) {ι : Type v} [Fintype ι] |
| 27 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) |
| 28 | (f : X ⟶ Spec (.of K)) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 29 | (d : ℕ) (hdegree : ∀ y : Y, q.finrank y = d) |
| 30 | (hL : (L.pullback q).IsAmple) : L.IsAmple := by |
| 31 | apply AmpleNorm.Construction.quotient_isAmple_of_fiber_sections q s t hk h a r hs b L d hdegree hL.1 |
| 32 | intro y |
| 33 | obtain ⟨n, hn, z, hz, hza⟩ := AmpleFiniteSectionNeighborhood.Construction.ample_finite_section_neighborhood f (L.pullback q) hL |
| 34 | (q ⁻¹' {y}) (q.finite_preimage_singleton y) |
| 35 | let z' := z ≫ (L.powerBaseChangeIso q n).inv |
| 36 | have hD : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z' = AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z := |
| 37 | AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso z (L.powerBaseChangeIso q n).symm |
| 38 | refine ⟨n, hn, z', ?_, (congrArg IsAffineOpen hD).mpr hza⟩ |
| 39 | intro x hx |
| 40 | exact (congrArg (fun U : X.Opens => x ∈ U) hD).mpr (hz x hx) |
| 41 | |
| 42 | theorem quotient_isAmple_of_pullback_connected |
| 43 | {K : Type u} [Field K] [Infinite K] |
| 44 | {H S R X Y : Scheme.{u}} [IsAffine H] [IsAffine S] [PreconnectedSpace Y] |
| 45 | (q : X ⟶ Y) [IsFinite q] [Flat q] [Surjective q] [LocallyOfFinitePresentation q] |
| 46 | (s t : R ⟶ X) (hk : IsKernelPair q s t) |
| 47 | (h : H ⟶ S) [IsFinite h] (a : X ⟶ S) (r : R ⟶ H) |
| 48 | (hs : IsPullback r s h a) {ι : Type v} [Fintype ι] |
| 49 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) |
| 50 | (f : X ⟶ Spec (.of K)) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (y₀ : Y) |
| 51 | (hL : (L.pullback q).IsAmple) : L.IsAmple := by |
| 52 | apply quotient_isAmple_of_pullback q s t hk h a r hs b f L (q.finrank y₀) _ hL |
| 53 | intro y |
| 54 | exact q.isLocallyConstant_finrank.apply_eq_of_preconnectedSpace y y₀ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmpleDescent.Construction |