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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExtExactFunctorComposition |
| 2 | |
| 3 | /-! # Ext Cohomology Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExtCohomologyTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ext cohomology transport along an exact functor with a specified map of source objects. The construction satisfies explicit composition and natural-transformation laws. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 11 | universe u v u' v' u'' v'' w w' w'' |
| 12 | |
| 13 | attribute [local instance] comp_preservesFiniteLimits comp_preservesFiniteColimits |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 16 | variable {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{w'} D] |
| 17 | variable {E : Type u''} [Category.{v''} E] [Abelian E] [HasExt.{w''} E] |
| 18 | |
| 19 | def extCohomologyTransport |
| 20 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 21 | {C₀ : C} {D₀ : D} (u₀ : D₀ ⟶ F.obj C₀) (M : C) (n : ℕ) : |
| 22 | Ext C₀ M n →+ Ext D₀ (F.obj M) n := |
| 23 | ((Ext.mk₀ u₀).precomp (F.obj M) (zero_add n)).comp (F.mapExtAddHom C₀ M n) |
| 24 | |
| 25 | theorem extCohomologyTransport_naturality [EnoughInjectives C] |
| 26 | (F G : C ⥤ D) [F.Additive] [G.Additive] |
| 27 | [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 28 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 29 | (a : F ⟶ G) {C₀ : C} {D₀ : D} (uF : D₀ ⟶ F.obj C₀) (uG : D₀ ⟶ G.obj C₀) |
| 30 | (hu : uF ≫ a.app C₀ = uG) (M : C) (n : ℕ) (x : Ext C₀ M n) : |
| 31 | (extCohomologyTransport F uF M n x).comp (Ext.mk₀ (a.app M)) (add_zero n) = |
| 32 | extCohomologyTransport G uG M n x := by |
| 33 | change ((Ext.mk₀ uF).comp (x.mapExactFunctor F) (zero_add n)).comp |
| 34 | (Ext.mk₀ (a.app M)) (add_zero n) = |
| 35 | (Ext.mk₀ uG).comp (x.mapExactFunctor G) (zero_add n) |
| 36 | rw [Ext.comp_assoc_of_third_deg_zero, |
| 37 | ← ExtExactFunctorNaturality.ext_mapExactFunctor_naturality F G a C₀ M n x, |
| 38 | ← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, hu] |
| 39 | |
| 40 | theorem extCohomologyTransport_comp [EnoughInjectives C] |
| 41 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 42 | (G : D ⥤ E) [G.Additive] [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 43 | {C₀ : C} {D₀ : D} {E₀ : E} (uF : D₀ ⟶ F.obj C₀) (uG : E₀ ⟶ G.obj D₀) |
| 44 | (M : C) (n : ℕ) (x : Ext C₀ M n) : |
| 45 | extCohomologyTransport G uG (F.obj M) n (extCohomologyTransport F uF M n x) = |
| 46 | extCohomologyTransport (F ⋙ G) (uG ≫ G.map uF) M n x := by |
| 47 | change (Ext.mk₀ uG).comp |
| 48 | (((Ext.mk₀ uF).comp (x.mapExactFunctor F) (zero_add n)).mapExactFunctor G) (zero_add n) = |
| 49 | (Ext.mk₀ (uG ≫ G.map uF)).comp (x.mapExactFunctor (F ⋙ G)) (zero_add n) |
| 50 | rw [Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀, ExtExactFunctorComposition.ext_mapExactFunctor_comp, |
| 51 | ← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀] |
| 52 | |
| 53 | theorem extCohomologyTransport_id [EnoughInjectives C] |
| 54 | (C₀ M : C) (n : ℕ) (x : Ext C₀ M n) : |
| 55 | extCohomologyTransport (𝟭 C) (𝟙 C₀) M n x = x := by |
| 56 | change (Ext.mk₀ (𝟙 C₀)).comp (x.mapExactFunctor (𝟭 C)) (zero_add n) = x |
| 57 | rw [ExtExactFunctorComposition.ext_mapExactFunctor_id, Ext.mk₀_id_comp] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExtCohomologyTransport |