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.FormalGeometry.Completion.ClosedHilbertNumerics |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.LineBundleInjections |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialComparison |
| 4 | |
| 5 | /-! # Line Bundle Hilbert Leading -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.LineBundleHilbertLeading |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual line bundle on an integral closed projective scheme |
| 12 | has the same Hilbert-polynomial degree and leading coefficient as its structure sheaf. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits MonoidalCategory |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 23 | |
| 24 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} [IsIntegral X] |
| 25 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 26 | |
| 27 | theorem lineBundle_hilbert_degree_leadingCoeff (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 28 | letI : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 29 | letI : L.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 30 | letI : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 31 | letI : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 32 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f L.sheaf j).natDegree = |
| 33 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) j).natDegree ∧ |
| 34 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f L.sheaf j).leadingCoeff = |
| 35 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) j).leadingCoeff := by |
| 36 | let : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 37 | let : L.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 38 | let : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 39 | let : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 40 | obtain ⟨n, hn⟩ := Projective.LineBundleInjections.Construction.closedProjectiveLineBundle_eventually_injections f L j |
| 41 | obtain ⟨a, c, ha, hc⟩ := hn n le_rfl |
| 42 | have : Mono a := ha |
| 43 | have : Mono c := hc |
| 44 | let H := (Scheme.Modules.pullback f).obj |
| 45 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) j n) |
| 46 | let e : ClosedHilbertNumerics.Construction.closedProjectiveTwist f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) j n ≅ H := |
| 47 | ((Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.unitIso X).symm ⊗ᵢ Iso.refl H) ≪≫ λ_ H |
| 48 | let c' : L.sheaf ⟶ ClosedHilbertNumerics.Construction.closedProjectiveTwist f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) j n := c ≫ e.inv |
| 49 | obtain ⟨b₁, hb₁⟩ := ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_eventually_le_of_mono f |
| 50 | (N := ClosedHilbertNumerics.Construction.closedProjectiveTwist f L.sheaf j n) a j |
| 51 | obtain ⟨b₂, hb₂⟩ := ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_eventually_le_of_mono f c' j |
| 52 | apply PolynomialComparison.Construction.polynomial_degree_leadingCoeff_eq_of_mutual_shift_bounds _ _ |
| 53 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_leadingCoeff_pos f L.sheaf j (GeneratedLineBundleFrames.Construction.lineBundle_not_isZero L)) |
| 54 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_leadingCoeff_pos f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) j |
| 55 | (GeneratedLineBundleFrames.Construction.lineBundle_not_isZero (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X))) (max b₁ b₂) n |
| 56 | · intro m hm |
| 57 | simpa only [ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_twist, Polynomial.taylor_eval] using |
| 58 | hb₂ m ((le_max_right _ _).trans hm) |
| 59 | · intro m hm |
| 60 | simpa only [ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_twist, Polynomial.taylor_eval] using |
| 61 | hb₁ m ((le_max_left _ _).trans hm) |
| 62 | |
| 63 | end Construction |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.LineBundleHilbertLeading |