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.ExactFunctorShort |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.HomologyTripleNaturality |
| 4 | |
| 5 | /-! # Exact Functor Positive -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorPositive |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Positive-degree homology of actual section complexes computes the original exact-functor Ext map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open Abelian |
| 16 | |
| 17 | universe u v u' v' z t |
| 18 | |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 20 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 21 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 22 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] [F.Linear R] (X : C) |
| 23 | (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 24 | (κ : (CochainComplex.single₀ D).obj (F.obj Z) ⟶ |
| 25 | (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K) (hκ : κ.f 0 = F.map (ι.f 0)) |
| 26 | [QuasiIso ι] [QuasiIso κ] |
| 27 | (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 28 | (hL : ∀ a q, Subsingleton (Ext.{z} (F.obj X) |
| 29 | (((F.mapHomologicalComplex (ComplexShape.up ℕ)).obj K).X a) (q + 1))) |
| 30 | |
| 31 | local notation "L" => Functor.obj (Functor.mapHomologicalComplex F (ComplexShape.up ℕ)) K |
| 32 | |
| 33 | include hκ in |
| 34 | theorem homology (n : ℕ) : HomologicalComplex.homologyMap (ExactFunctorComplex.map F R X K) (n + 1) ≫ |
| 35 | (Resolution.Comparison.positiveHomologyIso R (F.obj X) L κ hL n).hom = |
| 36 | (Resolution.Comparison.positiveHomologyIso R X K ι hK n).hom ≫ |
| 37 | IntegralComparison.Ext.ExactFunctorModule.component F R X (n + 1) Z := by |
| 38 | have h₁ := Cochain.HomologyTripleNaturality.naturality (ExactFunctorComplex.map F R X K) n |
| 39 | have h₂ := ExactFunctorShort.short F R X K ι κ hκ hK hL n |
| 40 | exact (Category.assoc _ _ _).symm.trans |
| 41 | ((congrArg (fun a => a ≫ (Resolution.Comparison.shortHomologyIso R (F.obj X) L κ hL n).hom) h₁).trans |
| 42 | ((Category.assoc _ _ _).trans |
| 43 | ((congrArg (fun a => |
| 44 | ((Resolution.Comparison.complex R X K).homologyIsoSc' n (n + 1) (n + 2) |
| 45 | (by simp) (by simp)).hom ≫ a) h₂).trans (Category.assoc _ _ _).symm))) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ExactFunctorPositive |