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.Module.TensorFunctor |
| 2 | import Mathlib.RingTheory.Flat.CategoryTheory |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | |
| 5 | /-! # Module Tensor Homology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual tensor functor used by the Cech model preserves homology when its tensor factor is flat. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | variable (A : Type u) [AddCommGroup A] [Module R A] |
| 17 | |
| 18 | def tensorLeftIso : HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A ≅ tensorLeft (ModuleCat.of R A) := by |
| 19 | refine NatIso.ofComponents (fun _ => Iso.refl _) ?_ |
| 20 | intro M N f |
| 21 | apply ModuleCat.hom_ext |
| 22 | apply TensorProduct.ext |
| 23 | ext a m |
| 24 | rfl |
| 25 | |
| 26 | instance tensor_preservesFiniteColimits : PreservesFiniteColimits (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor (R := R) A) := |
| 27 | preservesFiniteColimits_of_natIso (tensorLeftIso (R := R) A).symm |
| 28 | |
| 29 | instance tensor_preservesFiniteLimits [Module.Flat R A] : PreservesFiniteLimits (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor (R := R) A) := |
| 30 | preservesFiniteLimits_of_natIso (tensorLeftIso (R := R) A).symm |
| 31 | |
| 32 | def flatHomologyIso [Module.Flat R A] |
| 33 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (q : ℕ) : |
| 34 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A).obj (C.homology q) ≅ (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex A C).homology q := |
| 35 | ((C.sc q).mapHomologyIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A)).symm |
| 36 | |
| 37 | theorem flat_map_quasiIso [Module.Flat R A] |
| 38 | {C D : CochainComplex (ModuleCat.{u} R) ℕ} (a : C ⟶ D) [QuasiIso a] : |
| 39 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map A a) := by infer_instance |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.ModuleTensorHomology.ModuleTensorFunctor |