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.ZeroKernels |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ZeroCokernel |
| 3 | |
| 4 | /-! # Resolution Homology Data -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: actual homology data for sections of an acyclic resolution |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 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] (X : C) (T : ShortComplex C) |
| 22 | {A : C} (a : A ⟶ T.X₁) (ha : a ≫ T.toCycles = 0) |
| 23 | (hS : (ShortComplex.mk a T.toCycles ha).ShortExact) |
| 24 | [Subsingleton (Ext.{z} X T.X₁ 1)] |
| 25 | |
| 26 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R X 0 |
| 27 | |
| 28 | def data : (T.map F).LeftHomologyData where |
| 29 | K := (F).obj T.cycles |
| 30 | H := ModuleCat.of R (Ext.{z} X A 1) |
| 31 | i := (F).map T.iCycles |
| 32 | π := IntegralComparison.Ext.ZeroCokernel.connecting R X hS |
| 33 | wi := ((F).map_comp T.iCycles T.g).symm.trans |
| 34 | ((congrArg (F).map T.iCycles_g).trans ((F).map_zero _ _)) |
| 35 | hi := IntegralComparison.Ext.ZeroKernels.cycleKernel R X T |
| 36 | wπ := by |
| 37 | exact (congrArg (fun g => g ≫ IntegralComparison.Ext.ZeroCokernel.connecting R X hS) |
| 38 | (IntegralComparison.Ext.ZeroKernels.cycleKernel_lift R X T)).trans (IntegralComparison.Ext.ZeroCokernel.condition R X hS) |
| 39 | hπ := by |
| 40 | exact CokernelCofork.isColimitOfIsColimitOfIff' (IntegralComparison.Ext.ZeroCokernel.isCokernel R X hS) _ |
| 41 | (fun {_} φ => (congrArg (fun g => g ≫ φ = 0) (IntegralComparison.Ext.ZeroKernels.cycleKernel_lift R X T).symm).to_iff) |
| 42 | |
| 43 | def homologyIso : (T.map F).homology ≅ ModuleCat.of R (Ext.{z} X A 1) := |
| 44 | (data R X T a ha hS).homologyIso |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData |