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.PELModuli.IntegralModel.SourcePowerHilbertPolynomial |
| 2 | |
| 3 | /-! # Scaled Twist Hilbert Polynomial -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ScaledTwistHilbertPolynomial |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A fixed scaling of the actual hyperplane twists scales the Hilbert |
| 10 | polynomial variable by the same amount. The proof compares native section |
| 11 | dimensions for the two closed embeddings of the same scheme. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace PolarizationEmbedding |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | theorem e34HilbertPolynomial_of_scaled_twists |
| 21 | {k : Type} [Field k] {X : Scheme.{0}} {n m : ℕ} |
| 22 | (f : X ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k n)) (g : X ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k m)) |
| 23 | [IsClosedImmersion f] [IsClosedImmersion g] |
| 24 | (hbase : g ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k) = |
| 25 | f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k)) |
| 26 | (c : ℕ) (hc : 0 < c) |
| 27 | (hL : ∀ d : ℕ, Nonempty |
| 28 | ((Scheme.Modules.pullback g).obj (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) 0 d) ≅ |
| 29 | (Scheme.Modules.pullback f).obj |
| 30 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) 0 (c * d)))) |
| 31 | (P : Polynomial ℚ) (hP : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf f.ker).toIdeal P) : |
| 32 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf g.ker).toIdeal |
| 33 | (P.comp (Polynomial.C (c : ℚ) * Polynomial.X)) := by |
| 34 | obtain ⟨b, hb⟩ := (Presentations.IntrinsicCoordinateIdeal.PolarizationEmbedding.native_hasHilbertPolynomial_iff_e34 f P).mpr hP |
| 35 | obtain ⟨a, ha⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections f 0 |
| 36 | obtain ⟨e, he⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections g 0 |
| 37 | apply (Presentations.IntrinsicCoordinateIdeal.PolarizationEmbedding.native_hasHilbertPolynomial_iff_e34 g _).mp |
| 38 | refine ⟨max e (max a b), fun d hd => ?_⟩ |
| 39 | have hed : e ≤ d := (le_max_left _ _).trans hd |
| 40 | have had : a ≤ c * d := (le_max_left a b).trans |
| 41 | (((le_max_right e (max a b)).trans hd).trans (Nat.le_mul_of_pos_left d hc)) |
| 42 | have hbd : b ≤ c * d := (le_max_right a b).trans |
| 43 | (((le_max_right e (max a b)).trans hd).trans (Nat.le_mul_of_pos_left d hc)) |
| 44 | have hdim := (Fixed.ProjectiveHilbertPolynomial.PolarizationEmbedding.nativeTwistSectionsFixedEquiv g |
| 45 | (f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k)) hbase 0 d _ (Classical.choice (hL d))).finrank_eq |
| 46 | have hfun : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal g).toIdeal d = |
| 47 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal f).toIdeal (c * d) := |
| 48 | (he d hed).trans (hdim.trans (ha (c * d) had).symm) |
| 49 | rw [hfun, hb (c * d) hbd] |
| 50 | simp only [Polynomial.eval_comp, Polynomial.eval_mul, Polynomial.eval_C, Polynomial.eval_X, Nat.cast_mul] |
| 51 | |
| 52 | end PolarizationEmbedding |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ScaledTwistHilbertPolynomial |