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.SourceZeroCokernel |
| 2 | |
| 3 | /-! # Source Connecting Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceConnectingNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original source Ext connecting maps are natural for short exact sequence maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | open Abelian |
| 14 | |
| 15 | universe u v z t |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 18 | (R : Type t) [CommRing R] [Linear R C] (Y : C) |
| 19 | {S T : ShortComplex Cᵒᵖ} (hS : S.ShortExact) (hT : T.ShortExact) (φ : S ⟶ T) |
| 20 | |
| 21 | theorem connecting (m : ℕ) (α : Ext.{z} S.X₃.unop Y m) : |
| 22 | SourceDimensionShift.connecting hT.unop Y m ((Ext.mk₀ φ.τ₃.unop).precomp Y (zero_add m) α) = |
| 23 | (Ext.mk₀ φ.τ₁.unop).precomp Y (zero_add (m + 1)) (SourceDimensionShift.connecting hS.unop Y m α) := by |
| 24 | change hT.unop.extClass.comp ((Ext.mk₀ φ.τ₃.unop).comp α (zero_add m)) (Nat.add_comm 1 m) = |
| 25 | (Ext.mk₀ φ.τ₁.unop).comp (hS.unop.extClass.comp α (Nat.add_comm 1 m)) (zero_add (m + 1)) |
| 26 | refine (Ext.comp_assoc_of_second_deg_zero _ _ _ (Nat.add_comm 1 m)).symm.trans ?_ |
| 27 | refine (congrArg (fun e => e.comp α (Nat.add_comm 1 m)) |
| 28 | (hT.unop.extClass_naturality hS.unop (ShortComplex.unopMap φ))).trans ?_ |
| 29 | exact Ext.comp_assoc _ _ _ (zero_add 1) (Nat.add_comm 1 m) (by omega) |
| 30 | |
| 31 | theorem zero : (ContravariantModuleFunctor.functor R Y 0).map φ.τ₃ ≫ |
| 32 | SourceZeroCokernel.connecting R Y hT = SourceZeroCokernel.connecting R Y hS ≫ |
| 33 | (ContravariantModuleFunctor.functor R Y 1).map φ.τ₁ := by |
| 34 | apply ModuleCat.hom_ext |
| 35 | apply LinearMap.ext |
| 36 | intro α |
| 37 | exact connecting Y hS hT φ 0 α |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceConnectingNaturality |