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.Projective.HilbertSections |
| 2 | |
| 3 | /-! # Projective Hilbert Polynomial -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.ProjectiveHilbertPolynomial |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Closed embeddings whose native twists pull back to the same source |
| 10 | bundles have one common Hilbert polynomial. The base morphism is retained |
| 11 | so that all comparisons are linear over the same coefficient ring. -/ |
| 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 | |
| 19 | universe u v |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | variable {R : Type u} [CommRing R] {n : ℕ} {X : Scheme.{u}} |
| 22 | |
| 23 | def nativeTwistSectionsFixedEquiv |
| 24 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R)) |
| 25 | (π : X ⟶ Spec (.of R)) (hπ : f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) = π) |
| 26 | (j : Fin (n + 1)) (m : ℕ) (L : X.Modules) |
| 27 | (e : (Scheme.Modules.pullback f).obj |
| 28 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m) ≅ L) : |
| 29 | (SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R))).obj |
| 30 | ((Scheme.Modules.pullback f).obj |
| 31 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m)) ≃ₗ[Γ(Spec (.of R), ⊤)] |
| 32 | (SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor π).obj L := |
| 33 | ((SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R))).mapIso e).toLinearEquiv |>.trans |
| 34 | (((eqToIso (congrArg (fun q => SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor q) hπ)).app L).toLinearEquiv) |
| 35 | |
| 36 | theorem exists_fixed_nativeHilbertPolynomial [IsNoetherianRing R] |
| 37 | (hfield : IsField Γ(Spec (.of R), ⊤)) |
| 38 | {ι : Type v} [Nonempty ι] |
| 39 | (f : ι → (X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R))) |
| 40 | [∀ a, IsClosedImmersion (f a)] |
| 41 | (π : X ⟶ Spec (.of R)) (hπ : ∀ a, f a ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) = π) |
| 42 | (j : Fin (n + 1)) (L : ℕ → X.Modules) |
| 43 | (hL : ∀ a m, Nonempty ((Scheme.Modules.pullback (f a)).obj |
| 44 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m) ≅ L m)) : |
| 45 | ∃ P : Polynomial ℚ, ∀ a, HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a)).toIdeal P := by |
| 46 | classical |
| 47 | let := hfield.toField |
| 48 | let a₀ : ι := Classical.choice inferInstance |
| 49 | obtain ⟨P, c, hc⟩ := HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a₀)) |
| 50 | obtain ⟨b, hb⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections (f a₀) j |
| 51 | have hd (a : ι) (m : ℕ) := |
| 52 | (nativeTwistSectionsFixedEquiv (f a) π (hπ a) j m (L m) (Classical.choice (hL a m))).finrank_eq |
| 53 | refine ⟨P, fun a => ?_⟩ |
| 54 | obtain ⟨d, hd'⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections (f a) j |
| 55 | refine ⟨max d (max b c), fun m hm => ?_⟩ |
| 56 | have hdm := (le_max_left d (max b c)).trans hm |
| 57 | have hbm := (le_max_left b c).trans ((le_max_right d (max b c)).trans hm) |
| 58 | have hcm := (le_max_right b c).trans ((le_max_right d (max b c)).trans hm) |
| 59 | have he : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a)).toIdeal m = |
| 60 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal (f a₀)).toIdeal m := |
| 61 | (hd' m hdm).trans ((hd a m).trans ((hd a₀ m).symm.trans (hb m hbm).symm)) |
| 62 | rw [he] |
| 63 | exact hc m hcm |
| 64 | |
| 65 | end PolarizationEmbedding |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.ProjectiveHilbertPolynomial |