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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsLocalRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.FiberEquality |
| 3 | |
| 4 | /-! # Functions Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global-functions rigidity propagates across connected parameter schemes, including nilpotents. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X T Y : Scheme.{u}} |
| 17 | |
| 18 | theorem globalFunctions_globalRigidity (p : X ⟶ T) [UniversallyClosed p] |
| 19 | (hp : ∀ V : T.Opens, IsIso (p ∣_ V).appTop) (hopen : IsOpenMap p) |
| 20 | [PreconnectedSpace T] (σ : T ⟶ X) (hσ : σ ≫ p = 𝟙 _) (f : X ⟶ Y) [Y.IsSeparated] |
| 21 | (s : T) (y : Y) (hy : ∀ x : X, p x = s → f x = y) : f = p ≫ σ ≫ f := by |
| 22 | apply Connected.FiberEquality.connectedFamily_eq_of_localEquality p hopen f (p ≫ σ ≫ f) |
| 23 | · intro t ht |
| 24 | apply FunctionsLocalRigidity.globalFunctions_localRigidity p hp σ hσ f t (f (σ t)) |
| 25 | intro x hx |
| 26 | have he := EqualizerFiberLocus.equalizerFiberLocus_map_eq p f (p ≫ σ ≫ f) t ht x hx |
| 27 | change f x = f (σ (p x)) at he |
| 28 | exact he.trans (congrArg (fun a => f (σ a)) hx) |
| 29 | · obtain ⟨V, hs, hV⟩ := FunctionsLocalRigidity.globalFunctions_localRigidity p hp σ hσ f s y hy |
| 30 | exact ⟨s, EqualizerFiberLocus.restrictionEq_le_equalizerFiberLocus p f (p ≫ σ ≫ f) V hV hs⟩ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsRigidity |