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.AmpleHilbert |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationHilbertSections |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FinitePushforward |
| 4 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.EventualPolynomialIdentity |
| 5 | |
| 6 | /-! # Multiplication Hilbert Polynomials -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationHilbertPolynomials.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual Hilbert polynomials for a symmetric ample bundle and its multiplication pushforward. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 18 | variable (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 19 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 20 | |
| 21 | theorem exists_multiplication_Hilbert_polynomials (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (hL : L.IsAmple) |
| 22 | (hs : Nonempty ((L.pullback ((𝟙 A : A ⟶ A)⁻¹).left).sheaf ≅ L.sheaf)) |
| 23 | (m : ℕ) (hm : 0 < m) [IsFinite (Multiplication.Construction.multiplicationMap A m).left] : |
| 24 | ∃ (d : ℕ), 0 < d ∧ ∃ (P Q : Polynomial ℚ) (b : ℕ), |
| 25 | (∀ n : ℕ, b ≤ n → |
| 26 | (Module.finrank Γ(Spec (.of K), ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor A.hom).obj |
| 27 | (L.tensorPower (n * d)).sheaf) : ℚ) = P.eval (n : ℚ)) ∧ |
| 28 | (∀ n : ℕ, b ≤ n → |
| 29 | (Module.finrank Γ(Spec (.of K), ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor A.hom).obj |
| 30 | (SheafTensor.Construction.sheafTensor ((Scheme.Modules.pushforward (Multiplication.Construction.multiplicationMap A m).left).obj |
| 31 | (LineBundle.Construction.structureSheafModule A.left)) (L.tensorPower (n * d)).sheaf)) : ℚ) = Q.eval (n : ℚ)) ∧ |
| 32 | Q = P.comp (Polynomial.X * Polynomial.C ((m ^ 2 : ℕ) : ℚ)) := by |
| 33 | let : Field Γ(Spec (.of K), ⊤) := AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 34 | let O := LineBundle.Construction.structureSheafModule A.left |
| 35 | have : O.IsQuasicoherent := AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A.left) |
| 36 | have : O.IsFinitePresentation := |
| 37 | AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A.left) |
| 38 | have : O.IsFiniteType := by |
| 39 | obtain ⟨q, hq⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData O |
| 40 | refine { exists_localGeneratorsData := ⟨q.localGeneratorsData, ?_⟩ } |
| 41 | constructor |
| 42 | intro i |
| 43 | exact (hq.isFinite_presentation i).isFiniteType_generators |
| 44 | let F := (Scheme.Modules.pushforward (Multiplication.Construction.multiplicationMap A m).left).obj O |
| 45 | have : F.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom _ |
| 46 | have : F.IsFiniteType := FinitePushforward.Construction.finitePushforward_isFiniteType _ O |
| 47 | obtain ⟨d, hd, r, hp⟩ := AmpleHilbert.Construction.ample_sections_eventuallyPolynomial A.hom (Field.toIsField _) L hL |
| 48 | obtain ⟨P, _, bP, hP⟩ := hp O |
| 49 | obtain ⟨Q, _, bQ, hQ⟩ := hp F |
| 50 | have hP' (n : ℕ) (hn : bP ≤ n) : |
| 51 | (Module.finrank Γ(Spec (.of K), ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor A.hom).obj |
| 52 | (L.tensorPower (n * d)).sheaf) : ℚ) = P.eval (n : ℚ) := by |
| 53 | have he := ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor A.hom).mapIso |
| 54 | (SheafTensor.Construction.sheafTensorUnitLeft (L.tensorPower (n * d)).sheaf)).toLinearEquiv.finrank_eq |
| 55 | exact (congrArg (fun k : ℕ => (k : ℚ)) he).symm.trans (hP n hn) |
| 56 | refine ⟨d, hd, P, Q, max bP bQ, |
| 57 | fun n hn => hP' n ((le_max_left _ _).trans hn), |
| 58 | fun n hn => hQ n ((le_max_right _ _).trans hn), ?_⟩ |
| 59 | apply EventualPolynomialIdentity.Construction.polynomial_comp_mul_of_eventually_eval P Q (m ^ 2) (max bP bQ) |
| 60 | intro n hn |
| 61 | have hnm : n ≤ n * m ^ 2 := Nat.le_mul_of_pos_right n (pow_pos hm 2) |
| 62 | have he := congrArg (fun k : ℕ => (k : ℚ)) |
| 63 | (MultiplicationHilbertSections.Construction.multiplication_pushforward_sections_finrank A L hs m (n * d)) |
| 64 | have hpow : (n * d) * m ^ 2 = (n * m ^ 2) * d := by ac_rfl |
| 65 | rw [hpow] at he |
| 66 | exact (hQ n ((le_max_right _ _).trans hn)).symm.trans |
| 67 | (he.trans (hP' (n * m ^ 2) (((le_max_left _ _).trans hn).trans hnm))) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.MultiplicationHilbertPolynomials.Construction |