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.Finite.CompositePointedCancellation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.UniversalPointedFieldDetection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.UniversalGlobalFunctions |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 5 | |
| 6 | /-! # Finite Target Field Detection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.FiniteTargetFieldDetection |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Pointed maps into a group family finite over a fixed Noetherian |
| 13 | abelian family are detected on fields, on arbitrary affine test schemes. |
| 14 | The finite target family itself need not descend to the Noetherian base. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} [IsNoetherian S] {g h : ℕ} |
| 20 | variable (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 21 | variable (PA : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (PB : Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 22 | variable (T : Over S) [IsAffine T.left] |
| 23 | variable (D : Over T.left) [GrpObj D] |
| 24 | variable (r : D ⟶ (B.pullback T.hom).scheme) [IsMonHom r] [IsFinite r.left] |
| 25 | |
| 26 | include PA PB r in |
| 27 | theorem relativeFiniteTarget_pointedMap_eq_of_fieldPullbacks |
| 28 | (f q : (A.pullback T.hom).scheme ⟶ D) |
| 29 | (hf : η[(A.pullback T.hom).scheme] ≫ f = η[D]) |
| 30 | (hq : η[(A.pullback T.hom).scheme] ≫ q = η[D]) |
| 31 | (he : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ T.left), |
| 32 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 33 | let Q := PA.product PB |
| 34 | have hc : f ≫ r = q ≫ r := by |
| 35 | refine UniversalPointedFieldDetection.relativeUniversalPointedMap_eq_of_fieldPullbacks A B Q.embedding T (f ≫ r) (q ≫ r) |
| 36 | ((Category.assoc _ _ _).symm.trans ((congrArg (fun k => k ≫ r) hf).trans (IsMonHom.one_hom r))) |
| 37 | ((Category.assoc _ _ _).symm.trans ((congrArg (fun k => k ≫ r) hq).trans (IsMonHom.one_hom r))) ?_ |
| 38 | intro K _ s |
| 39 | rw [Functor.map_comp, Functor.map_comp, he K s] |
| 40 | let : IsIso (A.pullback T.hom).scheme.hom.appTop := |
| 41 | Projective.UniversalGlobalFunctions.projectivePresentation_baseChange_globalFunctions_isIso PA η[A.scheme].left η[A.scheme].w |
| 42 | (IsPullback.of_hasPullback A.scheme.hom T.hom) |
| 43 | exact Finite.CompositePointedCancellation.pointed_maps_eq_of_finite_composite r f q hf hq hc |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.FiniteTargetFieldDetection |