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.Additive.FunctorFiniteBiproducts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.FunctorFiniteCoproducts |
| 3 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 4 | |
| 5 | /-! # Functor Biproduct Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.FunctorBiproductDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An additive functor to finite-dimensional vector spaces takes a finite biproduct to the sum of the component dimensions. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | universe u v w |
| 14 | |
| 15 | theorem additive_functor_biproduct_finrank |
| 16 | {C : Type v} [Category.{w} C] [Preadditive C] |
| 17 | {K : Type u} [Field K] (F : C ⥤ ModuleCat.{u} K) [F.Additive] |
| 18 | {I : Type u} [Fintype I] (M : I → C) [HasBiproduct M] |
| 19 | (hM : ∀ i, Module.Finite K (F.obj (M i))) : |
| 20 | Module.finrank K (F.obj (⨁ M)) = ∑ i, Module.finrank K (F.obj (M i)) := by |
| 21 | let : HasBiproduct (F.obj ∘ M) := HasBiproduct.of_hasProduct (F.obj ∘ M) |
| 22 | let : ∀ i, Module.Finite K (F.obj (M i)) := hM |
| 23 | have := FunctorFiniteBiproducts.additive_functor_preserves_finite_biproduct F M |
| 24 | let e : F.obj (⨁ M) ≅ ModuleCat.of K (∀ i, F.obj (M i)) := |
| 25 | F.mapBiproduct M ≪≫ biproduct.isoProduct (F.obj ∘ M) ≪≫ ModuleCat.piIsoPi (F.obj ∘ M) |
| 26 | exact e.toLinearEquiv.finrank_eq.trans (Module.finrank_pi_fintype K) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.FunctorBiproductDimension |