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.Ext.ModuleFunctor |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.Map |
| 3 | |
| 4 | /-! # Exact Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.ExactFunctor.ExactFunctorExtSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The actual map on Ext sections induced by an exact linear functor -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | open _root_.CategoryTheory.Abelian |
| 15 | |
| 16 | universe u v u' v' z t |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 19 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 20 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] |
| 21 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 22 | [F.Linear R] (X : C) |
| 23 | |
| 24 | def map {Y : C} {Z : D} (b : F.obj Y ⟶ Z) (n : ℕ) : |
| 25 | ModuleCat.of R (Ext.{z} X Y n) ⟶ ModuleCat.of R (Ext.{z} (F.obj X) Z n) := |
| 26 | ModuleCat.ofHom (((Ext.mk₀ b).postcompOfLinear R (F.obj X) (add_zero n)).comp |
| 27 | (F.mapExtLinearMap R X Y n)) |
| 28 | |
| 29 | theorem map_apply {Y : C} {Z : D} (b : F.obj Y ⟶ Z) (n : ℕ) (α : Ext.{z} X Y n) : |
| 30 | ExactFunctorExtSections.map R F X b n α = (Ext.mk₀ b).postcomp (F.obj X) (add_zero n) (α.mapExactFunctor F) := rfl |
| 31 | |
| 32 | theorem square {Y Y' : C} {Z Z' : D} (u : Y ⟶ Y') (v : Z ⟶ Z') |
| 33 | (b : F.obj Y ⟶ Z) (c : F.obj Y' ⟶ Z') (h : F.map u ≫ c = b ≫ v) (n : ℕ) : |
| 34 | (NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R X n).map u ≫ ExactFunctorExtSections.map R F X c n = |
| 35 | ExactFunctorExtSections.map R F X b n ≫ (NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) n).map v := by |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro α |
| 39 | change Ext.{z} X Y n at α |
| 40 | change ((α.comp (Ext.mk₀ u) (add_zero n)).mapExactFunctor F).comp (Ext.mk₀ c) (add_zero n) = |
| 41 | ((α.mapExactFunctor F).comp (Ext.mk₀ b) (add_zero n)).comp (Ext.mk₀ v) (add_zero n) |
| 42 | rw [Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀] |
| 43 | simp only [Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀] |
| 44 | rw [h] |
| 45 | |
| 46 | def complexMap {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} |
| 47 | (f : (F.mapHomologicalComplex (.up ℕ)).obj K ⟶ L) : |
| 48 | ((NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R X 0).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 49 | ((NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R (F.obj X) 0).mapHomologicalComplex (.up ℕ)).obj L where |
| 50 | f n := ExactFunctorExtSections.map R F X (f.f n) 0 |
| 51 | comm' i j _ := (square R F X (K.d i j) (L.d i j) (f.f i) (f.f j) (f.comm i j).symm 0).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.ExactFunctor.ExactFunctorExtSections |