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 Mathlib.Algebra.Homology.Additive |
| 2 | |
| 3 | /-! # Functor Transformation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Single.FunctorTransformation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical single-complex coordinates commute with a natural |
| 10 | transformation of additive coefficient functors. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u v w z |
| 15 | variable {A : Type u} [Category.{v} A] [Preadditive A] [HasZeroObject A] |
| 16 | {B : Type w} [Category.{z} B] [Preadditive B] [HasZeroObject B] |
| 17 | (F G : A ⥤ B) [F.Additive] [G.Additive] (η : F ⟶ G) (M : A) (c : ℕ) |
| 18 | |
| 19 | theorem naturality : |
| 20 | (NatTrans.mapHomologicalComplex η (.up ℕ)).app ((single A (.up ℕ) c).obj M) ≫ |
| 21 | (singleMapHomologicalComplex G (.up ℕ) c).hom.app M = |
| 22 | (singleMapHomologicalComplex F (.up ℕ) c).hom.app M ≫ |
| 23 | (single B (.up ℕ) c).map (η.app M) := by |
| 24 | apply to_single_hom_ext |
| 25 | simp only [comp_f, singleMapHomologicalComplex_hom_app_self, single_map_f_self] |
| 26 | change η.app _ ≫ (G.map (singleObjXSelf (.up ℕ) c M).hom ≫ |
| 27 | (singleObjXSelf (.up ℕ) c (G.obj M)).inv) = |
| 28 | (F.map (singleObjXSelf (.up ℕ) c M).hom ≫ |
| 29 | (singleObjXSelf (.up ℕ) c (F.obj M)).inv) ≫ |
| 30 | ((singleObjXSelf (.up ℕ) c (F.obj M)).hom ≫ η.app M ≫ |
| 31 | (singleObjXSelf (.up ℕ) c (G.obj M)).inv) |
| 32 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 33 | rw [← Category.assoc, ← η.naturality, Category.assoc] |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Single.FunctorTransformation |