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.SheafCohomology.Projective.SectionsHilbertDegreeBound |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedTwistSections |
| 3 | |
| 4 | /-! # Closed Projective Hilbert -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ClosedProjectiveHilbert.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Hilbert polynomials of actual sections on closed projective schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {r : ℕ} |
| 17 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 18 | |
| 19 | local instance (X : Scheme.{u}) : MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 20 | |
| 21 | theorem closedProjective_sections_eventuallyPolynomial |
| 22 | {X : Scheme.{u}} (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) R)) |
| 23 | [IsClosedImmersion f] (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 24 | (j : Fin (r + 1)) (hfield : IsField Γ(Spec (.of R), ⊤)) : |
| 25 | AlgebraicGeometry.SheafCohomology.Projective.BoundedEventualPolynomial.EventuallyPolynomialOfDegree (fun n => |
| 26 | (Module.finrank Γ(Spec (.of R), ⊤) |
| 27 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ |
| 28 | (R := R) (σ := Fin (r + 1)))).obj |
| 29 | (M ⊗ (Scheme.Modules.pullback f).obj |
| 30 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n))) : ℚ)) r := by |
| 31 | let N := (Scheme.Modules.pushforward f).obj M |
| 32 | have : N.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 33 | have : N.IsFiniteType := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_pushforward_of_isClosedImmersion f |
| 34 | obtain ⟨P, hd, b, hb⟩ := |
| 35 | AlgebraicGeometry.SheafCohomology.Projective.SectionsHilbertDegreeBound.MvPolynomial.finiteType_projectiveTwist_sections_eventuallyPolynomialOfDegree N j hfield |
| 36 | refine ⟨P, hd, b, fun n hn => ?_⟩ |
| 37 | let e := AlgebraicGeometry.SheafCohomology.Projective.ClosedTwistSections.MvPolynomial.closedImmersion_projectiveTwist_sectionsLinearEquiv f M j n |
| 38 | exact (congrArg (fun k : ℕ => (k : ℚ)) e.finrank_eq).trans (hb n hn) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ClosedProjectiveHilbert.Construction |