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.Contravariant.ExactFunctorPositive |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ExactFunctorZero |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionCohomology |
| 4 | |
| 5 | /-! # Exact Functor Cohomology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ExactFunctorCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The all-degree source-resolution comparison computes the original exact-functor map on Ext. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open Abelian |
| 16 | |
| 17 | universe u v u' v' z t |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 20 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 21 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 22 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] [F.Linear R] (Y : C) |
| 23 | (K : CochainComplex Cᵒᵖ ℕ) {Z : Cᵒᵖ} (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) |
| 24 | (κ : (CochainComplex.single₀ Dᵒᵖ).obj (F.op.obj Z) ⟶ |
| 25 | (F.op.mapHomologicalComplex (.up ℕ)).obj K) (hκ : κ.f 0 = F.op.map (ι.f 0)) |
| 26 | [QuasiIso ι] [QuasiIso κ] |
| 27 | (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 28 | (hL : ∀ a q, Subsingleton (Ext.{z} |
| 29 | (((F.op.mapHomologicalComplex (.up ℕ)).obj K).X a).unop (F.obj Y) (q + 1))) |
| 30 | |
| 31 | include hκ in |
| 32 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (ExactFunctorComplex.map F R Y K) i ≫ |
| 33 | (ResolutionCohomology.homologyIso R (F.obj Y) |
| 34 | ((F.op.mapHomologicalComplex (.up ℕ)).obj K) κ hL i).hom = |
| 35 | (ResolutionCohomology.homologyIso R Y K ι hK i).hom ≫ |
| 36 | IntegralComparison.Ext.SourceExactFunctorModule.component F R Y i Z := by |
| 37 | cases i with |
| 38 | | zero => exact ExactFunctorZero.homology F R Y K ι κ hκ |
| 39 | | succ i => exact ExactFunctorPositive.homology F R Y K ι κ hκ hK hL i |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ExactFunctorCohomology |