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.CategoryTheory.Linear.Yoneda |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Ulift |
| 4 | |
| 5 | /-! # Zero Contravariant Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ZeroContravariantSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Original degree-zero Ext agrees naturally with the coefficient-linear contravariant Hom functor. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | universe u v w z |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | (R : Type w) [CommRing R] [Linear R C] [HasExt.{max v z} C] (Y : C) |
| 19 | |
| 20 | def equivalence (X : C) : Abelian.Ext.{max v z} X Y 0 ≃ₗ[R] ULift.{z} (X ⟶ Y) := |
| 21 | Abelian.Ext.linearEquiv₀.trans ULift.moduleEquiv.symm |
| 22 | |
| 23 | theorem equivalence_mk (X : C) (a : X ⟶ Y) : |
| 24 | equivalence R Y X (Abelian.Ext.mk₀ a) = ULift.up a := |
| 25 | congrArg ULift.up (Abelian.Ext.linearEquiv₀.apply_symm_apply a) |
| 26 | |
| 27 | def iso : ContravariantModuleFunctor.functor R Y 0 ≅ |
| 28 | (linearYoneda R C).obj Y ⋙ ModuleCat.uliftFunctor.{z, v} R := |
| 29 | NatIso.ofComponents (fun X => (equivalence R Y X.unop).toModuleIso) (by |
| 30 | intro X X' b |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | obtain ⟨a, rfl⟩ := (Abelian.Ext.mk₀_bijective X.unop Y).2 x |
| 35 | have h := (congrArg (equivalence R Y X'.unop) (Abelian.Ext.mk₀_comp_mk₀ b.unop a)).trans |
| 36 | (equivalence_mk R Y X'.unop (b.unop ≫ a)) |
| 37 | exact h.trans (congrArg (fun y : ULift.{z} (X.unop ⟶ Y) => ULift.up (b.unop ≫ y.down)) |
| 38 | (equivalence_mk R Y X.unop a)).symm) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ZeroContravariantSections |