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 | import Mathlib.Algebra.Category.ModuleCat.Basic |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Map |
| 4 | |
| 5 | /-! # Module Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalar tensor as an additive functor, with explicit module universes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | variable (A : Type v) [AddCommGroup A] [Module R A] |
| 20 | |
| 21 | def tensor : ModuleCat.{v} R ⥤ ModuleCat.{v} R where |
| 22 | obj M := ModuleCat.of R (A ⊗[R] M) |
| 23 | map f := ModuleCat.ofHom (f.hom.lTensor A) |
| 24 | map_id M := by apply ModuleCat.hom_ext; apply TensorProduct.ext; ext a m; rfl |
| 25 | map_comp f g := by apply ModuleCat.hom_ext; apply TensorProduct.ext; ext a m; rfl |
| 26 | |
| 27 | instance : (tensor (R := R) A).Additive where |
| 28 | map_add := by |
| 29 | intros |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply TensorProduct.ext |
| 32 | ext a m |
| 33 | exact TensorProduct.tmul_add _ _ _ |
| 34 | |
| 35 | abbrev complex (C : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 36 | CochainComplex (ModuleCat.{v} R) ℕ := |
| 37 | ((tensor A).mapHomologicalComplex (ComplexShape.up ℕ)).obj C |
| 38 | |
| 39 | abbrev map {C D : CochainComplex (ModuleCat.{v} R) ℕ} (φ : C ⟶ D) : |
| 40 | complex A C ⟶ complex A D := |
| 41 | ((tensor A).mapHomologicalComplex (ComplexShape.up ℕ)).map φ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor |