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.Category.TopCat.Basic |
| 2 | import Mathlib.Topology.Separation.Basic |
| 3 | import Mathlib.Topology.Sets.Opens |
| 4 | |
| 5 | /-! # Preimage Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PreimageNeighborhood.Constructions |
| 8 | |
| 9 | /-! A point in a finite inverse image admits an isolating open inside any prescribed target neighborhood. -/ |
| 10 | |
| 11 | open _root_.TopologicalSpace |
| 12 | |
| 13 | theorem exists_isolating_open {X Y : Type*} [TopologicalSpace X] [T1Space X] [TopologicalSpace Y] |
| 14 | (f : X → Y) (hf : Continuous f) (T : Set Y) (hT : (f ⁻¹' T).Finite) |
| 15 | (x : X) (O : Opens Y) (hx : f x ∈ O) : |
| 16 | ∃ V : Opens X, x ∈ V ∧ Set.MapsTo f (V : Set X) O ∧ |
| 17 | ∀ z ∈ V, f z ∈ T → z = x := by |
| 18 | let V : Opens X := ⟨f ⁻¹' O ∩ (f ⁻¹' T \ {x})ᶜ, |
| 19 | (O.isOpen.preimage hf).inter (hT.sdiff (t := {x})).isClosed.isOpen_compl⟩ |
| 20 | refine ⟨V, ⟨hx, fun h => h.2 rfl⟩, fun _ h => h.1, ?_⟩ |
| 21 | intro z hz hzt |
| 22 | by_contra hne |
| 23 | exact hz.2 ⟨hzt, hne⟩ |
| 24 | |
| 25 | end OAI.AlgebraicGeometry.CycleClass.Thom.Finite.PreimageNeighborhood.Constructions |