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.ModuleExactSections |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 3 | |
| 4 | /-! # Module Homology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleHomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical affine-sections comparison preserves actual quasicoherent homology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |
| 17 | |
| 18 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 19 | (S : ShortComplex X.Modules) |
| 20 | [S.X₁.IsQuasicoherent] [S.X₂.IsQuasicoherent] [S.X₃.IsQuasicoherent] |
| 21 | |
| 22 | include hU |
| 23 | |
| 24 | theorem preservesLeft : (ModuleExactSections.sections U).PreservesLeftHomologyOf S := by |
| 25 | let : (kernel S.g).IsQuasicoherent := Independent.QuasicoherentKernels.quasicoherent S.g |
| 26 | let h := ShortComplex.LeftHomologyData.ofHasKernelOfHasCokernel S |
| 27 | have : h.IsPreservedBy (ModuleExactSections.sections U) := |
| 28 | { g := inferInstance |
| 29 | f' := ModuleExactSections.preservesCokernel U hU (kernel.lift S.g S.f S.zero) } |
| 30 | exact Functor.PreservesLeftHomologyOf.mk' (ModuleExactSections.sections U) h |
| 31 | |
| 32 | omit [S.X₃.IsQuasicoherent] in |
| 33 | theorem preservesRight : (ModuleExactSections.sections U).PreservesRightHomologyOf S := by |
| 34 | let h := ShortComplex.RightHomologyData.ofHasCokernelOfHasKernel S |
| 35 | have : h.IsPreservedBy (ModuleExactSections.sections U) := |
| 36 | { f := ModuleExactSections.preservesCokernel U hU S.f |
| 37 | g' := inferInstance } |
| 38 | exact Functor.PreservesRightHomologyOf.mk' (ModuleExactSections.sections U) h |
| 39 | |
| 40 | def iso : (S.map (ModuleExactSections.sections U)).homology ≅ (ModuleExactSections.sections U).obj S.homology := by |
| 41 | have := preservesLeft U hU S |
| 42 | exact S.mapHomologyIso (ModuleExactSections.sections U) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleHomology |