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.PELModuli.IntegralModel.CoherentComparison |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ModuleVanishingOpen |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CohomologyExactFiniteness |
| 4 | |
| 5 | /-! # Cohomology Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finiteness transfers through coherent comparison spans once it is |
| 12 | known for coherent sheaves on the closed complement. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem CohomologyExactFiniteness.BaseCohomologyFinite.of_iso {X B : Scheme.{u}} (f : X ⟶ B) |
| 20 | {M N : X.Modules} (e : M ≅ N) (hM : CohomologyExactFiniteness.BaseCohomologyFinite f M) : |
| 21 | CohomologyExactFiniteness.BaseCohomologyFinite f N := by |
| 22 | intro n |
| 23 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 24 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f N n |
| 25 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H M n) := hM n |
| 26 | apply Module.Finite.of_surjective (CohomologyConnectingScalars.baseCohomologyLinearMap f n e.hom) |
| 27 | exact (ConcreteCategory.bijective_of_isIso ((SheafCohomology.AffineH.Projective.zariskiFunctor X n).map e.hom)).surjective |
| 28 | |
| 29 | theorem CohomologyExactFiniteness.BaseCohomologyFinite.iff_of_kernel_cokernel |
| 30 | {X B : Scheme.{u}} (f : X ⟶ B) [IsNoetherianRing Γ(B, ⊤)] |
| 31 | {M N : X.Modules} (a : M ⟶ N) |
| 32 | (hK : CohomologyExactFiniteness.BaseCohomologyFinite f (kernel a)) |
| 33 | (hC : CohomologyExactFiniteness.BaseCohomologyFinite f (cokernel a)) : |
| 34 | CohomologyExactFiniteness.BaseCohomologyFinite f M ↔ CohomologyExactFiniteness.BaseCohomologyFinite f N := by |
| 35 | let S₁ := ShortComplex.mk (kernel.ι a) (Abelian.coimage.π a) (by simp) |
| 36 | let S₂ := ShortComplex.mk (Abelian.image.ι a) (cokernel.π a) (by simp) |
| 37 | have hS₁ : S₁.ShortExact := ⟨ShortComplex.cokernelSequence_exact (kernel.ι a)⟩ |
| 38 | have hS₂ : S₂.ShortExact := ⟨ShortComplex.kernelSequence_exact (cokernel.π a)⟩ |
| 39 | constructor |
| 40 | · intro hM |
| 41 | have hI := CohomologyExactFiniteness.BaseCohomologyFinite.right f hS₁ hK hM |
| 42 | exact CohomologyExactFiniteness.BaseCohomologyFinite.middle f hS₂ |
| 43 | (hI.of_iso f (Abelian.coimageIsoImage a)) hC |
| 44 | · intro hN |
| 45 | have hI := CohomologyExactFiniteness.BaseCohomologyFinite.left f hS₂ hN hC |
| 46 | exact CohomologyExactFiniteness.BaseCohomologyFinite.middle f hS₁ hK |
| 47 | (hI.of_iso f (Abelian.coimageIsoImage a).symm) |
| 48 | |
| 49 | theorem CohomologyComparison.module_kernel_restrict_isZero_of_isIso |
| 50 | {X : Scheme.{u}} (U : X.Opens) {M N : X.Modules} (a : M ⟶ N) |
| 51 | [IsIso ((restrictFunctor U.ι).map a)] : IsZero ((kernel a).restrict U.ι) := by |
| 52 | let F := restrictFunctor U.ι |
| 53 | have : PreservesLimits F := SheafCohomology.Projective.ModuleRestrictLimits.Scheme.Modules.restrictFunctor_preservesLimits U.ι |
| 54 | exact (PreservesKernel.iso F a).isZero_iff.mpr (isZero_kernel_of_mono (F.map a)) |
| 55 | |
| 56 | theorem CohomologyComparison.module_cokernel_restrict_isZero_of_isIso |
| 57 | {X : Scheme.{u}} (U : X.Opens) {M N : X.Modules} (a : M ⟶ N) |
| 58 | [IsIso ((restrictFunctor U.ι).map a)] : IsZero ((cokernel a).restrict U.ι) := by |
| 59 | exact (PreservesCokernel.iso (restrictFunctor U.ι) a).isZero_iff.mpr |
| 60 | (isZero_cokernel_of_epi ((restrictFunctor U.ι).map a)) |
| 61 | |
| 62 | /-- This is the comparison step of induction on closed supports. The |
| 63 | induction hypothesis concerns precisely coherent sheaves vanishing on `U`. -/ |
| 64 | theorem CohomologyComparison.baseCohomologyFinite_iff_of_open_iso |
| 65 | {X B : Scheme.{u}} [IsLocallyNoetherian X] |
| 66 | (f : X ⟶ B) [IsNoetherianRing Γ(B, ⊤)] (U : X.Opens) [QuasiCompact U.ι] |
| 67 | (hsmall : ∀ Q : X.Modules, Q.IsQuasicoherent → Q.IsFiniteType → |
| 68 | IsZero (Q.restrict U.ι) → CohomologyExactFiniteness.BaseCohomologyFinite f Q) |
| 69 | (M N : X.Modules) [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 70 | [M.IsFiniteType] [N.IsFiniteType] |
| 71 | (e : M.restrict U.ι ≅ N.restrict U.ι) : |
| 72 | CohomologyExactFiniteness.BaseCohomologyFinite f M ↔ CohomologyExactFiniteness.BaseCohomologyFinite f N := by |
| 73 | obtain ⟨K, a, b, hKq, hKt, ha, hb, _⟩ := CoherentComparison.exists_coherent_comparison_span U M N e |
| 74 | let := hKq |
| 75 | let := hKt |
| 76 | let := ha |
| 77 | let := hb |
| 78 | have hmap {P Q : X.Modules} [P.IsQuasicoherent] [Q.IsQuasicoherent] |
| 79 | [P.IsFiniteType] [Q.IsFiniteType] (c : P ⟶ Q) |
| 80 | [IsIso ((restrictFunctor U.ι).map c)] : |
| 81 | CohomologyExactFiniteness.BaseCohomologyFinite f P ↔ CohomologyExactFiniteness.BaseCohomologyFinite f Q := by |
| 82 | exact CohomologyExactFiniteness.BaseCohomologyFinite.iff_of_kernel_cokernel f c |
| 83 | (hsmall _ (SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_kernel c) (SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_kernel c) |
| 84 | (CohomologyComparison.module_kernel_restrict_isZero_of_isIso U c)) |
| 85 | (hsmall _ (SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_cokernel c) (SheafCohomology.Projective.CoherentQuotientFiniteType.Scheme.Modules.isFiniteType_cokernel c) |
| 86 | (CohomologyComparison.module_cokernel_restrict_isZero_of_isIso U c)) |
| 87 | exact (hmap a).symm.trans (hmap b) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |