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.Affine.ProjectiveResolutionTerms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |
| 3 | |
| 4 | /-! # Hom Complex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.HomComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine internal-Hom complex on an affine open is the ordinary |
| 11 | Hom complex of the affine section modules, with its actual differentials. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (N : X.Modules) |
| 20 | |
| 21 | def sectionHom : X.Modulesᵒᵖ ⥤ AddCommGrpCat.{u} := |
| 22 | SchemeInternalHom.functor N ⋙ Affine.ModuleExactSections.sections U ⋙ |
| 23 | forget₂ (ModuleCat Γ(X, U)) AddCommGrpCat |
| 24 | |
| 25 | def algebraicHom : X.Modulesᵒᵖ ⥤ AddCommGrpCat.{u} := |
| 26 | (InternalHom.sections U hU).op ⋙ |
| 27 | preadditiveYoneda.obj ((InternalHom.sections U hU).obj N) |
| 28 | |
| 29 | instance sectionHom_additive : (sectionHom U 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 complexIso {ι : Type*} (c : ComplexShape ι) (K : HomologicalComplex X.Modulesᵒᵖ c) |
| 38 | [∀ n, (K.X n).unop.IsQuasicoherent] : |
| 39 | (((sectionHom U N).mapHomologicalComplex c).obj K) ≅ |
| 40 | (((algebraicHom U hU N).mapHomologicalComplex c).obj K) := |
| 41 | HomologicalComplex.Hom.isoOfComponents |
| 42 | (fun n => (InternalHom.equiv U hU (K.X n).unop N).toAddCommGrpIso) (by |
| 43 | intro i j hij |
| 44 | ext q |
| 45 | exact (InternalHom.precomp U hU (K.X j).unop N (K.d i j).unop q).symm) |
| 46 | |
| 47 | def homologyIso {ι : Type*} (c : ComplexShape ι) (K : HomologicalComplex X.Modulesᵒᵖ c) |
| 48 | [∀ n, (K.X n).unop.IsQuasicoherent] (n : ι) : |
| 49 | ((((sectionHom U N).mapHomologicalComplex c).obj K).homology n) ≅ |
| 50 | ((((algebraicHom U hU N).mapHomologicalComplex c).obj K).homology n) := |
| 51 | HomologicalComplex.homologyMapIso (complexIso U hU N c K) n |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.HomComplex |