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.AmpleUnitSectionDimension |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationHilbertPolynomials |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupProjectiveHilbertDegree |
| 4 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AmpleHilbertNonzero |
| 5 | |
| 6 | /-! # Embedded Multiplication Hilbert Polynomials -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.EmbeddedMultiplicationHilbertPolynomials.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The chosen ample embedding supplies nonzero Hilbert polynomials with the multiplication rescaling and geometric degree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | local instance embeddedMultiplicationHilbertPolynomialsMonoidal (X : Scheme.{0}) : |
| 18 | MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 19 | |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 23 | variable (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 24 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 25 | |
| 26 | theorem embedded_multiplication_Hilbert_polynomials |
| 27 | (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (hL : L.IsAmple) |
| 28 | (hs : Nonempty ((L.pullback ((𝟙 A : A ⟶ A)⁻¹).left).sheaf ≅ L.sheaf)) |
| 29 | (m : ℕ) (hm : 0 < m) [IsFinite (Multiplication.Construction.multiplicationMap A m).left] |
| 30 | (d r : ℕ) (hd : 0 < d) |
| 31 | (a : A.left ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) Γ(Spec (.of K), ⊤))) |
| 32 | [IsClosedImmersion a] |
| 33 | (hb : a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = A.hom ≫ (Spec (.of K)).toSpecΓ) |
| 34 | (e : (Scheme.Modules.pullback a).obj |
| 35 | (AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCoordinatesApp.Construction.ProjectiveCoordinates.bundle (R := Γ(Spec (.of K), ⊤)) (0 : Fin (r + 1))).sheaf ≅ |
| 36 | (L.tensorPower d).sheaf) : |
| 37 | ∃ (P Q : Polynomial ℚ) (b : ℕ), P ≠ 0 ∧ |
| 38 | (P.natDegree : WithBot ℕ∞) = topologicalKrullDim A.left ∧ |
| 39 | (∀ n, b ≤ n → |
| 40 | (Module.finrank Γ(Spec (.of Γ(Spec (.of K), ⊤)), ⊤) |
| 41 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 42 | ((Scheme.Modules.pullback a).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower 0 n))) : ℚ) = |
| 43 | P.eval (n : ℚ)) ∧ |
| 44 | (∀ n, b ≤ n → |
| 45 | (Module.finrank Γ(Spec (.of Γ(Spec (.of K), ⊤)), ⊤) |
| 46 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 47 | ((Scheme.Modules.pushforward (Multiplication.Construction.multiplicationMap A m).left).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj A.left) ⊗ |
| 48 | (Scheme.Modules.pullback a).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower 0 n))) : ℚ) = |
| 49 | Q.eval (n : ℚ)) ∧ |
| 50 | Q = P.comp (Polynomial.X * Polynomial.C ((m ^ 2 : ℕ) : ℚ)) := by |
| 51 | have : IsIntegral A.left := ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A |
| 52 | let R := Γ(Spec (.of K), ⊤) |
| 53 | let : Field R := AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 54 | let : Field Γ(Spec (.of R), ⊤) := AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField R |
| 55 | let O := AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj A.left |
| 56 | have : O.IsQuasicoherent := LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle _ (LineBundle.Construction.isLineBundle_structureSheaf A.left) |
| 57 | have : O.IsFiniteType := ProjectiveCohomologyFiniteness.Construction.isFiniteType_of_isLineBundle _ (LineBundle.Construction.isLineBundle_structureSheaf A.left) |
| 58 | let F := (Scheme.Modules.pushforward (Multiplication.Construction.multiplicationMap A m).left).obj O |
| 59 | have : F.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom _ |
| 60 | have : F.IsFiniteType := FinitePushforward.Construction.finitePushforward_isFiniteType _ O |
| 61 | obtain ⟨P, _, bP, hp⟩ := ClosedProjectiveHilbert.Construction.closedProjective_sections_eventuallyPolynomial a O 0 (Field.toIsField _) |
| 62 | obtain ⟨Q, _, bQ, hq⟩ := ClosedProjectiveHilbert.Construction.closedProjective_sections_eventuallyPolynomial a F 0 (Field.toIsField _) |
| 63 | let b := max bP bQ |
| 64 | have hP (n : ℕ) (hn : b ≤ n) : |
| 65 | (Module.finrank Γ(Spec (.of R), ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj |
| 66 | ((Scheme.Modules.pullback a).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower 0 n))) : ℚ) = |
| 67 | P.eval (n : ℚ) := by |
| 68 | have he := ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).mapIso |
| 69 | (ProjectivePolynomialQuotient.Construction.structureModuleTensorLeftIso ((Scheme.Modules.pullback a).obj |
| 70 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) 0 n)))).toLinearEquiv.finrank_eq |
| 71 | exact (congrArg (fun k : ℕ => (k : ℚ)) he).symm.trans (hp n ((le_max_left _ _).trans hn)) |
| 72 | have hQ (n : ℕ) (hn : b ≤ n) := hq n ((le_max_right bP bQ).trans hn) |
| 73 | have hPL (n : ℕ) (hn : b ≤ n) : |
| 74 | (Module.finrank R ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor A.hom).obj (L.tensorPower (n * d)).sheaf) : ℚ) = |
| 75 | P.eval (n : ℚ) := |
| 76 | (congrArg (fun k : ℕ => (k : ℚ)) (AmpleUnitSectionDimension.Construction.embeddedAmpleSection_finrank A.hom L d r a hb e n)).symm.trans |
| 77 | (hP n hn) |
| 78 | have hQL (n : ℕ) (hn : b ≤ n) : |
| 79 | (Module.finrank R ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor A.hom).obj |
| 80 | (SheafTensor.Construction.sheafTensor F (L.tensorPower (n * d)).sheaf)) : ℚ) = Q.eval (n : ℚ) := |
| 81 | (congrArg (fun k : ℕ => (k : ℚ)) (EmbeddedAmpleSectionDimension.Construction.embeddedAmpleTwistSection_finrank A.hom L d r a hb e F n)).symm.trans |
| 82 | (hQ n hn) |
| 83 | refine ⟨P, Q, b, AmpleHilbertNonzero.Construction.ampleHilbertPolynomial_ne_zero A.hom (Field.toIsField _) L hL d hd P b hPL, |
| 84 | GroupProjectiveHilbertDegree.Construction.group_projective_Hilbert_natDegree A (Field.toIsField _) a 0 P b hP, hP, hQ, ?_⟩ |
| 85 | apply EventualPolynomialIdentity.Construction.polynomial_comp_mul_of_eventually_eval P Q (m ^ 2) b |
| 86 | intro n hn |
| 87 | have hnm : n ≤ n * m ^ 2 := Nat.le_mul_of_pos_right n (pow_pos hm 2) |
| 88 | have he := congrArg (fun k : ℕ => (k : ℚ)) |
| 89 | (MultiplicationHilbertSections.Construction.multiplication_pushforward_sections_finrank A L hs m (n * d)) |
| 90 | have hexp : (n * d) * m ^ 2 = (n * m ^ 2) * d := by ac_rfl |
| 91 | rw [hexp] at he |
| 92 | exact (hQL n hn).symm.trans (he.trans (hPL (n * m ^ 2) (hn.trans hnm))) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.EmbeddedMultiplicationHilbertPolynomials.Construction |