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.Affine.OverCoordinateBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineGrassmannian |
| 3 | |
| 4 | /-! # Family Coordinate Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.FamilyCoordinateKernel.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! After any coefficient extension, the noetherian family's canonical |
| 11 | Grassmannian quotient has the actual pulled-back family's degree kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.OverCoordinateBaseChange.Grassmannian |
| 16 | |
| 17 | universe u |
| 18 | variable {A R : Type u} [CommRing A] [IsNoetherianRing A] [CommRing R] |
| 19 | variable {S : Scheme.{u}} {n N : ℕ} {ι : Type u} [Fintype ι] |
| 20 | |
| 21 | theorem noetherian_native_coordinate_baseChange_kernel |
| 22 | (f : Spec (.of A) ⟶ S) (g : Spec (.of R) ⟶ S) |
| 23 | (b : Over.mk g ⟶ Over.mk f) (φ : A →+* R) |
| 24 | (hb : Spec.map (CommRingCat.ofHom φ) = b.left) |
| 25 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk f)) (P : Polynomial ℚ) |
| 26 | (hP : ∀ p : PrimeSpectrum A, Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 27 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) |
| 28 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F))).toIdeal P) |
| 29 | (hN : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 30 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 31 | (Coordinate.GrassmannianBaseChange.Grassmannian.coordinateGrassmannianMap φ (Intrinsic.AffineGrassmannian.GradedHilbert.nativeAffineCoordinateGrassmannian f F P hP N hN ι hr)).toSubmodule = |
| 32 | DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations |
| 33 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n g (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F)) N := by |
| 34 | let I := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F |
| 35 | let : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat n f F |
| 36 | let : Algebra A R := φ.toAlgebra |
| 37 | change Normalized.KernelBaseChange.Grassmannian.coordinateSubmoduleExtension (algebraMap A R) (DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I N) = |
| 38 | DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations |
| 39 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n g (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F)) N |
| 40 | rw [DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations_baseChange, Affine.OverCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_over_baseChange f g b φ hb F] |
| 41 | apply congrArg (Submodule.map (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n N).equivFun.toLinearMap) |
| 42 | exact (Uniform.SaturationBaseChange.GradedHilbert.uniform_saturated_saturation_baseChange I (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n f F) |
| 43 | P hP R N ((le_max_left _ _).trans hN)).symm |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.FamilyCoordinateKernel.GradedHilbert |