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 Mathlib.Topology.KrullDimension |
| 2 | import Mathlib.Topology.NoetherianSpace |
| 3 | |
| 4 | /-! # Zero Dimensional Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.ZeroDimensionalFinite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A Noetherian T0 space of dimension at most zero is finite. Every |
| 11 | point is then the generic point of an irreducible component, and there |
| 12 | are only finitely many such components. This applies to the underlying |
| 13 | space of a zero-dimensional closed scheme obtained by cuts. -/ |
| 14 | open _root_.TopologicalSpace |
| 15 | universe u |
| 16 | |
| 17 | theorem genericPoint_of_topologicalKrullDim_nonpos |
| 18 | {X : Type u} [TopologicalSpace X] (h : topologicalKrullDim X ≤ 0) (x : X) : |
| 19 | x ∈ genericPoints X := by |
| 20 | have hm : ∀ Z : IrreducibleCloseds X, IsMax Z := Order.krullDim_nonpos_iff_forall_isMax.mp h |
| 21 | let Z : IrreducibleCloseds X := ⟨closure {x}, isIrreducible_singleton.closure, isClosed_closure⟩ |
| 22 | change closure {x} ∈ irreducibleComponents X |
| 23 | rw [irreducibleComponents_eq_maximals_closed] |
| 24 | refine ⟨⟨isClosed_closure, isIrreducible_singleton.closure⟩, ?_⟩ |
| 25 | intro Y hY hZY |
| 26 | exact hm Z (show Z ≤ (⟨Y, hY.2, hY.1⟩ : IrreducibleCloseds X) from hZY) |
| 27 | |
| 28 | theorem finite_of_noetherian_topologicalKrullDim_nonpos |
| 29 | (X : Type u) [TopologicalSpace X] [T0Space X] [NoetherianSpace X] |
| 30 | (h : topologicalKrullDim X ≤ 0) : Finite X := by |
| 31 | have hf : (genericPoints X).Finite := genericPoints.finite NoetherianSpace.finite_irreducibleComponents |
| 32 | let : Finite (genericPoints X) := hf.to_subtype |
| 33 | exact Finite.of_injective (fun x : X => (⟨x, genericPoint_of_topologicalKrullDim_nonpos h x⟩ : genericPoints X)) |
| 34 | (fun _ _ hxy => congrArg Subtype.val hxy) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.ZeroDimensionalFinite |