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.AmpleEmbeddingPower |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PolarizedHilbert |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GlobalSectionDimension |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |
| 5 | |
| 6 | /-! # Ample Hilbert -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AmpleHilbert.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Eventual Hilbert polynomials along positive powers of any ample line bundle. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem ample_sections_eventuallyPolynomial |
| 17 | {X S : Scheme.{0}} [IsAffine S] (f : X ⟶ S) [IsProper f] |
| 18 | (hfield : IsField Γ(S, ⊤)) (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) : |
| 19 | ∃ d : ℕ, 0 < d ∧ ∃ r : ℕ, |
| 20 | ∀ (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType], |
| 21 | AlgebraicGeometry.SheafCohomology.Projective.BoundedEventualPolynomial.EventuallyPolynomialOfDegree (fun n => |
| 22 | (Module.finrank Γ(S, ⊤) ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor f).obj |
| 23 | (SheafTensor.Construction.sheafTensor M (L.tensorPower (n * d)).sheaf)) : ℚ)) r := by |
| 24 | let R := Γ(S, ⊤) |
| 25 | let : Field R := hfield.toField |
| 26 | let : Field Γ(Spec (.of R), ⊤) := AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField R |
| 27 | have : IsIso S.toSpecΓ.appTop := by |
| 28 | rw [Scheme.toSpecΓ_appTop] |
| 29 | infer_instance |
| 30 | obtain ⟨d, hd, r, a, ha, hb, ⟨e⟩⟩ := AmpleEmbeddingPower.Construction.ample_exists_closed_embedding_power f L hL |
| 31 | have : IsClosedImmersion a := ha |
| 32 | refine ⟨d, hd, r, fun M _ _ => ?_⟩ |
| 33 | obtain ⟨P, hP, b, hp⟩ := PolarizedHilbert.Construction.coordinateBundle_sections_eventuallyPolynomial a M 0 |
| 34 | (L.tensorPower d) e (Field.toIsField _) |
| 35 | refine ⟨P, hP, b, fun n hn => ?_⟩ |
| 36 | let N := SheafTensor.Construction.sheafTensor M ((L.tensorPower d).tensorPower n).sheaf |
| 37 | have hbase : Module.finrank Γ(Spec (.of R), ⊤) |
| 38 | ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (a ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)).obj N) = |
| 39 | Module.finrank R ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor f).obj N) := |
| 40 | (GlobalSectionDimension.Construction.baseGlobalSections_finrank_congr hb N).trans (GlobalSectionDimension.Construction.baseGlobalSections_finrank_comp f S.toSpecΓ N) |
| 41 | let eN : N ≅ SheafTensor.Construction.sheafTensor M (L.tensorPower (n * d)).sheaf := |
| 42 | SheafTensor.Construction.sheafTensorCongr (Iso.refl M) (L.tensorPowerComposeIso n d).symm |
| 43 | have hdims := ((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor f).mapIso eN).toLinearEquiv.finrank_eq |
| 44 | have heq := hbase.trans hdims |
| 45 | exact (congrArg (fun k : ℕ => (k : ℚ)) heq).symm.trans (hp n hn) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AmpleHilbert.Construction |