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.ScalarExtensionKernel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorFunctor |
| 3 | |
| 4 | /-! # Extension Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.ExtensionQuasiIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Universal tensor quasi-isomorphisms remain quasi-isomorphisms as complexes over each extended coefficient ring. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] (A : Type u) [CommRing A] [Algebra R A] |
| 18 | |
| 19 | def scalarExtensionRestrictionIso : HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor (R := R) A ≅ |
| 20 | Cochain.ScalarExtensionKernel.moduleScalarExtensionFunctor A ⋙ ModuleCat.restrictScalars (algebraMap R A) := by |
| 21 | refine NatIso.ofComponents (fun M => ModuleCat.isoMk (Iso.refl _) ?_) ?_ |
| 22 | · intro r |
| 23 | ext z |
| 24 | let z' : A ⊗[R] (↥M) := z |
| 25 | change algebraMap R A r • z' = r • z' |
| 26 | exact IsScalarTower.algebraMap_smul A r z' |
| 27 | · intro M N a |
| 28 | apply ModuleCat.hom_ext |
| 29 | apply TensorProduct.ext |
| 30 | ext s m |
| 31 | rfl |
| 32 | |
| 33 | def scalarExtensionRestrictionComplexIso : |
| 34 | (Cochain.ScalarExtensionKernel.moduleScalarExtensionFunctor (R := R) A).mapHomologicalComplex (ComplexShape.up ℕ) ⋙ |
| 35 | (ModuleCat.restrictScalars (algebraMap R A)).mapHomologicalComplex (ComplexShape.up ℕ) ≅ |
| 36 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor (R := R) A).mapHomologicalComplex (ComplexShape.up ℕ) := |
| 37 | Functor.mapHomologicalComplexCompIso (scalarExtensionRestrictionIso A).symm (ComplexShape.up ℕ) |
| 38 | |
| 39 | theorem scalarExtension_quasiIso_of_universal_tensor |
| 40 | {C D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) |
| 41 | (h : ∀ (B : Type u) [AddCommGroup B] [Module R B], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) : |
| 42 | QuasiIso (((Cochain.ScalarExtensionKernel.moduleScalarExtensionFunctor A).mapHomologicalComplex (ComplexShape.up ℕ)).map φ) := by |
| 43 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map A φ) := h A |
| 44 | let e := scalarExtensionRestrictionComplexIso (R := R) A |
| 45 | let ψ := ((Cochain.ScalarExtensionKernel.moduleScalarExtensionFunctor A).mapHomologicalComplex (ComplexShape.up ℕ)).map φ |
| 46 | let χ := ((ModuleCat.restrictScalars (algebraMap R A)).mapHomologicalComplex (ComplexShape.up ℕ)).map ψ |
| 47 | let a : Arrow.mk χ ≅ Arrow.mk (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map A φ) := |
| 48 | Arrow.isoMk (e.app C) (e.app D) (e.hom.naturality φ) |
| 49 | have hχ : QuasiIso χ := |
| 50 | (quasiIso_iff_of_arrow_mk_iso χ (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map A φ) a).mpr inferInstance |
| 51 | exact (HomologicalComplex.quasiIso_map_iff_of_preservesHomology ψ |
| 52 | (ModuleCat.restrictScalars (algebraMap R A))).mp hχ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.ExtensionQuasiIso |