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 | /-! # Disjoint Noetherian Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DisjointNoetherianComponents.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: disjoint Noetherian irreducible components are connected components |
| 12 | -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | |
| 16 | variable (X : Type*) [TopologicalSpace X] [NoetherianSpace X] |
| 17 | (h : ∀ (x : X) {C D : Set X}, C ∈ irreducibleComponents X → |
| 18 | D ∈ irreducibleComponents X → x ∈ C → x ∈ D → C = D) |
| 19 | |
| 20 | include h |
| 21 | |
| 22 | /-- A Noetherian irreducible component disjoint from all others is open and closed. -/ |
| 23 | theorem disjoint_noetherian_component_isClopen {C : Set X} |
| 24 | (hC : C ∈ irreducibleComponents X) : IsClopen C := by |
| 25 | have he : C = (⋃₀ (irreducibleComponents X \ {C}))ᶜ := by |
| 26 | ext x |
| 27 | constructor |
| 28 | · intro hx hx' |
| 29 | obtain ⟨D, hD, hxD⟩ := hx' |
| 30 | exact hD.2 (Set.mem_singleton_iff.mpr (h x hD.1 hC hxD hx)) |
| 31 | · intro hx |
| 32 | have hxC := mem_irreducibleComponent (x := x) |
| 33 | have he : irreducibleComponent x = C := by |
| 34 | by_contra hn |
| 35 | exact hx ⟨irreducibleComponent x, |
| 36 | ⟨irreducibleComponent_mem_irreducibleComponents x, hn⟩, hxC⟩ |
| 37 | exact he ▸ hxC |
| 38 | refine ⟨isClosed_of_mem_irreducibleComponents C hC, ?_⟩ |
| 39 | rw [he, Set.sUnion_eq_biUnion] |
| 40 | exact (NoetherianSpace.finite_irreducibleComponents.sdiff.isClosed_biUnion |
| 41 | (fun D hD => isClosed_of_mem_irreducibleComponents D hD.1)).isOpen_compl |
| 42 | |
| 43 | /-- With disjoint irreducible components, each connected component is irreducible. -/ |
| 44 | theorem disjoint_noetherian_connectedComponent_isIrreducible (x : X) : |
| 45 | IsIrreducible (connectedComponent x) := by |
| 46 | have hc := irreducibleComponent_mem_irreducibleComponents x |
| 47 | have he : connectedComponent x = irreducibleComponent x := |
| 48 | Set.Subset.antisymm |
| 49 | ((disjoint_noetherian_component_isClopen X h hc).connectedComponent_subset |
| 50 | mem_irreducibleComponent) |
| 51 | (hc.1.isConnected.isPreconnected.subset_connectedComponent mem_irreducibleComponent) |
| 52 | rw [he] |
| 53 | exact hc.1 |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DisjointNoetherianComponents.Construction |