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.SpecScalarSections |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ScalarMaps |
| 3 | |
| 4 | /-! # Spec Stalk Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SpecStalkAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native affine stalk map is an algebra homomorphism for the |
| 11 | coefficient-field action induced by the actual scheme structure map. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable (k R : Type) [Field k] [CommRing R] [Algebra k R] |
| 18 | |
| 19 | def toStalk (x : Spec (.of R)) : |
| 20 | letI := Stalk.PointAlgebra.scalarAlgebra (Spec.map (CommRingCat.ofHom (algebraMap k R))) x |
| 21 | R →ₐ[k] (Spec (.of R)).presheaf.stalk x := by |
| 22 | let := Stalk.PointAlgebra.scalarAlgebra (Spec.map (CommRingCat.ofHom (algebraMap k R))) x |
| 23 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra (Spec.map (CommRingCat.ofHom (algebraMap k R))) ⊤ |
| 24 | exact (Stalk.ScalarMaps.germ (Spec.map (CommRingCat.ofHom (algebraMap k R))) ⊤ x trivial).comp |
| 25 | (SpecScalarSections.equivalence k R).toAlgHom |
| 26 | |
| 27 | theorem apply (x : Spec (.of R)) (r : R) : SpecStalkAlgebra.toStalk k R x r = StructureSheaf.toStalk R x r := rfl |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SpecStalkAlgebra |