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.Proper.IntegralGoodCohomologySheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GenericLineFrame |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GenericModuleTrivialization |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NestedOpenModuleFrames |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.FiniteCoproducts |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.FiniteCoproducts |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyOpenComparison |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.SupportSplitting |
| 9 | |
| 10 | /-! # Integral Cohomology Induction -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.IntegralCohomologyInduction |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! Proper integral coherent cohomology reduces to smaller supports by comparison with a constructed finite sum of a generic line sheaf. -/ |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | universe u |
| 20 | |
| 21 | theorem properIntegral_cohomologyFinite_of_proper_support |
| 22 | {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 23 | {X : Scheme.{u}} [IsIntegral X] (f : X ⟶ Spec (.of R)) [IsProper f] |
| 24 | (hsmall : ∀ (Q : X.Modules) [Q.IsQuasicoherent] [Q.IsFiniteType], |
| 25 | (Coherent.Annihilator.coherentAnnihilator Q).support < ⊤ → CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap f) Q) |
| 26 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite (Coefficient.ModulePresheaf.schemeCoefficientMap f) M := by |
| 27 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 28 | have : IsNoetherianRing Γ(Spec (.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 29 | (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 30 | obtain ⟨G, hGq, hGt, hG, _, U, hU, _, L, ⟨eG⟩⟩ := |
| 31 | IntegralGoodCohomologySheaf.properIntegral_exists_coherent_generic_line_finite_cohomology f |
| 32 | let := hGq |
| 33 | let := hGt |
| 34 | let := hU |
| 35 | obtain ⟨V, _, hV, hVa, ⟨bG⟩⟩ := GenericLineFrame.exists_generic_line_frame G U L eG |
| 36 | let := hV |
| 37 | obtain ⟨W, hWV, hW, _, n, ⟨bM⟩⟩ := GenericModuleTrivialization.exists_generic_module_trivialization M ⟨V, hVa⟩ |
| 38 | let C := ∐ fun _ : ULift.{u} (Fin n) => G |
| 39 | have : C.IsQuasicoherent := Quasicoherent.Coproducts.module_quasicoherent_coproduct _ (fun _ => hGq) |
| 40 | have : C.IsFiniteType := Quasicoherent.FiniteCoproducts.module_finiteType_finite_coproduct _ (fun _ => hGq) (fun _ => hGt) |
| 41 | let eC : C.restrict W.ι ≅ ∐ fun _ : ULift.{u} (Fin n) => Line.Bundles.structureModule W.toScheme := |
| 42 | PreservesCoproduct.iso (restrictFunctor W.ι) (fun _ : ULift.{u} (Fin n) => G) ≪≫ |
| 43 | Sigma.mapIso (fun _ => NestedOpenModuleFrames.nativeOpenFrame hWV bG) |
| 44 | apply (CohomologyOpenComparison.coefficientCohomologyFinite_iff_of_open_iso (Coefficient.ModulePresheaf.schemeCoefficientMap f) W _ M C (bM.symm ≪≫ eC.symm)).mpr |
| 45 | · exact CoefficientCohomology.FinitenessProperty.ZariskiCohomology.CoefficientCohomologyFinite.coproduct (Coefficient.ModulePresheaf.schemeCoefficientMap f) (fun _ : ULift.{u} (Fin n) => G) (fun _ => hG) |
| 46 | · intro Q hQq hQt hQ |
| 47 | let := hQq |
| 48 | let := hQt |
| 49 | apply hsmall Q |
| 50 | apply lt_top_iff_ne_top.mpr |
| 51 | intro heq |
| 52 | obtain ⟨x⟩ := hW |
| 53 | have hx : x.val ∈ (Coherent.Annihilator.coherentAnnihilator Q).support := by rw [heq]; trivial |
| 54 | exact (Coherent.Annihilator.coherentAnnihilator_mem_support_iff Q x.val).mp hx |
| 55 | ((Module.VanishingOpen.module_restrict_isZero_iff_le_vanishingOpen Q W).mp hQ x.property) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.IntegralCohomologyInduction |