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.NoetherianSpace |
| 2 | import Mathlib.Topology.Connected.Clopen |
| 3 | |
| 4 | /-! # Noetherian Connected Components -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Satake.NoetherianConnectedComponents.GL.Zariski |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Connected components in a Noetherian space are open. The |
| 11 | complement is a finite union of disjoint irreducible components. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X : Type*} [TopologicalSpace X] |
| 16 | |
| 17 | theorem irreducibleComponent_subset_connectedComponent {Z : Set X} |
| 18 | (hZ : Z ∈ irreducibleComponents X) {x y : X} (hy : y ∈ Z) (hyx : y ∈ connectedComponent x) : |
| 19 | Z ⊆ connectedComponent x := by |
| 20 | have hsub := hZ.1.2.isPreconnected.subset_connectedComponent hy |
| 21 | rwa [← connectedComponent_eq hyx] at hsub |
| 22 | |
| 23 | theorem noetherian_connectedComponent_isOpen [NoetherianSpace X] (x : X) : |
| 24 | IsOpen (connectedComponent x) := by |
| 25 | let S : Set (Set X) := {Z | Z ∈ irreducibleComponents X ∧ ¬ Z ⊆ connectedComponent x} |
| 26 | have hS : S.Finite := NoetherianSpace.finite_irreducibleComponents.subset (fun _ h => h.1) |
| 27 | have he : (connectedComponent x)ᶜ = ⋃₀ S := by |
| 28 | ext y |
| 29 | constructor |
| 30 | · intro hy |
| 31 | exact Set.mem_sUnion.mpr ⟨irreducibleComponent y, |
| 32 | ⟨irreducibleComponent_mem_irreducibleComponents y, |
| 33 | fun h => hy (h (mem_irreducibleComponent (x := y)))⟩, mem_irreducibleComponent (x := y)⟩ |
| 34 | · intro hy hyx |
| 35 | obtain ⟨Z, hZ, hyZ⟩ := Set.mem_sUnion.mp hy |
| 36 | exact hZ.2 (irreducibleComponent_subset_connectedComponent hZ.1 hyZ hyx) |
| 37 | apply isClosed_compl_iff.mp |
| 38 | rw [he, Set.sUnion_eq_biUnion] |
| 39 | exact hS.isClosed_biUnion (fun Z hZ => isClosed_of_mem_irreducibleComponents Z hZ.1) |
| 40 | |
| 41 | theorem noetherian_connectedComponents_finite [NoetherianSpace X] : Finite (ConnectedComponents X) := by |
| 42 | have : DiscreteTopology (ConnectedComponents X) := |
| 43 | ConnectedComponents.discreteTopology_iff.mpr noetherian_connectedComponent_isOpen |
| 44 | have : NoetherianSpace (ConnectedComponents X) := noetherianSpace_of_surjective |
| 45 | ConnectedComponents.mk ConnectedComponents.continuous_coe ConnectedComponents.surjective_coe |
| 46 | exact NoetherianSpace.finite |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.RepresentationTheory.Satake.NoetherianConnectedComponents.GL.Zariski |