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.ReducedClosedSubschemes |
| 2 | import Mathlib.AlgebraicGeometry.Noetherian |
| 3 | |
| 4 | /-! # Reduced Component Finiteness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReducedComponentFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness of a noetherian scheme follows when all its reduced irreducible components are points. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (X : Scheme.{u}) |
| 17 | |
| 18 | theorem reducedClosedSubscheme_irreducible (Z : TopologicalSpace.Closeds X) |
| 19 | (hZ : IsIrreducible (Z : Set X)) : IrreducibleSpace (ReducedClosedSubschemes.reducedClosedSubscheme X Z) := by |
| 20 | change IrreducibleSpace Z |
| 21 | exact Subtype.irreducibleSpace hZ |
| 22 | |
| 23 | theorem finite_of_reduced_components_subsingleton [IsNoetherian X] |
| 24 | (h : ∀ (Z : Set X) (hZ : Z ∈ irreducibleComponents X), |
| 25 | Subsingleton (ReducedClosedSubschemes.reducedClosedSubscheme X ⟨Z, isClosed_of_mem_irreducibleComponents Z hZ⟩)) : Finite X := by |
| 26 | have hZ (Z : Set X) (hZ : Z ∈ irreducibleComponents X) : Z.Finite := by |
| 27 | let C : TopologicalSpace.Closeds X := ⟨Z, isClosed_of_mem_irreducibleComponents Z hZ⟩ |
| 28 | let : Subsingleton (ReducedClosedSubschemes.reducedClosedSubscheme X C) := h Z hZ |
| 29 | have hr : Set.range (ReducedClosedSubschemes.reducedClosedInclusion X C) = Z := ReducedClosedSubschemes.reducedClosedInclusion_range X C |
| 30 | exact hr ▸ Set.finite_range (ReducedClosedSubschemes.reducedClosedInclusion X C) |
| 31 | apply Finite.of_finite_univ |
| 32 | rw [← sUnion_irreducibleComponents (X := X)] |
| 33 | exact TopologicalSpace.NoetherianSpace.finite_irreducibleComponents.sUnion hZ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReducedComponentFiniteness |