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.ChainCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ChainResolutionOppositeNaturality |
| 4 | |
| 5 | /-! # Chain Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ChainRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Refinement of actual acyclic source resolutions induces the identity |
| 12 | on the original Ext groups. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | open Abelian |
| 17 | |
| 18 | universe u v z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 21 | (R : Type t) [CommRing R] [Linear R C] (Y : C) |
| 22 | (P Q : ChainComplex C ℕ) (β : Q ⟶ P) |
| 23 | |
| 24 | def map : ChainCohomology.complex R Y P ⟶ ChainCohomology.complex R Y Q := |
| 25 | ((IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0).mapHomologicalComplex (.up ℕ)).map |
| 26 | ((HomologicalComplex.opFunctor C (.down ℕ)).map β.op) |
| 27 | |
| 28 | variable {Z : C} (ε : P ⟶ (ChainComplex.single₀ C).obj Z) |
| 29 | (η : Q ⟶ (ChainComplex.single₀ C).obj Z) [QuasiIso ε] [QuasiIso η] |
| 30 | (hβ : β ≫ ε = η) |
| 31 | (hP : ∀ a q, Subsingleton (Ext.{z} (P.X a) Y (q + 1))) |
| 32 | (hQ : ∀ a q, Subsingleton (Ext.{z} (Q.X a) Y (q + 1))) |
| 33 | |
| 34 | include hβ in |
| 35 | theorem homology (i : ℕ) : |
| 36 | HomologicalComplex.homologyMap (ChainRefinement.map R Y P Q β) i ≫ |
| 37 | (ChainCohomology.homologyIso R Y Q η hQ i).hom = |
| 38 | (ChainCohomology.homologyIso R Y P ε hP i).hom := by |
| 39 | let : QuasiIso (ChainResolutionOpposite.augmentation P ε) := |
| 40 | ChainResolutionOpposite.augmentation_quasiIso P ε |
| 41 | let : QuasiIso (ChainResolutionOpposite.augmentation Q η) := |
| 42 | ChainResolutionOpposite.augmentation_quasiIso Q η |
| 43 | have hb : β.f 0 ≫ ε.f 0 = η.f 0 ≫ 𝟙 Z := |
| 44 | (congrArg (fun a => a.f 0) hβ).trans (Category.comp_id _).symm |
| 45 | have h := Contravariant.ResolutionNaturality.homology R Y |
| 46 | (ChainResolutionOpposite.augmentation P ε) (ChainResolutionOpposite.augmentation Q η) |
| 47 | hP hQ ((HomologicalComplex.opFunctor C (.down ℕ)).map β.op) (𝟙 (op Z)) |
| 48 | (ChainResolutionOppositeNaturality.augmentation P Q ε η β (𝟙 Z) hb) i |
| 49 | exact h.trans ((congrArg (fun a => |
| 50 | (ChainCohomology.homologyIso R Y P ε hP i).hom ≫ a) |
| 51 | ((IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y i).map_id (op Z))).trans |
| 52 | (Category.comp_id _)) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ChainRefinement |