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.AlgebraicGeometry.ResidueField |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UnderlyingMap |
| 3 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 4 | import Lean.Util.CollectAxioms |
| 5 | |
| 6 | /-! # Geometric Point Surjectivity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.GeometricPointSurjectivity.Geometric |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Lifting every actual algebraically closed field point proves |
| 13 | surjectivity on the original scheme point spaces. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | theorem surjective_of_geometricPoint_lifts {X Y : Scheme.{0}} (f : X ⟶ Y) |
| 18 | (h : ∀ (K : Type) [Field K] [IsAlgClosed K] (t : Spec (.of K) ⟶ Y), |
| 19 | ∃ p : Spec (.of K) ⟶ X, p ≫ f = t) : Surjective f := by |
| 20 | constructor |
| 21 | intro y |
| 22 | let K := AlgebraicClosure (Y.residueField y) |
| 23 | let b := Spec.map (CommRingCat.ofHom (algebraMap (Y.residueField y) K)) |
| 24 | let t := b ≫ Y.fromSpecResidueField y |
| 25 | obtain ⟨p, hp⟩ := h K t |
| 26 | refine ⟨p (IsLocalRing.closedPoint K), ?_⟩ |
| 27 | exact (congrArg (fun q : Spec (.of K) ⟶ Y => q (IsLocalRing.closedPoint K)) hp).trans |
| 28 | (Y.fromSpecResidueField_apply y (b (IsLocalRing.closedPoint K))) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.GeometricPointSurjectivity.Geometric |