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.Hilbert.ParameterNeighborhood |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.ParameterOpenCoverGluing |
| 3 | |
| 4 | /-! # Arbitrary Affine Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryAffineClassification.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native Hilbert families over arbitrary affine test rings are classified |
| 11 | once their base map is expressed through a Noetherian affine base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 17 | variable {B A : Type u} [CommRing B] [IsNoetherianRing B] [CommRing A] [Algebra B A] |
| 18 | variable {n N : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 19 | |
| 20 | theorem existsUnique_affine_hilbert_parameter_of_base_factorization |
| 21 | (c : Spec (.of B) ⟶ S) (a : Spec (.of A) ⟶ S) |
| 22 | (ha : Spec.map (CommRingCat.ofHom (algebraMap B A)) ≫ c = a) |
| 23 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 24 | (P : Polynomial ℚ) (hP : CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) |
| 25 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 26 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 27 | ∃! x : Over.mk a ⟶ 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)) = F := by |
| 30 | classical |
| 31 | choose U b hO hcover x hx using |
| 32 | fun p : PrimeSpectrum A => Hilbert.ParameterNeighborhood.GradedHilbert.exists_hilbert_parameter_neighborhood_of_base_factorization c a ha F P hP hN hr p |
| 33 | let : ∀ p, IsOpenImmersion (b p).left := hO |
| 34 | apply Hilbert.ParameterOpenCoverGluing.GradedHilbert.hilbert_parameter_of_openCover F P hP hN hr U b _ (fun p => ⟨x p, hx p⟩) |
| 35 | intro t |
| 36 | let p : PrimeSpectrum A := t |
| 37 | obtain ⟨y, hy⟩ := hcover p |
| 38 | exact ⟨p, y, hy⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ArbitraryAffineClassification.GradedHilbert |