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.Coefficient.SectionSpanning |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionFrameCriterion |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleTensorScalarAction |
| 4 | |
| 5 | /-! # Section Tensor Scalar Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionTensorScalarMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual coefficient section tensor pairing is linear over the |
| 12 | new ring and sends a scalar times a section to that scalar times the |
| 13 | actual pulled-back section. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped TensorProduct |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 18 | variable (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) (q : B →+* Γ(Y, ⊤)) |
| 19 | variable (hq : q.comp (algebraMap R B) = a.appTop.hom.comp c) |
| 20 | |
| 21 | def coefficientSectionTensorScalarMap : |
| 22 | (B ⊗[R] (GlobalSectionsFunctor.coefficientGlobalSectionsFunctor c).obj M) →ₗ[B] |
| 23 | (GlobalSectionsFunctor.coefficientGlobalSectionsFunctor q).obj ((Scheme.Modules.pullback a).obj M) where |
| 24 | toFun z := Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤ z |
| 25 | map_add' x y := (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a c M q hq ⊤).map_add x y |
| 26 | map_smul' b z := CompatibleTensorScalarAction.compatibleScalarTensorMap_left_action |
| 27 | (Section.PresheafExtendedScalars.pushedCoefficientScalarComponent a c ((Scheme.Modules.pullback a).obj M) q ⊤) |
| 28 | (Section.PresheafExtendedScalars.pushedCoefficientScalarComponent_coefficient a c ((Scheme.Modules.pullback a).obj M) q hq ⊤) |
| 29 | ((PullbackSectionMap.coefficientPullbackSectionPresheafMap a c M).app (op ⊤)).hom b z |
| 30 | |
| 31 | theorem coefficientSectionTensorScalarMap_section (b : B) (s : Line.Bundles.structureModule X ⟶ M) : |
| 32 | coefficientSectionTensorScalarMap a c M q hq |
| 33 | (b ⊗ₜ[R] RingSectionBasis.coefficientRingSectionAddEquiv c M s) = |
| 34 | b • RingSectionBasis.coefficientRingSectionAddEquiv q ((Scheme.Modules.pullback a).obj M) (Ample.LineBundles.pullbackSection a s) := by |
| 35 | have hx : (Global.Sections.moduleSectionHomEquiv M).symm |
| 36 | (show Γ(M, ⊤) from RingSectionBasis.coefficientRingSectionAddEquiv c M s) = s := |
| 37 | (Global.Sections.moduleSectionHomEquiv M).symm_apply_apply s |
| 38 | have h := SectionSpanning.coefficientTensorComparison_scalarSectionValue a c M q hq b |
| 39 | (RingSectionBasis.coefficientRingSectionAddEquiv c M s) |
| 40 | rw [hx] at h |
| 41 | exact h.trans (RingSectionBasis.coefficientRingSectionAddEquiv_scalar q ((Scheme.Modules.pullback a).obj M) |
| 42 | b (Ample.LineBundles.pullbackSection a s)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.SectionTensorScalarMap |