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.Continuous |
| 2 | import Mathlib.Topology.NhdsWithin |
| 3 | |
| 4 | /-! # Dense Parameter Closure -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.DenseParameterClosure |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A curve evaluated on a dense parameter set lies in a closed set |
| 11 | wherever it is continuous and all sufficiently near dense parameters |
| 12 | have values in that set. -/ |
| 13 | |
| 14 | open Set Filter _root_.Topology |
| 15 | |
| 16 | theorem dense_parameters_mem_closed {R X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] |
| 17 | {d : R → X} (hd : DenseRange d) {f : X → Y} {C : Set Y} (hC : IsClosed C) |
| 18 | {x : X} (hf : ContinuousAt f x) {U : Set X} (hU : U ∈ 𝓝 x) |
| 19 | (hvalues : ∀ r, d r ∈ U → f (d r) ∈ C) : f x ∈ C := by |
| 20 | let : NeBot (𝓝[range d] x) := hd.nhdsWithin_neBot x |
| 21 | have hlim : Tendsto f (𝓝[range d] x) (𝓝 (f x)) := |
| 22 | hf.tendsto.mono_left nhdsWithin_le_nhds |
| 23 | apply hC.mem_of_tendsto hlim |
| 24 | filter_upwards [nhdsWithin_le_nhds hU, self_mem_nhdsWithin] with y hy hr |
| 25 | obtain ⟨r, rfl⟩ := hr |
| 26 | exact hvalues r hy |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.Quaternion.Arithmetic.DenseParameterClosure |