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.Coherent.BinaryBiproduct |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.QuasicoherentKernels |
| 3 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic |
| 4 | |
| 5 | /-! # Module Pullbacks -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.ModulePullbacks |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 12 | universe u |
| 13 | |
| 14 | def modulePullbackKernelIso {X : Scheme.{u}} {M N Q : X.Modules} |
| 15 | (a : M ⟶ Q) (b : N ⟶ Q) : |
| 16 | kernel (biprod.desc a (-b)) ≅ pullback a b := |
| 17 | limit.isoLimitCone ⟨_, Abelian.PullbackToBiproductIsKernel.isLimitPullbackToBiproduct a b⟩ |
| 18 | |
| 19 | theorem modulePullback_quasicoherent {X : Scheme.{u}} {M N Q : X.Modules} |
| 20 | [M.IsQuasicoherent] [N.IsQuasicoherent] [Q.IsQuasicoherent] |
| 21 | (a : M ⟶ Q) (b : N ⟶ Q) : (pullback a b).IsQuasicoherent := by |
| 22 | have : (M ⊞ N).IsQuasicoherent := BinaryBiproduct.module_biprod_quasicoherent M N |
| 23 | exact (SheafOfModules.isQuasicoherent X.ringCatSheaf).prop_of_iso (modulePullbackKernelIso a b) |
| 24 | (Quasicoherent.Kernels.module_quasicoherent_kernel (biprod.desc a (-b))) |
| 25 | |
| 26 | theorem modulePullback_finiteType {X : Scheme.{u}} [IsLocallyNoetherian X] |
| 27 | {M N Q : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 28 | [Q.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] |
| 29 | (a : M ⟶ Q) (b : N ⟶ Q) : (pullback a b).IsFiniteType := by |
| 30 | have : (M ⊞ N).IsQuasicoherent := BinaryBiproduct.module_biprod_quasicoherent M N |
| 31 | have : (M ⊞ N).IsFiniteType := BinaryBiproduct.module_biprod_finiteType M N |
| 32 | have := Noetherian.QuasicoherentKernels.noetherian_quasicoherent_kernel_finiteType (biprod.desc a (-b)) |
| 33 | have : (kernel (biprod.desc a (-b))).IsQuasicoherent := Quasicoherent.Kernels.module_quasicoherent_kernel _ |
| 34 | have : (pullback a b).IsQuasicoherent := modulePullback_quasicoherent a b |
| 35 | exact Quasicoherent.RestrictionFiniteType.quasicoherent_finiteType_of_iso (modulePullbackKernelIso a b) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.ModulePullbacks |