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.Flat.GlobalFunctionsPushout |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.ConnectedReducedConstants |
| 3 | |
| 4 | /-! # Affine Base Change Constants -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineBaseChangeConstants |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global functions remain constant after affine base change of a pointed connected |
| 11 | reduced proper scheme over a field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {X Y P : Scheme.{u}} |
| 18 | |
| 19 | theorem properField_affineBaseChange_globalFunctions_isIso |
| 20 | (p : X ⟶ Spec (.of K)) [UniversallyClosed p] [IsSeparated p] |
| 21 | [IsReduced X] [ConnectedSpace X] (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 22 | {a : P ⟶ X} {b : P ⟶ Y} {g : Y ⟶ Spec (.of K)} (H : IsPullback a b p g) |
| 23 | [IsAffine Y] : IsIso b.appTop := by |
| 24 | have : CompactSpace X := (quasiCompact_iff_compactSpace p).mp inferInstance |
| 25 | have hp : IsSeparated (p ≫ terminal.from (Spec (.of K))) := inferInstance |
| 26 | have : IsSeparated (terminal.from X) := (terminal.comp_from p) ▸ hp |
| 27 | have : IsIso p.appTop := (ConnectedReducedConstants.properConnectedReducedPointGlobalIso p x hx).isIso_hom |
| 28 | let := ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 29 | (Field.toIsField K)).toField |
| 30 | have : Module.Flat Γ(Spec (.of K), ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) := inferInstance |
| 31 | exact HilbertConstruction.Flat.GlobalFunctionsPushout.flatBaseChange_globalFunctions_isIso H |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineBaseChangeConstants |