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.Flat.ModuleTensorHomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.CochainBicomplex |
| 3 | |
| 4 | /-! # Tensor Homology Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorHomologyNaturality.ModuleTensorFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tensor-homology comparison is natural in both a flat tensor factor and the cochain complex. These are the compatibility laws used by varying affine parameter rings. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | variable {A B : Type u} [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 17 | |
| 18 | def scalarMap (a : A →ₗ[R] B) : TensorFunctor.ModuleTensorFunctor.tensor (R := R) A ⟶ TensorFunctor.ModuleTensorFunctor.tensor (R := R) B where |
| 19 | app M := ModuleCat.ofHom (a.rTensor M) |
| 20 | naturality M N f := by |
| 21 | apply ModuleCat.hom_ext |
| 22 | apply TensorProduct.ext |
| 23 | ext x y |
| 24 | rfl |
| 25 | |
| 26 | theorem flatHomologyIso_scalar_naturality [Module.Flat R A] [Module.Flat R B] |
| 27 | (a : A →ₗ[R] B) (C : CochainComplex (ModuleCat.{u} R) ℕ) (n : ℕ) : |
| 28 | (scalarMap a).app (C.homology n) ≫ (HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor.flatHomologyIso B C n).hom = |
| 29 | (HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor.flatHomologyIso A C n).hom ≫ |
| 30 | HomologicalComplex.homologyMap (Tensor.CochainBicomplex.tensorCochainMap C (ModuleCat.ofHom a)) n := by |
| 31 | change (scalarMap a).app ((C.sc n).homology) ≫ ((C.sc n).mapHomologyIso (TensorFunctor.ModuleTensorFunctor.tensor B)).inv = |
| 32 | ((C.sc n).mapHomologyIso (TensorFunctor.ModuleTensorFunctor.tensor A)).inv ≫ |
| 33 | ShortComplex.homologyMap ((C.sc n).mapNatTrans (scalarMap a)) |
| 34 | rw [ShortComplex.homologyMap_mapNatTrans, Iso.inv_hom_id_assoc] |
| 35 | |
| 36 | theorem flatHomologyIso_complex_naturality [Module.Flat R A] |
| 37 | {C D : CochainComplex (ModuleCat.{u} R) ℕ} (a : C ⟶ D) (n : ℕ) : |
| 38 | (TensorFunctor.ModuleTensorFunctor.tensor A).map (HomologicalComplex.homologyMap a n) ≫ (HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor.flatHomologyIso A D n).hom = |
| 39 | (HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor.flatHomologyIso A C n).hom ≫ HomologicalComplex.homologyMap (TensorFunctor.ModuleTensorFunctor.map A a) n := |
| 40 | ShortComplex.mapHomologyIso_inv_naturality |
| 41 | ((HomologicalComplex.shortComplexFunctor (ModuleCat.{u} R) (.up ℕ) n).map a) (TensorFunctor.ModuleTensorFunctor.tensor A) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorHomologyNaturality.ModuleTensorFunctor |