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.PositiveNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ZeroNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionCohomology |
| 4 | |
| 5 | /-! # Resolution Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every augmented source-resolution comparison is natural in the original Ext groups. -/ |
| 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] (Y : C) |
| 21 | {K L : CochainComplex Cᵒᵖ ℕ} {Z W : Cᵒᵖ} |
| 22 | (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) (κ : (CochainComplex.single₀ Cᵒᵖ).obj W ⟶ L) |
| 23 | [QuasiIso ι] [QuasiIso κ] |
| 24 | (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 25 | (hL : ∀ a q, Subsingleton (Ext.{z} (L.X a).unop Y (q + 1))) |
| 26 | (φ : K ⟶ L) (f : Z ⟶ W) (hφ : ι ≫ φ = (CochainComplex.single₀ Cᵒᵖ).map f ≫ κ) |
| 27 | |
| 28 | include hφ in |
| 29 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap |
| 30 | (((IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0).mapHomologicalComplex (.up ℕ)).map φ) i ≫ |
| 31 | (ResolutionCohomology.homologyIso R Y L κ hL i).hom = |
| 32 | (ResolutionCohomology.homologyIso R Y K ι hK i).hom ≫ |
| 33 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y i).map f := by |
| 34 | cases i with |
| 35 | | zero => exact ZeroNaturality.homology R Y ι κ φ f hφ |
| 36 | | succ i => exact PositiveNaturality.naturality R Y ι κ hK hL φ f hφ i |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionNaturality |