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.Sober |
| 3 | |
| 4 | /-! # Noetherian Specialization Closed -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.NoetherianSpecializationClosed.Geometric |
| 7 | |
| 8 | /-! In a Noetherian sober space, an open set stable under |
| 9 | specialization is a finite union of irreducible components. -/ |
| 10 | |
| 11 | open Set _root_.TopologicalSpace |
| 12 | |
| 13 | theorem isClosed_of_isOpen_stableUnderSpecialization |
| 14 | {X : Type*} [TopologicalSpace X] [NoetherianSpace X] [QuasiSober X] |
| 15 | {s : Set X} (hs : IsOpen s) (hst : StableUnderSpecialization s) : IsClosed s := by |
| 16 | let C := {Z ∈ irreducibleComponents X | Z ⊆ s} |
| 17 | have hC : C.Finite := NoetherianSpace.finite_irreducibleComponents.subset (fun _ h => h.1) |
| 18 | have he : s = ⋃ Z ∈ C, Z := by |
| 19 | apply Set.Subset.antisymm |
| 20 | · intro x hx |
| 21 | let Z := irreducibleComponent x |
| 22 | have hZ := irreducibleComponent_mem_irreducibleComponents x |
| 23 | have hclosed := isClosed_of_mem_irreducibleComponents Z hZ |
| 24 | have hη := hZ.1.isGenericPoint_genericPoint hclosed |
| 25 | have hxZ : x ∈ Z := mem_irreducibleComponent |
| 26 | have hηs := hs.stableUnderGeneralization (hη.specializes hxZ) hx |
| 27 | have hsub : Z ⊆ s := fun y hy => hst (hη.specializes hy) hηs |
| 28 | exact Set.mem_iUnion.mpr ⟨Z, Set.mem_iUnion.mpr ⟨⟨hZ, hsub⟩, hxZ⟩⟩ |
| 29 | · intro x hx |
| 30 | obtain ⟨Z, hZ, hxZ⟩ := Set.mem_iUnion₂.mp hx |
| 31 | exact hZ.2 hxZ |
| 32 | rw [he] |
| 33 | exact hC.isClosed_biUnion (fun Z hZ => isClosed_of_mem_irreducibleComponents Z hZ.1) |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.NoetherianSpecializationClosed.Geometric |