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.NumberTheory.PadicHodge.IntegralComparison.Coherent.TensorPowers |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.EulerSections |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.UniversalPowers |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialDifference |
| 5 | |
| 6 | /-! # Euler Hilbert -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerHilbert.ProjectiveK |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual coherent Euler index is the constant term of the Hilbert |
| 13 | polynomial. The proof uses tensor nilpotence and Serre vanishing, and |
| 14 | works over an arbitrary infinite field. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialDifference.Construction OAI.AlgebraicGeometry.SheafCohomology.Projective.UniversalPowers.Dimension |
| 19 | |
| 20 | universe u |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra OAI.AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 22 | |
| 23 | variable {K : Type u} [Field K] [Infinite K] {r : ℕ} {A : Scheme.{u}} [IsIntegral A] |
| 24 | (f : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 25 | [IsClosedImmersion f] (j : Fin (r + 1)) |
| 26 | |
| 27 | def projectiveLineBundle : OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A := |
| 28 | (OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := K) j).pullback f |
| 29 | |
| 30 | omit [Infinite K] [AlgebraicGeometry.IsIntegral A] in |
| 31 | theorem coherentEulerIndex_hyperplane_orbit (M : KTheory.Projective.CoherentModule A) (n : ℕ) : |
| 32 | EulerIndex.ProjectiveK.coherentEulerIndex f |
| 33 | ((KTheory.Projective.coherentTensorEnd (projectiveLineBundle f j).sheaf |
| 34 | (OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (projectiveLineBundle f j)) ^ n) |
| 35 | (KTheory.Projective.coherentK0Class M)) = |
| 36 | EulerIndex.ProjectiveK.coherentEuler f (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.closedProjectiveTwist f M.sheaf j n) := by |
| 37 | rw [TensorPowers.ProjectiveK.coherentTensorEnd_power] |
| 38 | change EulerIndex.ProjectiveK.coherentEulerIndex f |
| 39 | (KTheory.Projective.coherentTensorK0 ((projectiveLineBundle f j).tensorPower n).sheaf _ |
| 40 | (KTheory.Projective.coherentK0Class M)) = _ |
| 41 | rw [EulerIndex.ProjectiveK.coherentEulerIndex_tensor_class] |
| 42 | let e := OAI.AlgebraicGeometry.SheafCohomology.Projective.UniversalPowers.Dimension.pullbackProjectiveTwistUniversalIso f j (projectiveLineBundle f j) (Iso.refl _) n |
| 43 | exact EulerIndex.ProjectiveK.coherentEuler_eq_of_iso f (Iso.refl M.sheaf ⊗ᵢ e.symm) |
| 44 | |
| 45 | theorem coherentHilbertPolynomial_eval_eq_euler_orbit (M : KTheory.Projective.CoherentModule A) (n : ℕ) : |
| 46 | (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).eval (n : ℚ) = |
| 47 | (EulerIndex.ProjectiveK.coherentEulerIndex f |
| 48 | ((KTheory.Projective.coherentTensorEnd (projectiveLineBundle f j).sheaf |
| 49 | (OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (projectiveLineBundle f j)) ^ n) |
| 50 | (KTheory.Projective.coherentK0Class M)) : ℚ) := by |
| 51 | let T := KTheory.Projective.coherentTensorEnd (projectiveLineBundle f j).sheaf |
| 52 | (OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (projectiveLineBundle f j)) |
| 53 | let x := KTheory.Projective.coherentK0Class M |
| 54 | let d := (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).natDegree + 1 |
| 55 | have hx : x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j d := by |
| 56 | apply HilbertFiltration.ProjectiveK.coherentK0Class_mem_hilbertFiltration |
| 57 | exact Polynomial.degree_le_natDegree.trans_lt |
| 58 | (WithBot.coe_lt_coe.mpr (Nat.lt_succ_self _)) |
| 59 | have hT : ((T - 1) ^ d) x = 0 := |
| 60 | TensorNilpotence.ProjectiveK.coherentTensorDifference_pow_eq_zero_of_hilbertFiltration f j |
| 61 | (projectiveLineBundle f j).sheaf |
| 62 | (OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (projectiveLineBundle f j)) d x hx |
| 63 | let P := OAI.AlgebraicGeometry.SheafCohomology.Projective.EndomorphismOrbitPolynomial.endomorphismOrbitPolynomial T (EulerIndex.ProjectiveK.coherentEulerIndex f) x d |
| 64 | have hP (m : ℕ) : P.eval (m : ℚ) = |
| 65 | (EulerIndex.ProjectiveK.coherentEuler f (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.closedProjectiveTwist f M.sheaf j m) : ℚ) := by |
| 66 | rw [OAI.AlgebraicGeometry.SheafCohomology.Projective.EndomorphismOrbitPolynomial.endomorphismOrbitPolynomial_eval_of_apply_eq_zero T (EulerIndex.ProjectiveK.coherentEulerIndex f) x d hT] |
| 67 | exact congrArg (fun z : ℤ => (z : ℚ)) (coherentEulerIndex_hyperplane_orbit f j M m) |
| 68 | have he : P = HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M := by |
| 69 | obtain ⟨b, hb⟩ := Projective.EulerSections.K.projectiveEuler_eventually_sections |
| 70 | (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage f M.sheaf) j |
| 71 | obtain ⟨c, hc⟩ := OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.Numerics.Construction.projectiveHilbertPolynomial_spec |
| 72 | (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage f M.sheaf) j |
| 73 | apply OAI.AlgebraicGeometry.FormalGeometry.Completion.EventualPolynomial.Construction.polynomial_eq_of_eventual_nat_eval _ _ (max b c) |
| 74 | intro m hm |
| 75 | rw [hP] |
| 76 | let e := (OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistProjectionFormula.MvPolynomial.coordinateHyperplanePoleSheafPowerPushforwardTensorIso f j m).app M.sheaf |
| 77 | calc |
| 78 | (EulerIndex.ProjectiveK.coherentEuler f (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.closedProjectiveTwist f M.sheaf j m) : ℚ) = |
| 79 | (OAI.AlgebraicGeometry.SheafCohomology.Projective.Euler.MvPolynomial.projectiveSheafEuler |
| 80 | (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage f M.sheaf ⊗ |
| 81 | OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) j m) : ℚ) := |
| 82 | congrArg (fun z : ℤ => (z : ℚ)) (OAI.AlgebraicGeometry.SheafCohomology.Projective.Euler.MvPolynomial.projectiveSheafEuler_eq_of_iso e.symm) |
| 83 | _ = OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.Numerics.Construction.projectiveHilbertFunction (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage f M.sheaf) j m := |
| 84 | hb m ((le_max_left _ _).trans hm) |
| 85 | _ = (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).eval (m : ℚ) := |
| 86 | hc m ((le_max_right _ _).trans hm) |
| 87 | rw [← he] |
| 88 | exact OAI.AlgebraicGeometry.SheafCohomology.Projective.EndomorphismOrbitPolynomial.endomorphismOrbitPolynomial_eval_of_apply_eq_zero T (EulerIndex.ProjectiveK.coherentEulerIndex f) x d hT n |
| 89 | |
| 90 | theorem coherentEuler_eq_hilbert_at_zero (M : KTheory.Projective.CoherentModule A) : |
| 91 | (EulerIndex.ProjectiveK.coherentEuler f M.sheaf : ℚ) = (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).eval 0 := by |
| 92 | simpa only [Nat.cast_zero, pow_zero, AddMonoid.End.one_apply, |
| 93 | EulerIndex.ProjectiveK.coherentEulerIndex_class] using |
| 94 | (coherentHilbertPolynomial_eval_eq_euler_orbit f j M 0).symm |
| 95 | |
| 96 | theorem coherentProjectiveTwist_euler (M : KTheory.Projective.CoherentModule A) (n : ℕ) : |
| 97 | (EulerIndex.ProjectiveK.coherentEuler f (OAI.AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.closedProjectiveTwist f M.sheaf j n) : ℚ) = |
| 98 | (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).eval (n : ℚ) := by |
| 99 | rw [coherentHilbertPolynomial_eval_eq_euler_orbit, coherentEulerIndex_hyperplane_orbit] |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerHilbert.ProjectiveK |