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.ChangeTensorHomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.ModuleTensorHomology |
| 3 | |
| 4 | /-! # Base Change Homology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BaseChangeHomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat scalar extension preserves homology as a module over the new ring, |
| 11 | including the full scalar action. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | universe u |
| 14 | variable {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 15 | |
| 16 | instance moduleBaseChange_preservesFiniteColimits : |
| 17 | PreservesFiniteColimits (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B) := by |
| 18 | let F := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B |
| 19 | let G := ModuleCat.restrictScalars (algebraMap R B) |
| 20 | have : PreservesFiniteColimits (F ⋙ G) := |
| 21 | preservesFiniteColimits_of_natIso (Base.ChangeTensorHomology.moduleBaseChangeRestrictionIso (R := R) (B := B)) |
| 22 | exact preservesFiniteColimits_of_reflects_of_preserves F G |
| 23 | |
| 24 | instance moduleBaseChange_preservesFiniteLimits [Module.Flat R B] : |
| 25 | PreservesFiniteLimits (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B) := by |
| 26 | let F := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B |
| 27 | let G := ModuleCat.restrictScalars (algebraMap R B) |
| 28 | have : PreservesFiniteLimits (F ⋙ G) := |
| 29 | preservesFiniteLimits_of_natIso (Base.ChangeTensorHomology.moduleBaseChangeRestrictionIso (R := R) (B := B)) |
| 30 | exact preservesFiniteLimits_of_reflects_of_preserves F G |
| 31 | |
| 32 | def flatBaseChangeHomologyIso [Module.Flat R B] |
| 33 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) : |
| 34 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).obj (C.homology q) ≅ |
| 35 | (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).homology q := |
| 36 | ((C.sc q).mapHomologyIso (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B)).symm |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BaseChangeHomology |