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.Intrinsic.AffineContainmentIdeal |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ContainmentParameterFunctor |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Quotient.SpectrumFactorization |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ParameterIsoFactorization |
| 5 | |
| 6 | /-! # Affine Containment -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineContainment.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native affine containment ideal defines a closed parameter |
| 13 | scheme with exact factorization on canonical coefficient-map tests. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} (n : ℕ) (R : CommRingCat.{u}) [IsNoetherianRing R] |
| 19 | variable (a : Spec R ⟶ S) |
| 20 | variable (F : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 21 | variable (K : (Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)).IdealSheafData) |
| 22 | |
| 23 | def nativeAffineContainmentScheme : Over S := |
| 24 | Over.mk (Quotient.SpectrumFactorization.quotientSpecInclusion R (AffineContainmentIdeal.GradedHilbert.nativeAffineContainmentIdeal n a F K) ≫ a) |
| 25 | |
| 26 | def nativeAffineContainmentInclusion : nativeAffineContainmentScheme n R a F K ⟶ Over.mk a := |
| 27 | Over.homMk (Quotient.SpectrumFactorization.quotientSpecInclusion R (AffineContainmentIdeal.GradedHilbert.nativeAffineContainmentIdeal n a F K)) rfl |
| 28 | |
| 29 | instance nativeAffineContainmentInclusion_isClosedImmersion : |
| 30 | IsClosedImmersion (nativeAffineContainmentInclusion n R a F K).left := |
| 31 | Quotient.SpectrumFactorization.quotientSpecInclusion_isClosedImmersion R _ |
| 32 | |
| 33 | theorem nativeAffineContainmentInclusion_coefficient_test (A : Type u) [CommRing A] (φ : R →+* A) : |
| 34 | Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ ∈ (Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val).obj |
| 35 | (.op (Over.mk (Spec.map (CommRingCat.ofHom φ) ≫ a))) ↔ |
| 36 | ∃ y : Over.mk (Spec.map (CommRingCat.ofHom φ) ≫ a) ⟶ nativeAffineContainmentScheme n R a F K, |
| 37 | y ≫ nativeAffineContainmentInclusion n R a F K = Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ := |
| 38 | (AffineContainmentIdeal.GradedHilbert.nativeAffineContainmentIdeal_spec n a F K A φ).symm.trans |
| 39 | ((Quotient.SpectrumFactorization.quotientSpec_lift_iff R (AffineContainmentIdeal.GradedHilbert.nativeAffineContainmentIdeal n a F K) A φ).symm.trans |
| 40 | (ParameterIsoFactorization.over_exists_lift_iff_left (nativeAffineContainmentInclusion n R a F K) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ)).symm) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineContainment.GradedHilbert |