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.ArbitraryLocalClassification |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PrimePointSpreading |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SpreadParameterFamilyRefinement |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.StructureProperties |
| 5 | |
| 6 | /-! # Parameter Neighborhood -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.ParameterNeighborhood.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every coefficient prime of an arbitrary affine Hilbert test has an |
| 13 | open neighborhood carrying its actual bounded Hilbert parameter. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 19 | variable {B A : Type u} [CommRing B] [IsNoetherianRing B] [CommRing A] [Algebra B A] |
| 20 | variable {n N : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 21 | |
| 22 | theorem exists_hilbert_parameter_neighborhood_of_base_factorization |
| 23 | (c : Spec (.of B) ⟶ S) (a : Spec (.of A) ⟶ S) |
| 24 | (ha : Spec.map (CommRingCat.ofHom (algebraMap B A)) ≫ c = a) |
| 25 | (F : Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 26 | (P : Polynomial ℚ) (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 27 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 28 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) (p : PrimeSpectrum A) : |
| 29 | ∃ (V : Over S) (b : V ⟶ Over.mk a), IsOpenImmersion b.left ∧ p ∈ Set.range b.left ∧ |
| 30 | ∃ x : V ⟶ BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 31 | Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) x |
| 32 | (BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P)) = |
| 33 | Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F := by |
| 34 | let Ap := Localization.AtPrime p.asIdeal |
| 35 | let ap : Spec (.of Ap) ⟶ S := Spec.map (CommRingCat.ofHom (algebraMap A Ap)) ≫ a |
| 36 | let bp := Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a (algebraMap A Ap) |
| 37 | let Fp := Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) bp F |
| 38 | obtain ⟨xp, hxp⟩ := ArbitraryLocalClassification.GradedHilbert.exists_arbitrary_local_hilbert_parameter ap Fp P (hP.pullback bp) hN hr |
| 39 | let H := BoundedHilbert.Data.GradedHilbert.boundedHilbertOver (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) |
| 40 | let U := BoundedHilbert.UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) |
| 41 | obtain ⟨s, hs, j, hj, hjbase⟩ := Relative.PrimePointSpreading.spread_relative_prime_point H c a ha p.asIdeal xp.left xp.w |
| 42 | let xs : Over.mk (Spec.map (CommRingCat.ofHom (algebraMap A (Localization.Away s))) ≫ a) ⟶ H := |
| 43 | Over.homMk j hjbase |
| 44 | exact SpreadParameterFamilyRefinement.GradedHilbert.refine_spread_family_parameter a F H U p xp hxp s hs xs hj |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.ParameterNeighborhood.GradedHilbert |