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.Acyclic.ZeroNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.PositiveNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveSectionCohomology |
| 4 | |
| 5 | /-! # To Injective -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ToInjective.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical dimension-shift comparison agrees with every augmentation-preserving map to an actual injective resolution. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | open Abelian |
| 16 | |
| 17 | universe u v z t |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 20 | (R : Type t) [CommRing R] [Linear R C] (X : C) |
| 21 | (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 22 | [QuasiIso ι] (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 23 | |
| 24 | def homologyIso (i : ℕ) : (Resolution.Comparison.complex R X K).homology i ≅ |
| 25 | ModuleCat.of R (Ext.{z} X Z i) := by |
| 26 | cases i with |
| 27 | | zero => exact ResolutionZero.Comparison.homologyIso R X K ι |
| 28 | | succ n => exact Resolution.Comparison.positiveHomologyIso R X K ι hK n |
| 29 | |
| 30 | variable (I : InjectiveResolution Z) (φ : K ⟶ I.cocomplex) (hφ : ι ≫ φ = I.ι) |
| 31 | |
| 32 | include hφ in |
| 33 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap |
| 34 | (((IntegralComparison.Ext.ModuleFunctor.functor R X 0).mapHomologicalComplex (.up ℕ)).map φ) i ≫ |
| 35 | (InjectiveSectionCohomology.homologyIso R X I i).hom = (homologyIso R X K ι hK i).hom := by |
| 36 | have ha : ι ≫ φ = (CochainComplex.single₀ C).map (𝟙 Z) ≫ I.ι := |
| 37 | hφ.trans ((congrArg (fun a => a ≫ I.ι) ((CochainComplex.single₀ C).map_id Z)).trans (Category.id_comp _)).symm |
| 38 | cases i with |
| 39 | | zero => |
| 40 | have h := ZeroNaturality.homology R X ι I.ι φ (𝟙 Z) ha |
| 41 | exact h.trans ((congrArg (fun a => (homologyIso R X K ι hK 0).hom ≫ a) |
| 42 | ((IntegralComparison.Ext.ModuleFunctor.functor R X 0).map_id Z)).trans (Category.comp_id _)) |
| 43 | | succ n => |
| 44 | have h := PositiveNaturality.naturality R X ι I.ι hK |
| 45 | (fun a q => Ext.subsingleton_of_injective X (I.cocomplex.X a) q) φ (𝟙 Z) ha n |
| 46 | exact h.trans ((congrArg (fun a => (homologyIso R X K ι hK (n + 1)).hom ≫ a) |
| 47 | ((IntegralComparison.Ext.ModuleFunctor.functor R X (n + 1)).map_id Z)).trans (Category.comp_id _)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ToInjective.Comparison |