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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Base.ChangeTensorExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ScalarExactness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.TensorExactness |
| 4 | |
| 5 | /-! # Tower Cochain Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.TowerCochainExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exactness of an actual tensor complex transfers to iterated base change along a scalar tower. -/ |
| 12 | open _root_.CategoryTheory |
| 13 | universe u |
| 14 | |
| 15 | theorem tensor_baseChange_exactAt_of_scalar_tower |
| 16 | {R S B : Type u} [CommRing R] [CommRing S] [CommRing B] |
| 17 | [Algebra R S] [Algebra S B] [Algebra R B] [IsScalarTower R S B] |
| 18 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) |
| 19 | (h : (Module.TensorFunctor.ModuleTensorFunctor.complex B C).ExactAt q) : |
| 20 | (Module.TensorFunctor.ModuleTensorFunctor.complex B |
| 21 | (((Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R S).mapHomologicalComplex (.up ℕ)).obj C)).ExactAt q := by |
| 22 | let T := C.sc q |
| 23 | have hnative : (T.map (ModuleCat.extendScalars (algebraMap R B))).Exact := by |
| 24 | have hi : (T.map (Module.TensorFunctor.ModuleTensorFunctor.tensor B)).Exact ↔ |
| 25 | (T.map (ModuleCat.extendScalars (algebraMap R B))).Exact := by |
| 26 | have ht := Tensor.ScalarExactness.tensor_shortComplex_exact_iff_native (algebraMap R B) T |
| 27 | rw [toAlgebra_algebraMap] at ht |
| 28 | exact ht |
| 29 | exact hi.mp h |
| 30 | have hcomp : (T.map (ModuleCat.extendScalars |
| 31 | ((algebraMap S B).comp (algebraMap R S)))).Exact := by |
| 32 | rw [← IsScalarTower.algebraMap_eq R S B] |
| 33 | exact hnative |
| 34 | have hiter := Iterated.TensorExactness.iterated_tensor_exact_of_composite (A := S) T hcomp |
| 35 | exact (Base.ChangeTensorExactness.baseChange_shortComplex_exact_iff_tensor (B := B) |
| 36 | (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R S T)).mp hiter |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.TowerCochainExactness |