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 OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentFiberAmpleness |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | |
| 4 | /-! # Nilpotent Geometric Connectedness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentGeometricConnectedness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometric connectedness lifts through an actual nilpotent |
| 11 | coefficient reduction, because every field-valued base map factors |
| 12 | through that reduction. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {R k : Type u} [CommRing R] [CommRing k] |
| 16 | (ρ : R →+* k) (hρ : Function.Surjective ρ) |
| 17 | (hker : ∀ a ∈ RingHom.ker ρ, IsNilpotent a) |
| 18 | {X Y : Scheme.{u}} (f : X ⟶ Spec (.of R)) (g : Y ⟶ Spec (.of k)) |
| 19 | (i : Y ⟶ X) (hp : IsPullback i g f (Spec.map (CommRingCat.ofHom ρ))) |
| 20 | [GeometricallyConnected g] |
| 21 | |
| 22 | include hρ hker hp in |
| 23 | theorem connected : GeometricallyConnected f := by |
| 24 | refine ⟨geometrically_iff_of_isClosedUnderIsomorphisms.mpr fun K _ b => ?_⟩ |
| 25 | obtain ⟨c, hc⟩ := NilpotentFiberAmpleness.field_factor ρ hρ hker b |
| 26 | have hs := (IsPullback.of_hasPullback g c).paste_horiz hp |
| 27 | rw [hc] at hs |
| 28 | let : ConnectedSpace ↥(pullback g c) := |
| 29 | GeometricallyConnected.connectedSpace_of_subsingleton (pullback.snd g c) |
| 30 | exact hs.isoPullback.hom.homeomorph.connectedSpace_iff.mp inferInstance |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentGeometricConnectedness |