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.ArithmeticGeometry.OrdinaryLocus.Openness.ClosedProjectiveHilbert |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveTwistComparison |
| 3 | |
| 4 | /-! # Polarized Hilbert -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PolarizedHilbert.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Hilbert polynomials in the actual tensor powers of a projective coordinate bundle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {r : ℕ} |
| 17 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 18 | |
| 19 | theorem coordinateBundle_sections_eventuallyPolynomial |
| 20 | {X : Scheme.{u}} (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) R)) |
| 21 | [IsClosedImmersion f] (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 22 | (j : Fin (r + 1)) (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 23 | (e : (Scheme.Modules.pullback f).obj (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := R) j).sheaf ≅ |
| 24 | L.sheaf) (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 | (SheafTensor.Construction.sheafTensor M (L.tensorPower n).sheaf)) : ℚ)) r := by |
| 30 | obtain ⟨P, hd, b, hb⟩ := ClosedProjectiveHilbert.Construction.closedProjective_sections_eventuallyPolynomial f M j hfield |
| 31 | refine ⟨P, hd, b, fun n hn => ?_⟩ |
| 32 | let eT := AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalTensorObjIso M |
| 33 | ((Scheme.Modules.pullback f).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n)) ≪≫ |
| 34 | SheafTensor.Construction.sheafTensorCongr (Iso.refl M) (ProjectiveTwistComparison.Construction.pullbackProjectiveTwistIso f j L e n) |
| 35 | let eG := (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ |
| 36 | (R := R) (σ := Fin (r + 1)))).mapIso eT |
| 37 | exact (congrArg (fun k : ℕ => (k : ℚ)) eG.toLinearEquiv.finrank_eq).symm.trans (hb n hn) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PolarizedHilbert.Construction |