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.SourceShort |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.HomologyTripleNaturality |
| 3 | |
| 4 | /-! # Source Positive -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourcePositive |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual positive-degree resolution comparison is natural in the first argument 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 | (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 21 | [QuasiIso ι] |
| 22 | (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 23 | (hK' : ∀ a q, Subsingleton (Ext.{z} X' (K.X a) (q + 1))) |
| 24 | |
| 25 | theorem homology (n : ℕ) : HomologicalComplex.homologyMap (IntegralComparison.Ext.SourceModule.complexMap R f K) (n + 1) ≫ |
| 26 | (Resolution.Comparison.positiveHomologyIso R X' K ι hK' n).hom = |
| 27 | (Resolution.Comparison.positiveHomologyIso R X K ι hK n).hom ≫ |
| 28 | IntegralComparison.Ext.SourceModule.component R f (n + 1) Z := by |
| 29 | have h₁ := Cochain.HomologyTripleNaturality.naturality (IntegralComparison.Ext.SourceModule.complexMap R f K) n |
| 30 | have h₂ := SourceShort.short R f K ι hK hK' n |
| 31 | exact (Category.assoc _ _ _).symm.trans |
| 32 | ((congrArg (fun a => a ≫ (Resolution.Comparison.shortHomologyIso R X' K ι hK' n).hom) h₁).trans |
| 33 | ((Category.assoc _ _ _).trans |
| 34 | ((congrArg (fun a => |
| 35 | ((Resolution.Comparison.complex R X K).homologyIsoSc' n (n + 1) (n + 2) |
| 36 | (by simp) (by simp)).hom ≫ a) h₂).trans (Category.assoc _ _ _).symm))) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourcePositive |