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.ProjectiveIdealCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.ContainmentCoefficientIdeal |
| 3 | |
| 4 | /-! # Affine Containment Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineContainmentIdeal.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A native flat projective family over an affine noetherian test |
| 11 | has an actual coefficient ideal for containment in any fixed ambient |
| 12 | ideal sheaf, with the exact criterion on every affine coefficient map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (n : ℕ) {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | variable (a : Spec (CommRingCat.of R) ⟶ S) |
| 19 | variable (F : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 20 | variable (K : (Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)).IdealSheafData) |
| 21 | |
| 22 | theorem exists_nativeAffineContainmentIdeal : |
| 23 | ∃ J : Ideal R, ∀ (A : Type u) [CommRing A] (φ : R →+* A), |
| 24 | J ≤ RingHom.ker φ ↔ |
| 25 | K.comap (Hilbert.Functor.ambientMap (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ)) ≤ |
| 26 | (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ) F).val := by |
| 27 | let I := Affine.ProjectiveIdealCoordinates.GradedHilbert.affineProjectiveIdealCoordinates n a F.val |
| 28 | let L := Affine.ProjectiveIdealCoordinates.GradedHilbert.affineProjectiveIdealCoordinates n a K |
| 29 | let : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat n a F |
| 30 | obtain ⟨J, hJ⟩ := Projective.ContainmentCoefficientIdeal.GradedHilbert.exists_projectiveContainmentCoefficientIdeal I L |
| 31 | refine ⟨J, ?_⟩ |
| 32 | intro A _ φ |
| 33 | let : Algebra R A := φ.toAlgebra |
| 34 | have hc : J ≤ RingHom.ker φ ↔ |
| 35 | Projective.Saturation.GradedHilbert.projectiveSaturation (L.map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ)) ≤ |
| 36 | Projective.Saturation.GradedHilbert.projectiveSaturation (I.map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ)) := hJ A |
| 37 | have ho := Affine.ProjectiveIdealCoordinates.GradedHilbert.affineProjectiveIdealCoordinates_le_iff n (Spec.map (CommRingCat.ofHom φ) ≫ a) |
| 38 | (K.comap (Hilbert.Functor.ambientMap (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ))) |
| 39 | (F.val.comap (Hilbert.Functor.ambientMap (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ))) |
| 40 | rw [Affine.ProjectiveIdealCoordinates.GradedHilbert.affineProjectiveIdealCoordinates_baseChange, Affine.ProjectiveIdealCoordinates.GradedHilbert.affineProjectiveIdealCoordinates_baseChange] at ho |
| 41 | exact hc.trans ho |
| 42 | |
| 43 | def nativeAffineContainmentIdeal : Ideal R := (exists_nativeAffineContainmentIdeal n a F K).choose |
| 44 | |
| 45 | theorem nativeAffineContainmentIdeal_spec (A : Type u) [CommRing A] (φ : R →+* A) : |
| 46 | nativeAffineContainmentIdeal n a F K ≤ RingHom.ker φ ↔ |
| 47 | K.comap (Hilbert.Functor.ambientMap (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ)) ≤ |
| 48 | (Hilbert.Functor.pullbackFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ) F).val := |
| 49 | (exists_nativeAffineContainmentIdeal n a F K).choose_spec A φ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineContainmentIdeal.GradedHilbert |