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.ResolutionZero |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives |
| 3 | |
| 4 | /-! # Injective Section Cohomology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveSectionCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: original Ext is computed by the coefficient-linear injective section complex |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 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 : C) {Z : C} (I : InjectiveResolution Z) |
| 20 | |
| 21 | abbrev complex : CochainComplex (ModuleCat.{z} R) ℕ := |
| 22 | Acyclic.Resolution.Comparison.complex R X I.cocomplex |
| 23 | |
| 24 | def homologyIso (i : ℕ) : (complex R X I).homology i ≅ ModuleCat.of R (Abelian.Ext.{z} X Z i) := by |
| 25 | cases i with |
| 26 | | zero => exact Acyclic.ResolutionZero.Comparison.homologyIso R X I.cocomplex I.ι |
| 27 | | succ i => |
| 28 | exact Acyclic.Resolution.Comparison.positiveHomologyIso R X I.cocomplex I.ι |
| 29 | (fun n q => Abelian.Ext.subsingleton_of_injective X (I.cocomplex.X n) q) i |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveSectionCohomology |