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.ShortComplex.ModuleCat |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Preadditive |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 4 | |
| 5 | /-! # Module Base Change Complex -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleBaseChangeComplex.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The tensor-product base-change functor on module short complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R K : Type u) [CommRing R] [CommRing K] [Algebra R K] |
| 19 | |
| 20 | def moduleBaseChangeFunctor : ModuleCat.{u} R ⥤ ModuleCat.{u} K where |
| 21 | obj M := ModuleCat.of K (K ⊗[R] M) |
| 22 | map f := ModuleCat.ofHom (f.hom.baseChange K) |
| 23 | map_id M := by |
| 24 | apply ModuleCat.hom_ext |
| 25 | exact LinearMap.baseChange_id |
| 26 | map_comp f g := by |
| 27 | apply ModuleCat.hom_ext |
| 28 | exact LinearMap.baseChange_comp f.hom g.hom |
| 29 | |
| 30 | instance moduleBaseChangeFunctor_additive : (moduleBaseChangeFunctor R K).Additive where |
| 31 | map_add := by |
| 32 | intros |
| 33 | apply ModuleCat.hom_ext |
| 34 | exact LinearMap.baseChange_add _ _ |
| 35 | |
| 36 | abbrev moduleBaseChangeComplex (S : ShortComplex (ModuleCat.{u} R)) : |
| 37 | ShortComplex (ModuleCat.{u} K) := |
| 38 | (moduleBaseChangeFunctor R K).mapShortComplex.obj S |
| 39 | |
| 40 | theorem moduleBaseChangeComplex_f_zero (S : ShortComplex (ModuleCat.{u} R)) |
| 41 | (hf : S.f.hom.baseChange K = 0) : (moduleBaseChangeComplex R K S).f = 0 := |
| 42 | ModuleCat.hom_ext hf |
| 43 | |
| 44 | theorem moduleBaseChangeComplex_g_zero (S : ShortComplex (ModuleCat.{u} R)) |
| 45 | (hg : S.g.hom.baseChange K = 0) : (moduleBaseChangeComplex R K S).g = 0 := |
| 46 | ModuleCat.hom_ext hg |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleBaseChangeComplex.Construction |