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 |
| 2 | |
| 3 | /-! # Compact Reconstruction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CompactReconstruction |
| 6 | |
| 7 | /-! A continuous reconstruction from observed coordinates transfers |
| 8 | compact bounds to a closed embedded space. -/ |
| 9 | |
| 10 | open Set _root_.Topology |
| 11 | |
| 12 | theorem isCompact_preimage_of_reconstruction {X E V : Type*} |
| 13 | [TopologicalSpace X] [TopologicalSpace E] [TopologicalSpace V] [T2Space V] |
| 14 | (f : X → E) (hf : IsClosedEmbedding f) (g : X → V) (hg : Continuous g) |
| 15 | (r : V → E) (hr : Continuous r) (hrec : ∀ x, r (g x) = f x) |
| 16 | (C : Set V) (hC : IsCompact C) : IsCompact (g ⁻¹' C) := by |
| 17 | apply (hf.isCompact_preimage (hC.image hr)).of_isClosed_subset (hC.isClosed.preimage hg) |
| 18 | intro x hx |
| 19 | exact ⟨g x, hx, hrec x⟩ |
| 20 | |
| 21 | end OAI.NumberTheory.Quaternion.Arithmetic.CompactReconstruction |