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.Noetherian.AffineCoordinateLift |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.FamilyLocalizationDetection |
| 3 | |
| 4 | /-! # Affine Parameter Family -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.AffineParameterFamily.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual universal family at the global noetherian affine Hilbert |
| 11 | coordinate lift is exactly the native family used to construct that lift. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 17 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {n N : ℕ} |
| 18 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 19 | |
| 20 | theorem noetherianAffine_hilbert_coordinate_lift_family (f : Spec (.of R) ⟶ S) |
| 21 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk f)) (P : Polynomial ℚ) |
| 22 | (hP : ∀ p : PrimeSpectrum R, Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 23 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) |
| 24 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F))).toIdeal P) |
| 25 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 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 | (hx : x ≫ BoundedHilbert.Data.GradedHilbert.boundedHilbertParameterOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) = |
| 29 | Intrinsic.AffineGrassmannian.GradedHilbert.nativeAffineHilbertGrassmannianPoint f F P hP N hN ι hr) : |
| 30 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 31 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = F := by |
| 32 | apply Intrinsic.FamilyLocalizationDetection.GradedHilbert.nativeFamily_eq_of_coefficient_localizations f |
| 33 | intro p hp |
| 34 | let : p.IsMaximal := hp |
| 35 | let A := Localization.AtPrime p |
| 36 | let φ := algebraMap R A |
| 37 | let g : Spec (.of A) ⟶ S := Spec.map (CommRingCat.ofHom φ) ≫ f |
| 38 | let b := Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f φ |
| 39 | let G := Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F |
| 40 | have hG := IntrinsicCoefficientBaseChange.GradedHilbert.noetherian_canonical_residue_polynomial_baseChange f F P hP φ |
| 41 | obtain ⟨y, hy⟩ := LocalParameter.GradedHilbert.exists_noetherian_local_hilbert_parameter g G P hG N hN ι hr |
| 42 | have hyc := Local.ParameterCoordinates.GradedHilbert.noetherianLocal_hilbert_parameter_coordinates g G P hG hN hr y hy |
| 43 | have hn := Intrinsic.AffineGrassmannianNaturality.GradedHilbert.nativeAffineHilbertGrassmannianPoint_natural f F P hP N hN ι hr φ |
| 44 | let j := BoundedHilbert.Data.GradedHilbert.boundedHilbertParameterOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) |
| 45 | have hc : (b ≫ x) ≫ j = y ≫ j := by |
| 46 | rw [Category.assoc, hx, hn, hyc] |
| 47 | have he : b ≫ x = y := (cancel_mono j).mp hc |
| 48 | change Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b |
| 49 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 50 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P))) = G |
| 51 | rw [← Hilbert.Functor.pullbackFamily_comp, he] |
| 52 | exact hy |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.AffineParameterFamily.GradedHilbert |