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.SectionsHilbertPolynomial |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHilbertDegreeBound |
| 3 | |
| 4 | /-! # Sections Hilbert Degree Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.MvPolynomial |
| 11 | |
| 12 | /-! Ambient degree bounds for Hilbert polynomials of actual projective sections. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleHilbertDegreeBound |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {r : ℕ} |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | section |
| 21 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation |
| 22 | variable {j : Fin (r + 1)} {M : (Proj (homogeneousSubmodule (Fin (r + 1)) R)).Modules} |
| 23 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 24 | |
| 25 | omit [IsNoetherianRing R] in |
| 26 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.degreeCokernel_eventuallyPolynomialOfDegree |
| 27 | (hfield : IsField Γ(Spec (CommRingCat.of R), ⊤)) : |
| 28 | BoundedEventualPolynomial.EventuallyPolynomialOfDegree (fun n => |
| 29 | (Module.finrank Γ(Spec (CommRingCat.of R), ⊤) (D.DegreeCokernel (n : ℤ)) : ℚ)) r := by |
| 30 | let := hfield.toField |
| 31 | exact ModuleHilbertDegreeBound.finiteGradedModule_quotient_eventuallyPolynomialOfDegree |
| 32 | D.generatorModule D.polynomialMap.range D.polynomialRelations_homogeneous |
| 33 | |
| 34 | end |
| 35 | |
| 36 | theorem SectionsHilbertDegreeBound.MvPolynomial.finiteType_projectiveTwist_sections_eventuallyPolynomialOfDegree |
| 37 | (M : (Proj (homogeneousSubmodule (Fin (r + 1)) R)).Modules) |
| 38 | [M.IsQuasicoherent] [M.IsFiniteType] (j : Fin (r + 1)) |
| 39 | (hfield : IsField Γ(Spec (CommRingCat.of R), ⊤)) : |
| 40 | BoundedEventualPolynomial.EventuallyPolynomialOfDegree (fun n => |
| 41 | (Module.finrank Γ(Spec (CommRingCat.of R), ⊤) |
| 42 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (r + 1)))).obj |
| 43 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj M)) : ℚ)) r := by |
| 44 | obtain ⟨D⟩ := TwoStagePresentation.MvPolynomial.exists_coordinateNegativeTwistPresentation M j |
| 45 | obtain ⟨P, hP, b, hb⟩ := D.degreeCokernel_eventuallyPolynomialOfDegree hfield |
| 46 | obtain ⟨c, hc⟩ := D.eventually_degreeCokernel_sections |
| 47 | refine ⟨P, hP, max b c, fun n hn => ?_⟩ |
| 48 | obtain ⟨e⟩ := hc n ((le_max_right b c).trans hn) |
| 49 | have hdim := e.finrank_eq |
| 50 | exact (congrArg (fun k : ℕ => (k : ℚ)) hdim).symm.trans |
| 51 | (hb n ((le_max_left b c).trans hn)) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |