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 |
| 2 | |
| 3 | /-! # Compact Fiber -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactFiber.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! ThetaCycle: uniform convergence along a compact fiber from joint continuity |
| 10 | at that fiber, together with eventual containment in an open chart. -/ |
| 11 | |
| 12 | open scoped _root_.Topology |
| 13 | open Filter Set |
| 14 | |
| 15 | theorem eventually_compact_fiber_mem |
| 16 | {P X A : Type*} [TopologicalSpace P] [TopologicalSpace X] {l : Filter A} |
| 17 | (p : A → P) (p₀ : P) (hp : Tendsto p l (𝓝 p₀)) |
| 18 | (K : Set X) (hK : IsCompact K) (U : Set (P × X)) (hU : IsOpen U) |
| 19 | (hfiber : ∀ x ∈ K, (p₀, x) ∈ U) : |
| 20 | ∀ᶠ a in l, ∀ x ∈ K, (p a, x) ∈ U := by |
| 21 | have hprod : ({p₀} : Set P) ×ˢ K ⊆ U := by |
| 22 | rintro ⟨q, x⟩ ⟨hq, hx⟩ |
| 23 | rcases Set.mem_singleton_iff.mp hq with rfl |
| 24 | exact hfiber x hx |
| 25 | obtain ⟨u, v, hu, _, hpu, hKv, huv⟩ := |
| 26 | generalized_tube_lemma isCompact_singleton hK hU hprod |
| 27 | filter_upwards [hp (hu.mem_nhds (hpu (mem_singleton p₀)))] with a ha |
| 28 | intro x hx |
| 29 | exact huv ⟨ha, hKv hx⟩ |
| 30 | |
| 31 | /-- Continuity at the limiting compact fiber is sufficient; continuity away |
| 32 | from it and local compactness of the parameter space are unnecessary. -/ |
| 33 | theorem compact_fiber_uniform_limit |
| 34 | {P X E A : Type*} [TopologicalSpace P] [TopologicalSpace X] [PseudoMetricSpace E] |
| 35 | {l : Filter A} (p : A → P) (p₀ : P) (hp : Tendsto p l (𝓝 p₀)) |
| 36 | (F : P → X → E) (K : Set X) (hK : IsCompact K) |
| 37 | (hF : ∀ x ∈ K, ContinuousAt (Function.uncurry F) (p₀, x)) : |
| 38 | TendstoUniformlyOn (fun a => F (p a)) (F p₀) l K := by |
| 39 | rw [Metric.tendstoUniformlyOn_iff] |
| 40 | intro ε hε |
| 41 | let U : Set (P × X) := {q | dist (F p₀ q.2) (F q.1 q.2) < ε} |
| 42 | have hfiber : ∀ x ∈ K, (p₀, x) ∈ interior U := by |
| 43 | intro x hx |
| 44 | have hc : ContinuousAt (fun q : P × X => F p₀ q.2) (p₀, x) := |
| 45 | (hF x hx).comp (x := (p₀, x)) (f := fun q : P × X => (p₀, q.2)) |
| 46 | (continuous_const.prodMk continuous_snd).continuousAt |
| 47 | have hd : ContinuousAt (fun q : P × X => dist (F p₀ q.2) (F q.1 q.2)) (p₀, x) := |
| 48 | hc.dist (hF x hx) |
| 49 | apply mem_interior_iff_mem_nhds.mpr |
| 50 | have hεN : Iio ε ∈ 𝓝 (dist (F p₀ x) (F p₀ x)) := by |
| 51 | exact isOpen_Iio.mem_nhds (by simpa only [mem_Iio, dist_self] using hε) |
| 52 | exact hd hεN |
| 53 | filter_upwards [eventually_compact_fiber_mem p p₀ hp K hK (interior U) isOpen_interior hfiber] |
| 54 | with a ha |
| 55 | intro x hx |
| 56 | exact interior_subset (s := U) (ha x hx) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactFiber.CM |