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.Trace.DualityComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DualHomologyTransport |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 4 | |
| 5 | /-! # Duality Homology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.DualityHomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A termwise perfect trace pairing identifies the homology of the |
| 12 | representable Hom complex with the dual of the homology of the mapped |
| 13 | chain complex. All coefficient and complex transports are performed |
| 14 | before specializing to geometric sheaves. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {C : Type v} [Category.{u} C] [Preadditive C] |
| 23 | (R : Type u) [CommRing R] [Module.Injective R R] |
| 24 | (F : C ⥤ ModuleCat.{u} R) [F.Additive] |
| 25 | {ω : C} (τ : F.obj ω ⟶ ModuleCat.of R R) |
| 26 | |
| 27 | def homComplex (P : ChainComplex C ℕ) : CochainComplex AddCommGrpCat.{u} ℕ := |
| 28 | ((preadditiveYoneda.obj ω).mapHomologicalComplex (.up ℕ)).obj P.op |
| 29 | |
| 30 | def coefficientComplex (P : ChainComplex C ℕ) : ChainComplex (ModuleCat.{u} R) ℕ := |
| 31 | (F.mapHomologicalComplex (.down ℕ)).obj P |
| 32 | |
| 33 | def homologyIso (P : ChainComplex C ℕ) |
| 34 | (hP : ∀ i, Function.Bijective (DualityDescent.pairingMap F τ (P.X i))) |
| 35 | (n : ℕ) : (homComplex (ω := ω) P).homology n ≅ |
| 36 | DualHomologyTransport.dualGroup R ((coefficientComplex R F P).homology n) := |
| 37 | HomologicalComplex.homologyMapIso |
| 38 | (DualityComplex.complexIso R F τ (.up ℕ) P.op hP) n ≪≫ |
| 39 | ((DualComplexHomology.complex R (coefficientComplex R F P)).sc n).mapHomologyIso |
| 40 | (forget₂ (ModuleCat.{u} R) AddCommGrpCat) ≪≫ |
| 41 | (forget₂ (ModuleCat.{u} R) AddCommGrpCat).mapIso |
| 42 | (DualComplexHomology.homologyIso R (coefficientComplex R F P) n) |
| 43 | |
| 44 | def homologyIsoTo (P : ChainComplex C ℕ) |
| 45 | (hP : ∀ i, Function.Bijective (DualityDescent.pairingMap F τ (P.X i))) |
| 46 | (n : ℕ) {D : ModuleCat.{u} R} (e : (coefficientComplex R F P).homology n ≅ D) : |
| 47 | (homComplex (ω := ω) P).homology n ≅ DualHomologyTransport.dualGroup R D := |
| 48 | DualHomologyTransport.transport R (homologyIso R F τ P hP n) e |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Trace.DualityHomology |