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.Contravariant.ResolutionZero |
| 2 | |
| 3 | /-! # Resolution Cohomology -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionCohomology |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An augmented source resolution acyclic for the original coefficient sheaf computes actual Ext in every degree. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Opposite |
| 12 | |
| 13 | open Abelian |
| 14 | |
| 15 | universe u v z t |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 18 | (R : Type t) [CommRing R] [Linear R C] (Y : C) |
| 19 | (K : CochainComplex Cᵒᵖ ℕ) {Z : Cᵒᵖ} (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) [QuasiIso ι] |
| 20 | (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 21 | |
| 22 | def homologyIso (i : ℕ) : (Resolution.Comparison.complex R Y K).homology i ≅ |
| 23 | ModuleCat.of R (Ext.{z} Z.unop Y i) := by |
| 24 | cases i with |
| 25 | | zero => exact ResolutionZero.homologyIso R Y K ι |
| 26 | | succ i => exact Resolution.Comparison.positiveHomologyIso R Y K ι hK i |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionCohomology |