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.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 2 | |
| 3 | /-! # Stalk Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.StalkImage |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The prime kernel of a stalk map from an integral source maps to the |
| 10 | actual image of its generic point. This applies to nested singular supports. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | variable {X Y : Scheme} [IsIntegral Y] (i : Y ⟶ X) (y : Y) (x : X) (h : i y = x) |
| 18 | |
| 19 | def map : X.presheaf.stalk x ⟶ Y.presheaf.stalk y := |
| 20 | eqToHom (congrArg (fun t => X.presheaf.stalk t) h.symm) ≫ i.stalkMap y |
| 21 | |
| 22 | def prime : PrimeSpectrum (X.presheaf.stalk x) := |
| 23 | ⟨RingHom.ker (StalkImage.map i y x h).hom, Ideal.isPrime_bot.comap (StalkImage.map i y x h).hom⟩ |
| 24 | |
| 25 | theorem image : X.fromSpecStalk x (prime i y x h) = i (genericPoint Y) := by |
| 26 | let T := Y.presheaf.stalk y |
| 27 | let σ := StalkImage.map i y x h |
| 28 | have hs := Local.SupportSpectrum.stalkMap_square i y x h |
| 29 | have he := congrArg (fun f : Spec T ⟶ X => f (genericPoint (Spec T))) hs |
| 30 | change X.fromSpecStalk x ((Spec.map σ) (genericPoint (Spec T))) = |
| 31 | i (Y.fromSpecStalk y (genericPoint (Spec T))) at he |
| 32 | rw [Stalk.Localization.genericPoint_image, genericPoint_eq_bot_of_affine] at he |
| 33 | exact he |
| 34 | |
| 35 | theorem height [IsLocallyNoetherian X] : |
| 36 | (prime i y x h).asIdeal.height = Order.coheight (i (genericPoint Y)) := by |
| 37 | rw [Stalk.Localization.height_eq_coheight_image, image] |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.StalkImage |