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.Compactness.Compact |
| 2 | import Mathlib.Topology.Sets.Opens |
| 3 | |
| 4 | /-! # Open Subcover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.OpenSubcover |
| 7 | |
| 8 | /-! A compact scheme space admits a finite subcover of its original |
| 9 | open cover, preserving every chosen affine chart and its frame. -/ |
| 10 | |
| 11 | open _root_.TopologicalSpace |
| 12 | |
| 13 | theorem exists_finite_open_subcover {X I : Type*} [TopologicalSpace X] [CompactSpace X] |
| 14 | (U : I → Opens X) (hU : iSup U = ⊤) : |
| 15 | ∃ t : Finset I, iSup (fun i : t => U i.val) = ⊤ := by |
| 16 | classical |
| 17 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover |
| 18 | (fun i => (U i : Set X)) (fun i => (U i).isOpen) (by |
| 19 | intro x _ |
| 20 | have hx : x ∈ iSup U := by rw [hU]; trivial |
| 21 | exact Set.mem_iUnion.mpr (Opens.mem_iSup.mp hx)) |
| 22 | refine ⟨t, top_unique ?_⟩ |
| 23 | intro x _ |
| 24 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (ht (Set.mem_univ x)) |
| 25 | obtain ⟨hit, hx⟩ := Set.mem_iUnion.mp hi |
| 26 | exact Opens.mem_iSup.mpr ⟨⟨i, hit⟩, hx⟩ |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.OpenSubcover |