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.Etale.Frobenius |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ExtFunctoriality |
| 3 | |
| 4 | /-! # Linear Transport Composition -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.LinearTransportComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition of actual linear Ext pullbacks with their prescribed coefficient identifications. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable (R : Type*) [CommRing R] |
| 17 | {C D E : Type*} [Category C] [Category D] [Category E] [Abelian C] [Abelian D] [Abelian E] |
| 18 | [Linear R C] [Linear R D] [Linear R E] [HasExt.{u} C] [HasExt.{v} D] [HasExt.{w} E] |
| 19 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] [F.Linear R] |
| 20 | |
| 21 | def map {A B : C} {A' B' : D} (eA : F.obj A ≅ A') (eB : F.obj B ≅ B') (n : ℕ) : |
| 22 | Ext A B n →ₗ[R] Ext A' B' n := |
| 23 | (Etale.Frobenius.extIsoCongr R eA eB n).toLinearMap.comp (F.mapExtLinearMap R A B n) |
| 24 | |
| 25 | theorem apply {A B : C} {A' B' : D} (eA : F.obj A ≅ A') (eB : F.obj B ≅ B') |
| 26 | {n : ℕ} (x : Ext A B n) : map R F eA eB n x = |
| 27 | ((Ext.mk₀ eA.inv).comp (x.mapExactFunctor F) (Nat.zero_add n)).comp |
| 28 | (Ext.mk₀ eB.hom) (Nat.add_zero n) := rfl |
| 29 | |
| 30 | variable (G : D ⥤ E) [G.Additive] [PreservesFiniteLimits G] [PreservesFiniteColimits G] [G.Linear R] |
| 31 | [EnoughInjectives C] |
| 32 | |
| 33 | theorem composition {A B : C} {A' B' : D} {A'' B'' : E} |
| 34 | (eA : F.obj A ≅ A') (eB : F.obj B ≅ B') (dA : G.obj A' ≅ A'') (dB : G.obj B' ≅ B'') |
| 35 | {n : ℕ} (x : Ext A B n) : |
| 36 | map R G dA dB n (map R F eA eB n x) = |
| 37 | map R (F ⋙ G) (G.mapIso eA ≪≫ dA) (G.mapIso eB ≪≫ dB) n x := by |
| 38 | simp only [apply, Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀, |
| 39 | Iso.trans_inv, Iso.trans_hom, Functor.mapIso_inv, Functor.mapIso_hom, |
| 40 | PeriodInvariants.ExtFunctoriality.mapExactFunctor_compFunctor] |
| 41 | simp only [Ext.comp_assoc_of_second_deg_zero, Ext.comp_assoc_of_third_deg_zero, Ext.mk₀_comp_mk₀] |
| 42 | rw [← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.LinearTransportComposition |