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 | import Mathlib.Topology.LocallyConstant.Basic |
| 4 | |
| 5 | /-! # Specialization Constancy -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.SpecializationConstancy |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A function invariant under specialization on a Noetherian quasi-sober space is locally constant. Each inverse image is a finite union of irreducible components. -/ |
| 12 | open _root_.TopologicalSpace |
| 13 | universe u v |
| 14 | |
| 15 | theorem noetherian_isLocallyConstant_of_specialization |
| 16 | {X : Type u} [TopologicalSpace X] [NoetherianSpace X] [QuasiSober X] |
| 17 | {Y : Type v} (f : X → Y) (h : ∀ x y, x ⤳ y → f x = f y) : IsLocallyConstant f := by |
| 18 | have : Finite (irreducibleComponents X) := NoetherianSpace.finite_irreducibleComponents.to_subtype |
| 19 | let g : irreducibleComponents X → X := fun C => (genericPoints.ofComponent C).val |
| 20 | have hc (C : irreducibleComponents X) (x : X) (hx : x ∈ C.val) : f (g C) = f x := |
| 21 | h _ _ ((genericPoints.isGenericPoint_ofComponent C).specializes hx) |
| 22 | have hclosed (V : Set Y) : IsClosed (f ⁻¹' V) := by |
| 23 | let I := {C : irreducibleComponents X // f (g C) ∈ V} |
| 24 | have he : f ⁻¹' V = ⋃ C : I, C.val.val := by |
| 25 | ext x |
| 26 | constructor |
| 27 | · intro hx |
| 28 | let C : irreducibleComponents X := ⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩ |
| 29 | have hxC : x ∈ C.val := mem_irreducibleComponent |
| 30 | exact Set.mem_iUnion.mpr ⟨⟨C, (hc C x hxC).symm ▸ hx⟩, hxC⟩ |
| 31 | · intro hx |
| 32 | obtain ⟨C, hxC⟩ := Set.mem_iUnion.mp hx |
| 33 | change f x ∈ V |
| 34 | exact (hc C.val x hxC) ▸ C.property |
| 35 | rw [he] |
| 36 | exact isClosed_iUnion_of_finite (fun C : I => isClosed_of_mem_irreducibleComponents C.val.val C.val.property) |
| 37 | intro V |
| 38 | simpa only [Set.preimage_compl, compl_compl] using (hclosed Vᶜ).isOpen_compl |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.SpecializationConstancy |