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.Cochain.ZeroKernel |
| 2 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 3 | import Mathlib.Algebra.Homology.Additive |
| 4 | |
| 5 | /-! # Scalar Extension Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Degree-zero cohomology after scalar extension is the kernel of the scalar-extended first differential. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | |
| 20 | def moduleScalarExtensionFunctor (A : Type u) [CommRing A] [Algebra R A] : |
| 21 | ModuleCat.{u} R ⥤ ModuleCat.{u} A where |
| 22 | obj M := ModuleCat.of A (A ⊗[R] M) |
| 23 | map f := ModuleCat.ofHom (f.hom.baseChange A) |
| 24 | map_id M := ModuleCat.hom_ext (LinearMap.baseChange_id (A := A) (M := M)) |
| 25 | map_comp f g := ModuleCat.hom_ext (LinearMap.baseChange_comp (A := A) f.hom g.hom) |
| 26 | |
| 27 | instance (A : Type u) [CommRing A] [Algebra R A] : |
| 28 | (moduleScalarExtensionFunctor (R := R) A).Additive where |
| 29 | map_add := by |
| 30 | intro M N f g |
| 31 | exact ModuleCat.hom_ext (LinearMap.baseChange_add (A := A) f.hom g.hom) |
| 32 | |
| 33 | def cochainScalarExtension (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 34 | (A : Type u) [CommRing A] [Algebra R A] : CochainComplex (ModuleCat.{u} A) ℕ := |
| 35 | ((moduleScalarExtensionFunctor A).mapHomologicalComplex (ComplexShape.up ℕ)).obj C |
| 36 | |
| 37 | def cochainScalarExtensionZeroKernelEquiv (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 38 | (A : Type u) [CommRing A] [Algebra R A] : |
| 39 | (cochainScalarExtension C A).homology 0 ≃ₗ[A] ((C.d 0 1).hom.baseChange A).ker := |
| 40 | ZeroKernel.cochainZeroHomologyKernelEquiv (cochainScalarExtension C A) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel |