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.Separation.Hausdorff |
| 2 | import Mathlib.Topology.Homeomorph.Lemmas |
| 3 | |
| 4 | /-! # Graph Embedding -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Closed.GraphEmbedding.Constructions |
| 7 | |
| 8 | /-! Combining a continuous map with an actual closed embedding gives a closed graph embedding. -/ |
| 9 | |
| 10 | theorem graph_closedEmbedding {X Y N : Type*} [TopologicalSpace X] [TopologicalSpace Y] |
| 11 | [TopologicalSpace N] [T2Space N] (g : X → N) (hg : Continuous g) |
| 12 | (e : X → Y) (he : Topology.IsClosedEmbedding e) : |
| 13 | Topology.IsClosedEmbedding (fun x => (g x, e x)) := by |
| 14 | have hgraph : Topology.IsClosedEmbedding (fun x : X => (x, g x)) := by |
| 15 | refine ⟨isEmbedding_graph hg, ?_⟩ |
| 16 | have hr : Set.range (fun x : X => (x, g x)) = {z : X × N | g z.1 = z.2} := by |
| 17 | ext z |
| 18 | constructor |
| 19 | · rintro ⟨x, rfl⟩ |
| 20 | rfl |
| 21 | · intro hz |
| 22 | exact ⟨z.1, Prod.ext rfl hz⟩ |
| 23 | rw [hr] |
| 24 | exact isClosed_eq (hg.comp continuous_fst) continuous_snd |
| 25 | exact (Homeomorph.prodComm Y N).isClosedEmbedding.comp |
| 26 | ((he.prodMap Topology.IsClosedEmbedding.id).comp hgraph) |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.CycleClass.Thom.Closed.GraphEmbedding.Constructions |