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.Divisors.LineBundles.Integral.FiberGenericPoint |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Algebra |
| 5 | |
| 6 | /-! # Algebra Spectrum Projection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AlgebraSpectrumProjection.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The spectrum projection of an actual algebra, including faithful |
| 13 | flatness forced by flatness and its nonempty integral fibers. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | |
| 19 | def algebraSpectrumProjection : Spec (.of S) ⟶ Spec (.of R) := |
| 20 | Spec.map (CommRingCat.ofHom (algebraMap R S)) |
| 21 | |
| 22 | instance algebraSpectrumProjection_flat [Module.Flat R S] : Flat (algebraSpectrumProjection R S) := |
| 23 | Flat.SpecMap_iff.mpr (RingHom.flat_algebraMap_iff.mpr inferInstance) |
| 24 | |
| 25 | theorem algebraSpectrumProjection_faithfullyFlat [Flat (algebraSpectrumProjection R S)] |
| 26 | [GeometricallyIntegral (algebraSpectrumProjection R S)] : Module.FaithfullyFlat R S := |
| 27 | RingHom.faithfullyFlat_algebraMap_iff.mp |
| 28 | ((flat_and_surjective_SpecMap_iff (CommRingCat.ofHom (algebraMap R S))).mp |
| 29 | ⟨inferInstanceAs (Flat (algebraSpectrumProjection R S)), |
| 30 | inferInstanceAs (Surjective (algebraSpectrumProjection R S))⟩) |
| 31 | |
| 32 | theorem algebraSpectrumProjection_comap_map [Flat (algebraSpectrumProjection R S)] |
| 33 | [GeometricallyIntegral (algebraSpectrumProjection R S)] (p : Ideal R) : |
| 34 | Ideal.comap (algebraMap R S) (p.map (algebraMap R S)) = p := by |
| 35 | let : Module.FaithfullyFlat R S := algebraSpectrumProjection_faithfullyFlat R S |
| 36 | exact Ideal.comap_map_eq_self_of_faithfullyFlat p |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AlgebraSpectrumProjection.BundleCycles |