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.ArbitraryLocalParameter |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.RingPointOpenLift |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExactCanonicalFiberPolynomial |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryInjectivity |
| 5 | |
| 6 | /-! # Arbitrary Local Classification -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryLocalClassification.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Full existence and uniqueness of exact Hilbert parameters over every |
| 13 | local test ring, with no Noetherian hypothesis on that ring. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 19 | variable {A : Type u} [CommRing A] [IsLocalRing A] |
| 20 | variable {n N : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 21 | |
| 22 | theorem exists_arbitrary_local_hilbert_parameter |
| 23 | (a : Spec (.of A) ⟶ S) |
| 24 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 25 | (P : Polynomial ℚ) (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 26 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 27 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 28 | ∃ x : Over.mk a ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 29 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 30 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F := by |
| 31 | let C := S.affineOpenCover |
| 32 | obtain ⟨i, b, hb⟩ := Local.RingPointOpenLift.localRingPoint_lift_openCover C.openCover a |
| 33 | change C.I₀ at i |
| 34 | change Spec (.of A) ⟶ Spec (C.X i) at b |
| 35 | change b ≫ C.f i = a at hb |
| 36 | let B : Type u := C.X i |
| 37 | let : IsNoetherianRing B := isLocallyNoetherian_Spec.mp |
| 38 | (isLocallyNoetherian_of_isOpenImmersion (C.f i)) |
| 39 | let φ : B →+* A := (Spec.preimage b).hom |
| 40 | let : Algebra B A := φ.toAlgebra |
| 41 | let c : Spec (.of B) ⟶ S := C.f i |
| 42 | apply ArbitraryLocalParameter.GradedHilbert.exists_local_hilbert_parameter_of_base_factorization c a _ F P hP hN hr |
| 43 | change Spec.map (Spec.preimage b) ≫ C.f i = a |
| 44 | rwa [Spec.map_preimage] |
| 45 | |
| 46 | theorem existsUnique_arbitrary_local_hilbert_parameter |
| 47 | (a : Spec (.of A) ⟶ S) |
| 48 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 49 | (P : Polynomial ℚ) (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 50 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 51 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 52 | ∃! x : Over.mk a ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 53 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 54 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F := by |
| 55 | obtain ⟨x, hx⟩ := exists_arbitrary_local_hilbert_parameter a F P hP hN hr |
| 56 | let p : PrimeSpectrum A := IsLocalRing.closedPoint A |
| 57 | let J := Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) |
| 58 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F)) |
| 59 | have hreal : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) P := |
| 60 | Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile_realizes J (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated _) P |
| 61 | (hP.affine_residue p) N ((le_max_right _ _).trans hN) |
| 62 | exact ⟨x, hx, fun y hy => ArbitraryInjectivity.GradedHilbert.boundedHilbertUniversalFamily_injective P hreal hN hr |
| 63 | (Over.mk a) (hy.trans hx.symm)⟩ |
| 64 | |
| 65 | theorem existsUnique_arbitrary_local_exact_hilbert_parameter |
| 66 | (a : Spec (.of A) ⟶ S) |
| 67 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 68 | (P : Polynomial ℚ) |
| 69 | (hP : Has.Core.HasFiberHilbertPolynomial (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) F P) |
| 70 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 71 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 72 | ∃! x : Over.mk a ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 73 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 74 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F := |
| 75 | existsUnique_arbitrary_local_hilbert_parameter a F P |
| 76 | (ExactCanonicalFiberPolynomial.GradedHilbert.canonicalFiberHilbertPolynomial_of_hasFiberHilbertPolynomial F P hP) hN hr |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryLocalClassification.GradedHilbert |