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.EulerHilbert |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrbitLeadingCoefficient |
| 3 | |
| 4 | /-! # Hilbert Leading Difference -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.HilbertLeadingDifference.ProjectiveK |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The top tensor difference of the structure sheaf computes the |
| 11 | positive leading coefficient of its actual Hilbert polynomial. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.OrbitLeadingCoefficient.ProjectiveCohomologyProjective |
| 16 | |
| 17 | universe u |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | variable {K : Type u} [Field K] [Infinite K] {r : ℕ} {A : Scheme.{u}} [IsIntegral A] |
| 21 | (f : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 22 | [IsClosedImmersion f] (j : Fin (r + 1)) |
| 23 | |
| 24 | theorem coherentStructureHilbert_leadingCoeff_eq_difference |
| 25 | (ρ : A ⟶ Spec (CommRingCat.of K)) [LocallyOfFiniteType ρ] : |
| 26 | (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j (StructureDimension.ProjectiveK.coherentStructureModule A)).leadingCoeff = |
| 27 | (EulerIndex.ProjectiveK.coherentEulerIndex f |
| 28 | ((KTheory.Projective.coherentTensorDifference (EulerHilbert.ProjectiveK.projectiveLineBundle f j).sheaf |
| 29 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (EulerHilbert.ProjectiveK.projectiveLineBundle f j)) ^ |
| 30 | AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension ρ) |
| 31 | (KTheory.Projective.coherentK0Class (StructureDimension.ProjectiveK.coherentStructureModule A))) : ℚ) / |
| 32 | ((AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension ρ).factorial : ℚ) := by |
| 33 | let M := StructureDimension.ProjectiveK.coherentStructureModule A |
| 34 | let T := KTheory.Projective.coherentTensorEnd (EulerHilbert.ProjectiveK.projectiveLineBundle f j).sheaf |
| 35 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (EulerHilbert.ProjectiveK.projectiveLineBundle f j)) |
| 36 | let d := AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension ρ |
| 37 | let x := KTheory.Projective.coherentK0Class M |
| 38 | have hT : ((T - 1) ^ (d + 1)) x = 0 := |
| 39 | StructureDimension.ProjectiveK.coherentTensorDifference_structure_dimension f j ρ |
| 40 | (EulerHilbert.ProjectiveK.projectiveLineBundle f j).sheaf |
| 41 | (AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (EulerHilbert.ProjectiveK.projectiveLineBundle f j)) |
| 42 | let P := AlgebraicGeometry.SheafCohomology.Projective.EndomorphismOrbitPolynomial.endomorphismOrbitPolynomial T (EulerIndex.ProjectiveK.coherentEulerIndex f) x (d + 1) |
| 43 | have he : HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M = P := by |
| 44 | apply AlgebraicGeometry.FormalGeometry.Completion.EventualPolynomial.Construction.polynomial_eq_of_eventual_nat_eval _ _ 0 |
| 45 | intro n _ |
| 46 | rw [EulerHilbert.ProjectiveK.coherentHilbertPolynomial_eval_eq_euler_orbit] |
| 47 | exact (AlgebraicGeometry.SheafCohomology.Projective.EndomorphismOrbitPolynomial.endomorphismOrbitPolynomial_eval_of_apply_eq_zero T |
| 48 | (EulerIndex.ProjectiveK.coherentEulerIndex f) x (d + 1) hT n).symm |
| 49 | have hdeg : (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).natDegree = d := |
| 50 | (StructureDimension.ProjectiveK.coherentStructureHilbertPolynomial_dimension f j ρ).1 |
| 51 | calc |
| 52 | (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).leadingCoeff = |
| 53 | (HilbertFiltration.ProjectiveK.coherentHilbertPolynomial f j M).coeff d := by rw [← hdeg, Polynomial.coeff_natDegree] |
| 54 | _ = P.coeff d := congrArg (fun Q : Polynomial ℚ => Q.coeff d) he |
| 55 | _ = _ := OrbitLeadingCoefficient.ProjectiveCohomologyProjective.endomorphismOrbitPolynomial_coeff_top T (EulerIndex.ProjectiveK.coherentEulerIndex f) x d |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.HilbertLeadingDifference.ProjectiveK |