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.NumberTheory.PadicHodge.IntegralComparison.Principal.TerminalScalars |
| 2 | |
| 3 | /-! # Terminal Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.TerminalSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation at the terminal principal open is the original affine |
| 10 | section functor, through literal restriction of module sections. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 17 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 18 | |
| 19 | def restriction (M : X.Modules) : Γ(M, U) →ₗ[Γ(X, U)] Γ(M, SectionPresheaf.openSubset U (⊤_ (SectionPresheaf.Index U))) where |
| 20 | toFun := M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op |
| 21 | map_add' := map_add _ |
| 22 | map_smul' a m := by |
| 23 | change M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op (a • m) = |
| 24 | (X.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op a) • |
| 25 | M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op m |
| 26 | exact M.map_smul (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))) a m |
| 27 | |
| 28 | def equiv (M : X.Modules) : Γ(M, U) ≃ₗ[Γ(X, U)] Γ(M, SectionPresheaf.openSubset U (⊤_ (SectionPresheaf.Index U))) := by |
| 29 | letI := TerminalScalars.inclusion_isIso U hU |
| 30 | exact LinearEquiv.ofBijective (restriction U M) |
| 31 | (ConcreteCategory.bijective_of_isIso (M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op)) |
| 32 | |
| 33 | theorem equiv_apply (M : X.Modules) (m : Γ(M, U)) : equiv U hU M m = |
| 34 | M.presheaf.map (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op m := rfl |
| 35 | |
| 36 | def iso : Affine.ModuleExactSections.sections U ≅ |
| 37 | ModuleFunctor.functor U hU ⋙ |
| 38 | (evaluation (SectionPresheaf.Index U)ᵒᵖ (ModuleCat Γ(X, U))).obj (op (⊤_ (SectionPresheaf.Index U))) := |
| 39 | NatIso.ofComponents (fun M => (equiv U hU M).toModuleIso) (by |
| 40 | intro M N f |
| 41 | apply ModuleCat.hom_ext |
| 42 | apply LinearMap.ext |
| 43 | intro m |
| 44 | exact (PresheafOfModules.naturality_apply f.val (SectionPresheaf.inclusion U (⊤_ (SectionPresheaf.Index U))).op m).symm) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.TerminalSections |