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.Fixed.ProjectiveHilbertPolynomial |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.IntrinsicCoordinateIdeal |
| 3 | |
| 4 | /-! # Varying Projective Hilbert Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.VaryingProjectiveHilbertPolynomial |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Fixed native twist pullbacks give one Hilbert polynomial even when the |
| 11 | projective ambient is allowed to vary. This keeps the polynomial independent |
| 12 | of the Segre presentation later chosen by the Presentations existence theorem. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace PolarizationEmbedding |
| 19 | |
| 20 | universe u v |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | |
| 23 | theorem exists_fixed_varying_nativeHilbertPolynomial |
| 24 | {R : Type u} [CommRing R] [IsNoetherianRing R] {X : Scheme.{u}} |
| 25 | (hfield : IsField Γ(Spec (.of R), ⊤)) |
| 26 | {ι : Type v} [Nonempty ι] (n : ι → ℕ) |
| 27 | (f : ∀ a, X ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R (n a))) [∀ a, IsClosedImmersion (f a)] |
| 28 | (π : X ⟶ Spec (.of R)) (hπ : ∀ a, f a ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) = π) |
| 29 | (j : ∀ a, Fin (n a + 1)) (L : ℕ → X.Modules) |
| 30 | (hL : ∀ a m, Nonempty ((Scheme.Modules.pullback (f a)).obj |
| 31 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) (j a) m) ≅ L m)) : |
| 32 | ∃ P : Polynomial ℚ, ∀ a, HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a)).toIdeal P := by |
| 33 | classical |
| 34 | let := hfield.toField |
| 35 | let a₀ : ι := Classical.choice inferInstance |
| 36 | obtain ⟨P, c, hc⟩ := HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a₀)) |
| 37 | obtain ⟨b, hb⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections (f a₀) (j a₀) |
| 38 | have hd (a : ι) (m : ℕ) := |
| 39 | (Fixed.ProjectiveHilbertPolynomial.PolarizationEmbedding.nativeTwistSectionsFixedEquiv (f a) π (hπ a) (j a) m (L m) (Classical.choice (hL a m))).finrank_eq |
| 40 | refine ⟨P, fun a => ?_⟩ |
| 41 | obtain ⟨d, hd'⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections (f a) (j a) |
| 42 | refine ⟨max d (max b c), fun m hm => ?_⟩ |
| 43 | have hdm := (le_max_left d (max b c)).trans hm |
| 44 | have hbm := (le_max_left b c).trans ((le_max_right d (max b c)).trans hm) |
| 45 | have hcm := (le_max_right b c).trans ((le_max_right d (max b c)).trans hm) |
| 46 | have he : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a)).toIdeal m = |
| 47 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a₀)).toIdeal m := |
| 48 | (hd' m hdm).trans ((hd a m).trans ((hd a₀ m).symm.trans (hb m hbm).symm)) |
| 49 | rw [he] |
| 50 | exact hc m hcm |
| 51 | |
| 52 | theorem exists_fixed_varying_e34HilbertPolynomial |
| 53 | {k : Type u} [Field k] {X : Scheme.{u}} {ι : Type v} [Nonempty ι] (n : ι → ℕ) |
| 54 | (f : ∀ a, X ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k (n a))) [∀ a, IsClosedImmersion (f a)] |
| 55 | (π : X ⟶ Spec (.of k)) (hπ : ∀ a, f a ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k) = π) |
| 56 | (j : ∀ a, Fin (n a + 1)) (L : ℕ → X.Modules) |
| 57 | (hL : ∀ a m, Nonempty ((Scheme.Modules.pullback (f a)).obj |
| 58 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) (j a) m) ≅ L m)) : |
| 59 | ∃ P : Polynomial ℚ, ∀ a, HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf (f a).ker).toIdeal P := by |
| 60 | have hfield : IsField Γ(Spec (.of k), ⊤) := |
| 61 | (Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField (Field.toIsField k) |
| 62 | obtain ⟨P, hP⟩ := exists_fixed_varying_nativeHilbertPolynomial hfield n f π hπ j L hL |
| 63 | exact ⟨P, fun a => (Presentations.IntrinsicCoordinateIdeal.PolarizationEmbedding.native_hasHilbertPolynomial_iff_e34 (f a) P).mp (hP a)⟩ |
| 64 | |
| 65 | end PolarizationEmbedding |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.VaryingProjectiveHilbertPolynomial |