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.Category.ModuleCat.ChangeOfRings |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 3 | import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor |
| 4 | import Mathlib.CategoryTheory.Adjunction.Limits |
| 5 | |
| 6 | /-! # Tensor Products -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorProducts.Construction.FiniteTensorProducts |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Extension of scalars commutes with finite products of modules. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 19 | instance extend_additive : |
| 20 | (ModuleCat.extendScalars f : ModuleCat.{u} R ⥤ ModuleCat.{u} S).Additive := by |
| 21 | let F : ModuleCat.{u} R ⥤ ModuleCat.{u} S := ModuleCat.extendScalars f |
| 22 | have : F.IsLeftAdjoint := (ModuleCat.extendRestrictScalarsAdj f).isLeftAdjoint |
| 23 | have : PreservesBinaryBiproducts F := |
| 24 | preservesBinaryBiproducts_of_preservesBinaryCoproducts _ |
| 25 | exact Functor.additive_of_preservesBinaryBiproducts _ |
| 26 | |
| 27 | variable {I : Type u} [Finite I] (P : I → ModuleCat.{u} R) |
| 28 | |
| 29 | theorem comparison_isIso : IsIso (piComparison (ModuleCat.extendScalars f) P) := by |
| 30 | infer_instance |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorProducts.Construction.FiniteTensorProducts |