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.CommAlgCat.Basic |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | |
| 4 | /-! # Algebra Tensor Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraTensorFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar extension by tensor product is functorial for commutative algebras. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def algebraTensorFunctor (C D : Type u) [CommRing C] [CommRing D] [Algebra C D] : |
| 17 | CommAlgCat C ⥤ CommAlgCat D where |
| 18 | obj A := CommAlgCat.of D (D ⊗[C] A) |
| 19 | map f := CommAlgCat.ofHom (Algebra.TensorProduct.map (AlgHom.id D D) f.hom) |
| 20 | map_id A := by |
| 21 | apply CommAlgCat.hom_ext |
| 22 | exact Algebra.TensorProduct.map_id |
| 23 | map_comp f g := by |
| 24 | apply CommAlgCat.hom_ext |
| 25 | exact Algebra.TensorProduct.map_id_comp g.hom f.hom |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraTensorFunctor |