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.AlgebraicGeometry.Noetherian |
| 2 | import Mathlib.Topology.Connected.Clopen |
| 3 | |
| 4 | /-! # Connected Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.ConnectedComponents |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A Noetherian space has finitely many open connected components; for schemes these are actual connected open subschemes. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem noetherian_finite_connectedComponents (X : Type u) [TopologicalSpace X] [NoetherianSpace X] : |
| 17 | Finite (ConnectedComponents X) := by |
| 18 | have : Finite (irreducibleComponents X) := (NoetherianSpace.finite_irreducibleComponents (α := X)).to_subtype |
| 19 | let q : (irreducibleComponents X) → ConnectedComponents X := |
| 20 | fun Z => ConnectedComponents.mk Z.property.1.1.choose |
| 21 | apply Finite.of_surjective q |
| 22 | intro c |
| 23 | obtain ⟨x, rfl⟩ := ConnectedComponents.surjective_coe c |
| 24 | refine ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, ?_⟩ |
| 25 | apply ConnectedComponents.coe_eq_coe'.mpr |
| 26 | exact irreducibleComponent_subset_connectedComponent |
| 27 | (irreducibleComponent_mem_irreducibleComponents x).1.1.choose_spec |
| 28 | |
| 29 | theorem connectedComponents_t1 (X : Type u) [TopologicalSpace X] : T1Space (ConnectedComponents X) := by |
| 30 | constructor |
| 31 | intro c |
| 32 | obtain ⟨x, rfl⟩ := ConnectedComponents.surjective_coe c |
| 33 | apply ConnectedComponents.isQuotientMap_coe.isClosed_preimage.mp |
| 34 | rw [connectedComponents_preimage_singleton] |
| 35 | exact isClosed_connectedComponent |
| 36 | |
| 37 | theorem noetherian_connectedComponent_open (X : Type u) [TopologicalSpace X] [NoetherianSpace X] (x : X) : |
| 38 | IsOpen (connectedComponent x) := by |
| 39 | have := noetherian_finite_connectedComponents X |
| 40 | have := connectedComponents_t1 X |
| 41 | exact ConnectedComponents.discreteTopology_iff.mp inferInstance x |
| 42 | |
| 43 | def noetherianConnectedComponentOpen (X : Scheme.{u}) [IsNoetherian X] (x : X) : X.Opens := |
| 44 | ⟨connectedComponent x, noetherian_connectedComponent_open X x⟩ |
| 45 | |
| 46 | instance noetherianConnectedComponentOpen_connected (X : Scheme.{u}) [IsNoetherian X] (x : X) : |
| 47 | ConnectedSpace (noetherianConnectedComponentOpen X x).toScheme := |
| 48 | isConnected_iff_connectedSpace.mp isConnected_connectedComponent |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.ConnectedComponents |