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.ContravariantModuleFunctor |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.Map |
| 3 | |
| 4 | /-! # Source Exact Functor Module -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceExactFunctorModule |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact functors act naturally on the original contravariant coefficient-module-valued Ext functors. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | open 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 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 21 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] [F.Linear R] (Y : C) (n : ℕ) |
| 22 | |
| 23 | def component (X : Cᵒᵖ) : (ContravariantModuleFunctor.functor R Y n).obj X ⟶ |
| 24 | (ContravariantModuleFunctor.functor R (F.obj Y) n).obj (F.op.obj X) := |
| 25 | ModuleCat.ofHom (F.mapExtLinearMap R X.unop Y n) |
| 26 | |
| 27 | theorem naturality {X Z : Cᵒᵖ} (f : X ⟶ Z) : |
| 28 | (ContravariantModuleFunctor.functor R Y n).map f ≫ component F R Y n Z = |
| 29 | component F R Y n X ≫ (ContravariantModuleFunctor.functor R (F.obj Y) n).map (F.op.map f) := by |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro α |
| 33 | change ((Ext.mk₀ f.unop).comp α (zero_add n)).mapExactFunctor F = |
| 34 | (Ext.mk₀ (F.map f.unop)).comp (α.mapExactFunctor F) (zero_add n) |
| 35 | exact (Ext.mapExactFunctor_comp F (Ext.mk₀ f.unop) α (zero_add n)).trans |
| 36 | (congrArg (fun e : Ext.{z} (F.obj Z.unop) (F.obj X.unop) 0 => |
| 37 | e.comp (α.mapExactFunctor F) (zero_add n)) (Ext.mapExactFunctor_mk₀ F f.unop)) |
| 38 | |
| 39 | def transformation : ContravariantModuleFunctor.functor R Y n ⟶ |
| 40 | F.op ⋙ ContravariantModuleFunctor.functor R (F.obj Y) n where |
| 41 | app := component F R Y n |
| 42 | naturality _ _ f := SourceExactFunctorModule.naturality F R Y n f |
| 43 | |
| 44 | def shortMap (T : ShortComplex Cᵒᵖ) : T.map (ContravariantModuleFunctor.functor R Y n) ⟶ |
| 45 | (T.map F.op).map (ContravariantModuleFunctor.functor R (F.obj Y) n) where |
| 46 | τ₁ := component F R Y n T.X₁ |
| 47 | τ₂ := component F R Y n T.X₂ |
| 48 | τ₃ := component F R Y n T.X₃ |
| 49 | comm₁₂ := (SourceExactFunctorModule.naturality F R Y n T.f).symm |
| 50 | comm₂₃ := (SourceExactFunctorModule.naturality F R Y n T.g).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceExactFunctorModule |