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.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.DegreeLocus |
| 2 | |
| 3 | /-! # Field Specialization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.FieldSpecialization.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The bounded Hilbert profile controls every field specialization through |
| 10 | a base stalk, including all extensions of its residue field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | universe u v |
| 15 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 16 | variable (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ(M.left, ⊤) n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 17 | |
| 18 | theorem bounded_hilbert_locus_field_specialization (q : ℕ → ℕ) (P : Polynomial ℚ) |
| 19 | (hP : DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N q P) {T : Over S} (x : T ⟶ M) |
| 20 | (hx : x ∈ (DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor M g N hg q).obj (.op T)) (t : T.left) |
| 21 | {K : Type v} [Field K] (φ : T.left.presheaf.stalk t →+* K) : |
| 22 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal |
| 23 | (Finite.SyzygyLifting.GradedHilbert.mapRelationVector φ (fun i => MvPolynomial.map |
| 24 | ((T.left.presheaf.Γgerm t).hom.comp x.left.appTop.hom) (g i))) N |
| 25 | (fun i => ((hg i).map _).map φ)).toIdeal P := by |
| 26 | let : Algebra (T.left.presheaf.stalk t) K := φ.toAlgebra |
| 27 | let gs := fun i => MvPolynomial.map ((T.left.presheaf.Γgerm t).hom.comp x.left.appTop.hom) (g i) |
| 28 | have hgs : ∀ i, (gs i).IsHomogeneous N := fun i => (hg i).map _ |
| 29 | have hflat (d : ℕ) : Module.Flat (T.left.presheaf.stalk t) |
| 30 | (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal gs N hgs).toIdeal (d + N)) := by |
| 31 | have hfree : Module.Free (T.left.presheaf.stalk t) |
| 32 | (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal gs N hgs).toIdeal (d + N)) := |
| 33 | Bounded.HomogeneousFlatLocus.GradedHilbert.bounded_degree_locus_all_stalk_quotients_free M g N hg q x |
| 34 | (DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat M g N hg q x hx) t d |
| 35 | let := hfree |
| 36 | infer_instance |
| 37 | have hr := (Local.RankTest.GradedHilbert.homogeneous_local_hilbertPolynomial_rank_test |
| 38 | (K := IsLocalRing.ResidueField (T.left.presheaf.stalk t)) gs N hgs hflat P).mp |
| 39 | (DegreeLocus.GradedHilbert.bounded_hilbert_locus_residue_polynomial M g N hg q P hP x hx t) |
| 40 | exact (Local.RankTest.GradedHilbert.homogeneous_local_hilbertPolynomial_rank_test (K := K) gs N hgs hflat P).mpr hr |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.FieldSpecialization.GradedHilbert |