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.ModuleFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |
| 3 | |
| 4 | /-! # At One -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AtOne |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation of the native principal section diagram at the unit |
| 11 | coefficient is canonically the original section module on the ambient |
| 12 | open. The map is literal restriction and is natural in module sheaves. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 19 | variable {X : Scheme.{u}} (U : X.Opens) |
| 20 | |
| 21 | def object : SectionPresheaf.Index U := ⟨1⟩ |
| 22 | |
| 23 | theorem open_eq : SectionPresheaf.openSubset U (object U) = U := X.basicOpen_one |
| 24 | |
| 25 | instance inclusion_isIso : IsIso (SectionPresheaf.inclusion U (object U)) := by |
| 26 | have h : SectionPresheaf.inclusion U (object U) = eqToHom (open_eq U) := Subsingleton.elim _ _ |
| 27 | rw [h] |
| 28 | infer_instance |
| 29 | |
| 30 | def restriction (M : X.Modules) : Γ(M, U) →ₗ[Γ(X, U)] Γ(M, SectionPresheaf.openSubset U (object U)) where |
| 31 | toFun := M.presheaf.map (SectionPresheaf.inclusion U (object U)).op |
| 32 | map_add' := map_add _ |
| 33 | map_smul' a m := by |
| 34 | change M.presheaf.map (SectionPresheaf.inclusion U (object U)).op (a • m) = |
| 35 | (X.presheaf.map (SectionPresheaf.inclusion U (object U)).op a) • |
| 36 | M.presheaf.map (SectionPresheaf.inclusion U (object U)).op m |
| 37 | exact M.map_smul (SectionPresheaf.inclusion U (object U)) a m |
| 38 | |
| 39 | def equiv (M : X.Modules) : Γ(M, U) ≃ₗ[Γ(X, U)] Γ(M, SectionPresheaf.openSubset U (object U)) := |
| 40 | LinearEquiv.ofBijective (restriction U M) |
| 41 | (ConcreteCategory.bijective_of_isIso (M.presheaf.map (SectionPresheaf.inclusion U (object U)).op)) |
| 42 | |
| 43 | theorem equiv_apply (M : X.Modules) (m : Γ(M, U)) : equiv U M m = |
| 44 | M.presheaf.map (SectionPresheaf.inclusion U (object U)).op m := rfl |
| 45 | |
| 46 | variable (hU : IsAffineOpen U) |
| 47 | |
| 48 | def iso : Affine.ModuleExactSections.sections U ≅ |
| 49 | ModuleFunctor.functor U hU ⋙ |
| 50 | (evaluation (SectionPresheaf.Index U)ᵒᵖ (ModuleCat Γ(X, U))).obj (op (object U)) := |
| 51 | NatIso.ofComponents (fun M => (equiv U M).toModuleIso) (by |
| 52 | intro M N f |
| 53 | apply ModuleCat.hom_ext |
| 54 | apply LinearMap.ext |
| 55 | intro m |
| 56 | exact (PresheafOfModules.naturality_apply f.val (SectionPresheaf.inclusion U (object U)).op m).symm) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AtOne |