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.ClosedDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AnnihilatorSubobjects |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.QuasicoherentKernels |
| 4 | |
| 5 | /-! # Reduction Layer -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ReductionLayer |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical coherent layer obtained by restricting to a closed |
| 12 | subscheme. Its quotient descends to that actual closed subscheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def closedModuleUnit {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) : |
| 19 | M ⟶ (Scheme.Modules.pushforward f).obj ((Scheme.Modules.pullback f).obj M) := |
| 20 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M |
| 21 | |
| 22 | def closedReductionKernel {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) : Y.Modules := |
| 23 | kernel (closedModuleUnit f M) |
| 24 | |
| 25 | def closedReductionQuotient {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) : Y.Modules := |
| 26 | Abelian.coimage (closedModuleUnit f M) |
| 27 | |
| 28 | def closedReductionSequence {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) : |
| 29 | ShortComplex Y.Modules := |
| 30 | ShortComplex.mk (kernel.ι (closedModuleUnit f M)) |
| 31 | (Abelian.coimage.π (closedModuleUnit f M)) (by simp) |
| 32 | |
| 33 | theorem closedReductionSequence_shortExact {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) : |
| 34 | (closedReductionSequence f M).ShortExact := by |
| 35 | change (ShortComplex.mk (kernel.ι (closedModuleUnit f M)) |
| 36 | (Abelian.coimage.π (closedModuleUnit f M)) _).ShortExact |
| 37 | exact ⟨ShortComplex.cokernelSequence_exact (kernel.ι (closedModuleUnit f M))⟩ |
| 38 | |
| 39 | theorem closedReductionKernel_quasicoherent |
| 40 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 41 | (M : Y.Modules) [M.IsQuasicoherent] : (closedReductionKernel f M).IsQuasicoherent := by |
| 42 | have := Affine.MorphismQuasicoherentPullback.quasicoherent_pullback_of_isAffineHom f M |
| 43 | have := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f ((Scheme.Modules.pullback f).obj M) |
| 44 | exact Quasicoherent.Kernels.module_quasicoherent_kernel (closedModuleUnit f M) |
| 45 | |
| 46 | theorem closedReductionKernel_finiteType |
| 47 | {X Y : Scheme.{u}} [IsLocallyNoetherian Y] (f : X ⟶ Y) [IsClosedImmersion f] |
| 48 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 49 | (closedReductionKernel f M).IsFiniteType := by |
| 50 | have := Affine.MorphismQuasicoherentPullback.quasicoherent_pullback_of_isAffineHom f M |
| 51 | have := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f ((Scheme.Modules.pullback f).obj M) |
| 52 | exact Noetherian.QuasicoherentKernels.noetherian_quasicoherent_kernel_finiteType (closedModuleUnit f M) |
| 53 | |
| 54 | theorem closedReductionQuotient_quasicoherent |
| 55 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 56 | (M : Y.Modules) [M.IsQuasicoherent] : (closedReductionQuotient f M).IsQuasicoherent := by |
| 57 | have : (kernel (closedModuleUnit f M)).IsQuasicoherent := closedReductionKernel_quasicoherent f M |
| 58 | exact Quasicoherent.Cokernels.module_quasicoherent_cokernel (kernel.ι (closedModuleUnit f M)) |
| 59 | |
| 60 | theorem closedReductionQuotient_finiteType |
| 61 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 62 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 63 | (closedReductionQuotient f M).IsFiniteType := by |
| 64 | have : (kernel (closedModuleUnit f M)).IsQuasicoherent := closedReductionKernel_quasicoherent f M |
| 65 | exact Quasicoherent.QuotientFiniteType.quasicoherent_cokernel_finiteType (kernel.ι (closedModuleUnit f M)) |
| 66 | |
| 67 | theorem closedReductionQuotient_ideal_annihilates |
| 68 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 69 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 70 | letI := closedReductionQuotient_quasicoherent f M |
| 71 | letI := closedReductionQuotient_finiteType f M |
| 72 | f.ker ≤ Coherent.Annihilator.coherentAnnihilator (closedReductionQuotient f M) := by |
| 73 | have := closedReductionQuotient_quasicoherent f M |
| 74 | have := closedReductionQuotient_finiteType f M |
| 75 | let P : X.Modules := (Scheme.Modules.pullback f).obj M |
| 76 | have : P.IsQuasicoherent := Affine.MorphismQuasicoherentPullback.quasicoherent_pullback_of_isAffineHom f M |
| 77 | have : P.IsFiniteType := Quasicoherent.PullbackFiniteType.module_pullback_finiteType f M |
| 78 | have := Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f P |
| 79 | have := Finite.ImageType.finite_directImage_finiteType f P |
| 80 | let a : M ⟶ (Scheme.Modules.pushforward f).obj P := closedModuleUnit f M |
| 81 | have hmono : Mono (Abelian.factorThruCoimage a) := inferInstance |
| 82 | exact (AnnihilatorSubobjects.closedIdeal_annihilates_pushforward f P).trans |
| 83 | (@AnnihilatorSubobjects.coherentAnnihilator_le_of_mono Y (closedReductionQuotient f M) |
| 84 | ((Scheme.Modules.pushforward f).obj P) |
| 85 | (closedReductionQuotient_quasicoherent f M) |
| 86 | (Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f P) |
| 87 | (closedReductionQuotient_finiteType f M) (Finite.ImageType.finite_directImage_finiteType f P) |
| 88 | (Abelian.factorThruCoimage a) hmono) |
| 89 | |
| 90 | theorem closedReductionQuotient_exists_descent |
| 91 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 92 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 93 | ∃ N : X.Modules, N.IsQuasicoherent ∧ N.IsFiniteType ∧ |
| 94 | Nonempty ((Scheme.Modules.pushforward f).obj N ≅ closedReductionQuotient f M) := by |
| 95 | have := closedReductionQuotient_quasicoherent f M |
| 96 | have := closedReductionQuotient_finiteType f M |
| 97 | exact Coherent.ClosedDescent.exists_coherent_closed_descent f (closedReductionQuotient f M) |
| 98 | (closedReductionQuotient_ideal_annihilates f M) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ReductionLayer |