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.Finite.BaseFamilyAmpleness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.FlatAffineDescent |
| 3 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 4 | |
| 5 | /-! # Finite Flat Cover Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ampleness on a proper scheme over an affine base descends from a finite covering family of flat affine schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem Line.Bundles.LineBundle.isAmple_of_finite_affine_flat_cover |
| 18 | {S X : Scheme.{u}} [IsAffine S] {ι : Type v} [Finite ι] [Small.{u} ι] |
| 19 | (Y : ι → Scheme.{u}) [∀ i, IsAffine (Y i)] (p : X ⟶ S) [IsProper p] |
| 20 | (f : ∀ i, Y i ⟶ S) [∀ i, Flat (f i)] |
| 21 | (hcover : ∀ s : S, ∃ i, ∃ y : Y i, f i y = s) |
| 22 | (L : Line.Bundles.LineBundle X) (hL : ∀ i, (L.pullback (pullback.fst p (f i))).IsAmple) : L.IsAmple := by |
| 23 | have : IsZariskiLocalAtSource (@Flat.{u}) := |
| 24 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := RingHom.Flat) |
| 25 | let g := Sigma.desc f |
| 26 | have : Flat g := IsZariskiLocalAtSource.sigmaDesc (fun i => inferInstanceAs (Flat (f i))) |
| 27 | have : Surjective g := ⟨fun s => by |
| 28 | obtain ⟨i, y, hy⟩ := hcover s |
| 29 | exact ⟨Sigma.ι Y i y, |
| 30 | (congrArg (fun r : Y i ⟶ S => r y) (Sigma.ι_comp_desc f i)).trans hy⟩⟩ |
| 31 | exact L.isAmple_of_flat_affine_baseChange p g (L.isAmple_baseChange_sigma Y p f hL) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |