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.Divisors.LineBundles.Projective.ModuleChartTopDegree |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.SectionProjectiveModuleChart |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.InfinityChartIdeal |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.CompactificationNoetherian |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ClosedComplement |
| 6 | |
| 7 | /-! # Top Degree -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.GlobalConormal.TopDegree.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual glued infinity ideal has the expected top degree |
| 14 | for a constant-rank conormal compactification over an integral center. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | |
| 18 | instance conormalCenter_isNoetherian {Y : Scheme.{0}} [AlgebraicGeometry.IsNoetherian Y] |
| 19 | (I : Y.IdealSheafData) : AlgebraicGeometry.IsNoetherian I.subscheme := |
| 20 | Open.ClosedComplement.BundleCycles.closedImmersion_isNoetherian I.subschemeι |
| 21 | |
| 22 | instance conormalCenter_isSeparated {Y : Scheme.{0}} [Y.IsSeparated] |
| 23 | (I : Y.IdealSheafData) : I.subscheme.IsSeparated := ⟨by |
| 24 | rw [← CategoryTheory.Limits.terminal.comp_from I.subschemeι] |
| 25 | infer_instance⟩ |
| 26 | |
| 27 | variable {X Y : Scheme.{0}} [AlgebraicGeometry.IsNoetherian Y] [Y.IsSeparated] |
| 28 | (p : Y ⟶ X) [Smooth p] (s : X ⟶ Y) [IsClosedImmersion s] (hs : s ≫ p = 𝟙 X) |
| 29 | [IsIntegral s.ker.subscheme] |
| 30 | [Smooth (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker)] |
| 31 | [GeometricallyIntegral (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker)] |
| 32 | (f : s.ker.subscheme ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 33 | (n : ℕ) (hp : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker) n) |
| 34 | |
| 35 | include p hs in |
| 36 | theorem globalConormalChow_top_degree (d : ℕ) (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = d) |
| 37 | (α : DimensionChow.BundleCycles.DimensionChowQ f d) : |
| 38 | Proper.ChowNe.BundleCycles.properChowPushforward (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker) f d |
| 39 | (LineBundle.SeparatedChowPower.Cycles.separatedLineBundleChowPower (InfinityBundle.Cycles.globalConormalInfinityIdealLineBundle s.ker) |
| 40 | (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker ≫ f) d n |
| 41 | (AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker) f n hp d α)) = |
| 42 | (-1 : ℚ) ^ n • α := by |
| 43 | obtain ⟨U, hU, hfinite, hprojective⟩ := Global.SectionProjectiveModuleChart.BundleCycles.globalSection_exists_projectiveModuleChart p s hs |
| 44 | (genericPoint s.ker.subscheme) |
| 45 | let R := Γ(Y, U.1) ⧸ s.ker.ideal U |
| 46 | let M := (s.ker.ideal U).Cotangent |
| 47 | let : IsNoetherianRing Γ(Y, U.1) := IsLocallyNoetherian.component_noetherian ⟨U.1, U.2⟩ |
| 48 | let : IsNoetherianRing R := inferInstance |
| 49 | let : Module.Finite R M := hfinite |
| 50 | let : Module.Projective R M := hprojective |
| 51 | let i : Spec (.of R) ⟶ s.ker.subscheme := Support.Projection.BundleCycles.supportCoefficientChart s.ker U |
| 52 | let j : SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M) ⟶ Conormal.ProjectiveGluing.BundleCycles.globalConormalProjective s.ker := |
| 53 | (Conormal.ProjectiveGluing.BundleCycles.globalConormalProjectiveCover s.ker).f U |
| 54 | have hi : IsOpenImmersion i := Support.Projection.BundleCycles.supportCoefficientChart_isOpenImmersion s.ker U |
| 55 | have hj : IsOpenImmersion j := Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveCover_isOpenImmersion s.ker U |
| 56 | let : Nonempty (Spec (.of R)) := ⟨Classical.choose hU⟩ |
| 57 | let : IsIntegral (Spec (.of R)) := isIntegral_of_isOpenImmersion i |
| 58 | let : IsDomain R := (affine_isIntegral_iff (.of R)).mp inferInstance |
| 59 | exact LineBundles.Projective.ModuleChartTopDegree.BundleCycles.projectiveModuleChart_top_degree (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport s.ker) f |
| 60 | (InfinityBundle.Cycles.globalConormalInfinityIdealLineBundle s.ker) i j |
| 61 | (Conormal.ProjectiveProper.BundleCycles.globalConormalProjectiveToSupport_chart_isPullback s.ker U) |
| 62 | (Conormal.InfinityChartIdeal.BundleCycles.conormalInfinityChartIdealIso s.ker U) n hp d hd α |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.GlobalConormal.TopDegree.BundleCycles |