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.InternalHom |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SchemeInternalHom |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |
| 4 | |
| 5 | /-! # Internal Hom Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InternalHomComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original internal-Hom complex on the whole principal-open |
| 12 | diagram is naturally the ordinary Hom complex of its fixed affine |
| 13 | section modules with varying native section coefficients. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 20 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (N : X.Modules) |
| 21 | |
| 22 | def sectionHom : X.Modulesᵒᵖ ⥤ ((SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(X, U)) := |
| 23 | SchemeInternalHom.functor N ⋙ ModuleFunctor.functor U hU |
| 24 | |
| 25 | def algebraicHom : X.Modulesᵒᵖ ⥤ ((SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(X, U)) := |
| 26 | (Affine.ModuleExactSections.sections U).op ⋙ |
| 27 | HomCoefficientFunctor.functor Γ(X, U) (SectionPresheaf.modules U hU N) |
| 28 | |
| 29 | instance sectionHom_additive : (sectionHom U hU N).Additive := by |
| 30 | unfold sectionHom |
| 31 | infer_instance |
| 32 | |
| 33 | instance algebraicHom_additive : (algebraicHom U hU N).Additive := by |
| 34 | unfold algebraicHom |
| 35 | infer_instance |
| 36 | |
| 37 | def iso {ι : Type*} (c : ComplexShape ι) (K : HomologicalComplex X.Modulesᵒᵖ c) |
| 38 | [∀ n, (K.X n).unop.IsQuasicoherent] : |
| 39 | (((sectionHom U hU N).mapHomologicalComplex c).obj K) ≅ |
| 40 | (((algebraicHom U hU N).mapHomologicalComplex c).obj K) := |
| 41 | HomologicalComplex.Hom.isoOfComponents |
| 42 | (fun n => InternalHom.iso U hU (K.X n).unop N) (by |
| 43 | intro i j hij |
| 44 | exact (InternalHom.precomp U hU (K.X j).unop N (K.d i j).unop).symm) |
| 45 | |
| 46 | theorem naturality {ι : Type*} (c : ComplexShape ι) |
| 47 | {K L : HomologicalComplex X.Modulesᵒᵖ c} |
| 48 | [∀ n, (K.X n).unop.IsQuasicoherent] [∀ n, (L.X n).unop.IsQuasicoherent] |
| 49 | (f : K ⟶ L) : |
| 50 | ((sectionHom U hU N).mapHomologicalComplex c).map f ≫ (iso U hU N c L).hom = |
| 51 | (iso U hU N c K).hom ≫ ((algebraicHom U hU N).mapHomologicalComplex c).map f := by |
| 52 | apply HomologicalComplex.Hom.ext |
| 53 | funext i |
| 54 | exact InternalHom.precomp U hU (L.X i).unop N (f.f i).unop |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InternalHomComplex |