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.IntrinsicCoordinateIdeal |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence |
| 3 | |
| 4 | /-! # Hilbert Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.HilbertSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For a closed projective subscheme, the actual homogeneous coordinate |
| 11 | quotients agree with native twist sections in sufficiently large degree. |
| 12 | The Hilbert polynomial therefore measures those actual sections. -/ |
| 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 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert |
| 21 | universe u |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable {R : Type u} [CommRing R] {n : ℕ} {X : Scheme.{u}} |
| 24 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R)) [QuasiCompact f] |
| 25 | |
| 26 | theorem nativePolynomialRestriction_ker (j : Fin (n + 1)) (m : ℕ) : |
| 27 | (PolynomialRestriction.PolarizationEmbedding.nativePolynomialRestriction f j m).ker = |
| 28 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal f).toIdeal m := by |
| 29 | ext p |
| 30 | exact IntrinsicCoordinateIdeal.PolarizationEmbedding.nativePolynomialRestriction_zero_iff_mem_coordinateIdeal f j m p |
| 31 | |
| 32 | def nativeCoordinateQuotientSectionsEquiv (j : Fin (n + 1)) (m : ℕ) |
| 33 | (h : Function.Surjective (PolynomialRestriction.PolarizationEmbedding.nativePolynomialRestriction f j m)) : |
| 34 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal f).toIdeal m ≃ₗ[Γ(Spec (.of R), ⊤)] |
| 35 | (SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R))).obj |
| 36 | ((Scheme.Modules.pullback f).obj |
| 37 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m)) := |
| 38 | (Submodule.quotEquivOfEq _ _ (nativePolynomialRestriction_ker f j m).symm).trans |
| 39 | ((PolynomialRestriction.PolarizationEmbedding.nativePolynomialRestriction f j m).quotKerEquivOfSurjective h) |
| 40 | |
| 41 | theorem eventually_nativeHilbertFunction_eq_sections [IsNoetherianRing R] [IsClosedImmersion f] |
| 42 | (j : Fin (n + 1)) : |
| 43 | ∃ b : ℕ, ∀ m : ℕ, b ≤ m → |
| 44 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal f).toIdeal m = |
| 45 | Module.finrank Γ(Spec (.of R), ⊤) |
| 46 | ((SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R))).obj |
| 47 | ((Scheme.Modules.pullback f).obj |
| 48 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m))) := by |
| 49 | obtain ⟨b, hb⟩ := PolynomialRestriction.PolarizationEmbedding.eventually_nativePolynomialRestriction_surjective f j |
| 50 | exact ⟨b, fun m hm => (nativeCoordinateQuotientSectionsEquiv f j m (hb m hm)).finrank_eq⟩ |
| 51 | |
| 52 | theorem nativeTwistSections_eventuallyPolynomial [IsNoetherianRing R] [IsClosedImmersion f] |
| 53 | (j : Fin (n + 1)) (hfield : IsField Γ(Spec (.of R), ⊤)) : |
| 54 | ∃ P : Polynomial ℚ, |
| 55 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal f).toIdeal P ∧ |
| 56 | ∃ b : ℕ, ∀ m : ℕ, b ≤ m → |
| 57 | (Module.finrank Γ(Spec (.of R), ⊤) |
| 58 | ((SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R))).obj |
| 59 | ((Scheme.Modules.pullback f).obj |
| 60 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j m))) : ℚ) = |
| 61 | P.eval (m : ℚ) := by |
| 62 | let := hfield.toField |
| 63 | obtain ⟨P, hP⟩ := HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.exists_hilbertPolynomial (IntrinsicCoordinateIdeal.PolarizationEmbedding.nativeProjectiveCoordinateIdeal f) |
| 64 | obtain ⟨b, hb⟩ := eventually_nativeHilbertFunction_eq_sections f j |
| 65 | obtain ⟨c, hc⟩ := hP |
| 66 | refine ⟨P, ⟨c, hc⟩, max b c, fun m hm => ?_⟩ |
| 67 | rw [← hb m ((le_max_left b c).trans hm)] |
| 68 | exact hc m ((le_max_right b c).trans hm) |
| 69 | |
| 70 | end PolarizationEmbedding |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.HilbertSections |