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.ValuationChartPoint |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.AffineCoordinates |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ValuationPolynomialFamily |
| 4 | |
| 5 | /-! # Valuation Parameter Family -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationParameterFamily.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual bounded Hilbert parameter scheme contains the valuation |
| 12 | closure, and its universal family restricts to the prescribed generic family. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 18 | variable [Field K] [Algebra R K] [IsFractionRing R K] |
| 19 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {n : ℕ} |
| 20 | |
| 21 | theorem exists_valuation_hilbert_parameter_family (f : Spec (.of R) ⟶ S) |
| 22 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 23 | (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 24 | (N : ℕ) (hN : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n P ≤ N) |
| 25 | (ι : Type u) [Fintype ι] [DecidableEq ι] |
| 26 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 27 | ∃ x : Over.mk f ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 28 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 29 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = |
| 30 | Intrinsic.ValuationPolynomialFamily.GradedHilbert.nativeValuationFamilyOfIdeal f I hI := by |
| 31 | obtain ⟨a, Q, hQ, _, _, hsat, y, hy, _⟩ := |
| 32 | ValuationChartPoint.GradedHilbert.exists_valuation_hilbert_chart_point f I hI P hP N hN ι hr |
| 33 | refine ⟨y ≫ BoundedHilbert.ChartPullback.GradedHilbert.boundedHilbertChartOverMap a S _, ?_⟩ |
| 34 | apply Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n f |
| 35 | rw [NormalizedHilbert.AffineCoordinates.GradedHilbert.boundedHilbertUniversalFamily_affine_chart_coordinates, hy, NormalizedHilbert.AffineCoordinates.GradedHilbert.affineChartMatrix_of_matrix, |
| 36 | hsat, Intrinsic.ValuationPolynomialFamily.GradedHilbert.nativeValuationFamilyOfIdeal_coordinates] |
| 37 | |
| 38 | theorem exists_valuation_hilbert_parameter_generic_family (f : Spec (.of R) ⟶ S) |
| 39 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 40 | (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap R K)) ≫ f))) |
| 41 | (P : Polynomial ℚ) |
| 42 | (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 43 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (Spec.map (CommRingCat.ofHom (algebraMap R K)) ≫ f) F).toIdeal P) |
| 44 | (N : ℕ) (hN : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n P ≤ N) |
| 45 | (ι : Type u) [Fintype ι] [DecidableEq ι] |
| 46 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 47 | ∃ x : Over.mk f ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 48 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f (algebraMap R K) ≫ x) |
| 49 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F := by |
| 50 | let I := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (Spec.map (CommRingCat.ofHom (algebraMap R K)) ≫ f) F |
| 51 | have hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n _ F |
| 52 | obtain ⟨x, hx⟩ := exists_valuation_hilbert_parameter_family f I hI P hP N hN ι hr |
| 53 | refine ⟨x, ?_⟩ |
| 54 | rw [Hilbert.Functor.pullbackFamily_comp, hx] |
| 55 | apply Intrinsic.HomogeneousFamilyConstruction.GradedHilbert.affineNativeHomogeneousIdeal_injective n (Spec.map (CommRingCat.ofHom (algebraMap R K)) ≫ f) |
| 56 | exact Intrinsic.ValuationPolynomialFamily.GradedHilbert.nativeValuationFamilyOfIdeal_generic_coordinates f I hI |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationParameterFamily.GradedHilbert |