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.LocalAtTarget |
| 2 | |
| 3 | /-! # Map Open Cover -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Proper.MapOpenCover.Constructions |
| 6 | |
| 7 | /-! Properness of a continuous map is local on an open cover of its target. -/ |
| 8 | |
| 9 | open _root_.TopologicalSpace _root_.Topology Set |
| 10 | |
| 11 | theorem isProperMap_of_openCover {X Y ι : Type*} [TopologicalSpace X] [TopologicalSpace Y] |
| 12 | {f : X → Y} {U : ι → Opens Y} (hU : IsOpenCover U) (hf : Continuous f) |
| 13 | (h : ∀ i, IsProperMap ((U i : Set Y).restrictPreimage f)) : IsProperMap f := by |
| 14 | rw [isProperMap_iff_isClosedMap_and_compact_fibers] |
| 15 | refine ⟨hf, hU.isClosedMap_iff_restrictPreimage.mpr (fun i => (h i).isClosedMap), ?_⟩ |
| 16 | intro y |
| 17 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp |
| 18 | (show y ∈ iSup U by rw [hU.iSup_eq_top]; trivial) |
| 19 | have hc := (h i).isCompact_preimage (isCompact_singleton (x := (⟨y, hi⟩ : U i))) |
| 20 | have hh := hc.image continuous_subtype_val |
| 21 | rw [image_val_preimage_restrictPreimage, Set.image_singleton] at hh |
| 22 | exact hh |
| 23 | |
| 24 | end OAI.AlgebraicGeometry.CycleClass.Thom.Proper.MapOpenCover.Constructions |