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.SourceModule |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData |
| 3 | |
| 4 | /-! # Source Homology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceHomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native acyclic-resolution homology calculation respects precomposition in the source of Ext. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 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] {X X' : C} (f : X' ⟶ X) |
| 20 | (T : ShortComplex C) {A : C} (a : A ⟶ T.X₁) (ha : a ≫ T.toCycles = 0) |
| 21 | (hT : (ShortComplex.mk a T.toCycles ha).ShortExact) |
| 22 | [Subsingleton (Ext.{z} X T.X₁ 1)] [Subsingleton (Ext.{z} X' T.X₁ 1)] |
| 23 | |
| 24 | local notation "d" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData.data R X T a ha hT |
| 25 | local notation "d'" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionHomologyData.data R X' T a ha hT |
| 26 | |
| 27 | def data : ShortComplex.LeftHomologyMapData (IntegralComparison.Ext.SourceModule.shortMap R f 0 T) d d' where |
| 28 | φK := IntegralComparison.Ext.SourceModule.component R f 0 T.cycles |
| 29 | φH := IntegralComparison.Ext.SourceModule.component R f 1 A |
| 30 | commi := (IntegralComparison.Ext.SourceModule.naturality R f 0 T.iCycles).symm |
| 31 | commf' := by |
| 32 | have hs : (d).f' = (IntegralComparison.Ext.ModuleFunctor.functor R X 0).map T.toCycles := |
| 33 | IntegralComparison.Ext.ZeroKernels.cycleKernel_lift R X T |
| 34 | have ht : (d').f' = (IntegralComparison.Ext.ModuleFunctor.functor R X' 0).map T.toCycles := |
| 35 | IntegralComparison.Ext.ZeroKernels.cycleKernel_lift R X' T |
| 36 | exact (congrArg (fun g => g ≫ IntegralComparison.Ext.SourceModule.component R f 0 T.cycles) hs).trans |
| 37 | ((IntegralComparison.Ext.SourceModule.naturality R f 0 T.toCycles).trans |
| 38 | (congrArg (fun g => IntegralComparison.Ext.SourceModule.component R f 0 T.X₁ ≫ g) ht.symm)) |
| 39 | commπ := by |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro α |
| 43 | exact (IntegralComparison.Ext.SourceModule.connecting R f hT 0 α).symm |
| 44 | |
| 45 | theorem homology : ShortComplex.homologyMap (IntegralComparison.Ext.SourceModule.shortMap R f 0 T) ≫ (d').homologyIso.hom = |
| 46 | (d).homologyIso.hom ≫ IntegralComparison.Ext.SourceModule.component R f 1 A := |
| 47 | (data R f T a ha hT).homologyMap_comm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceHomology |