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.Section.ComponentRatios |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.AlgebraPresheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalSectionsFunctor |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Gluing |
| 5 | |
| 6 | /-! # Section Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Restricting a global section and taking its coordinate in a local frame is linear over the chosen coefficient ring. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} {M : X.Modules} |
| 19 | |
| 20 | def coefficientFrameCoordinateEquiv (f : R →+* Γ(X, ⊤)) (U : X.Opens) |
| 21 | (e : Γ(M, U) ≃ₗ[Γ(X, U)] Γ(X, U)) : |
| 22 | (ModulePresheaf.coefficientModulePresheaf f M).obj (.op U) ≃ₗ[R] AlgebraPresheaf.coefficientAlgebraSections f U where |
| 23 | toFun := e |
| 24 | invFun := e.symm |
| 25 | left_inv := e.left_inv |
| 26 | right_inv := e.right_inv |
| 27 | map_add' := e.map_add |
| 28 | map_smul' r s := e.map_smul (AlgebraPresheaf.coefficientSectionMap f U r) s |
| 29 | |
| 30 | def sectionCoordinateLinear (p : X ⟶ Spec (.of R)) (s : Line.Bundles.structureModule X ⟶ M) |
| 31 | (U : X.Opens) (hU : U ≤ Ample.LineBundles.sectionNonvanishing s) : |
| 32 | (GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M →ₗ[R] AlgebraPresheaf.coefficientAlgebraSections (ModulePresheaf.schemeCoefficientMap p) U := |
| 33 | (coefficientFrameCoordinateEquiv (ModulePresheaf.schemeCoefficientMap p) U (Section.LocalLinearFrames.sectionLocalFrameEquiv s U hU).symm).toLinearMap.comp |
| 34 | ((ModulePresheaf.schemeModulePresheaf p M).map U.leTop.op).hom |
| 35 | |
| 36 | theorem sectionCoordinateLinear_value (p : X ⟶ Spec (.of R)) (s t : Line.Bundles.structureModule X ⟶ M) |
| 37 | (U : X.Opens) (hU : U ≤ Ample.LineBundles.sectionNonvanishing s) : |
| 38 | sectionCoordinateLinear p s U hU (Global.Sections.moduleSectionHomEquiv M t) = Section.ComponentRatios.sectionComponentRatio s t U hU := by |
| 39 | change (Section.LocalLinearFrames.sectionLocalFrameEquiv s U hU).symm |
| 40 | (M.presheaf.map U.leTop.op (Global.Sections.moduleSectionHomEquiv M t)) = _ |
| 41 | rw [Section.Gluing.moduleSectionHomEquiv_restrict] |
| 42 | rfl |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionCoordinates |