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.ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Integral |
| 4 | |
| 5 | /-! # Abelian Geometric Integrality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.AbelianGeometricIntegrality |
| 8 | |
| 9 | /-! The original abelian-scheme hypotheses supply geometric integrality over a field. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 16 | |
| 17 | /-- Every field-valued base change is connected and smooth proper, hence integral. -/ |
| 18 | theorem geometricallyIntegral {k : Type u} [Field k] {a : ℕ} |
| 19 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme a (Spec (.of k))) : GeometricallyIntegral A.scheme.hom := by |
| 20 | constructor |
| 21 | intro K _ g Z p q H |
| 22 | have : Smooth q := MorphismProperty.of_isPullback (P := @Smooth) H inferInstance |
| 23 | have : IsProper q := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 24 | have : ConnectedSpace Z := |
| 25 | GeometricallyConnected.geometrically_connectedSpace (f := A.scheme.hom) g p q H |
| 26 | exact ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality.Construction.smooth_connected_scheme_integral q |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.AbelianGeometricIntegrality |