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.Ext.SourceZeroKernels |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceZeroCokernel |
| 3 | |
| 4 | /-! # Resolution Homology Data -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionHomologyData |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual homology data for applying original contravariant Ext to a source resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | open Abelian |
| 15 | |
| 16 | universe u v z t |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 19 | (R : Type t) [CommRing R] [Linear R C] (Y : C) (T : ShortComplex Cᵒᵖ) |
| 20 | {A : Cᵒᵖ} (a : A ⟶ T.X₁) (ha : a ≫ T.toCycles = 0) |
| 21 | (hS : (ShortComplex.mk a T.toCycles ha).ShortExact) |
| 22 | [Subsingleton (Ext.{z} T.X₁.unop Y 1)] |
| 23 | |
| 24 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y 0 |
| 25 | |
| 26 | def data : (T.map F).LeftHomologyData where |
| 27 | K := (F).obj T.cycles |
| 28 | H := ModuleCat.of R (Ext.{z} A.unop Y 1) |
| 29 | i := (F).map T.iCycles |
| 30 | π := IntegralComparison.Ext.SourceZeroCokernel.connecting R Y hS |
| 31 | wi := ((F).map_comp T.iCycles T.g).symm.trans |
| 32 | ((congrArg (F).map T.iCycles_g).trans ((F).map_zero _ _)) |
| 33 | hi := IntegralComparison.Ext.SourceZeroKernels.cycleKernel R Y T |
| 34 | wπ := |
| 35 | (congrArg (fun g => g ≫ IntegralComparison.Ext.SourceZeroCokernel.connecting R Y hS) |
| 36 | (IntegralComparison.Ext.SourceZeroKernels.cycleKernel_lift R Y T)).trans (IntegralComparison.Ext.SourceZeroCokernel.condition R Y hS) |
| 37 | hπ := CokernelCofork.isColimitOfIsColimitOfIff' (IntegralComparison.Ext.SourceZeroCokernel.isCokernel R Y hS) _ |
| 38 | (fun {_} φ => (congrArg (fun g => g ≫ φ = 0) (IntegralComparison.Ext.SourceZeroKernels.cycleKernel_lift R Y T).symm).to_iff) |
| 39 | |
| 40 | def homologyIso : (T.map F).homology ≅ ModuleCat.of R (Ext.{z} A.unop Y 1) := |
| 41 | (data R Y T a ha hS).homologyIso |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionHomologyData |