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.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |
| 2 | import Mathlib.RingTheory.KrullDimension.PID |
| 3 | |
| 4 | /-! # Parameter Dominance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterDominance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonzero parameter germ at a point of its scalar fiber forces |
| 11 | an integral support to dominate the parameter line. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry IsLocalRing |
| 17 | open scoped _root_.Polynomial |
| 18 | |
| 19 | variable {Z : Scheme} [IsIntegral Z] (t : Z ⟶ Spec (.of ℂ[X])) |
| 20 | |
| 21 | theorem germ_generic (x : Z) (a : ℂ) : |
| 22 | algebraMap (Z.presheaf.stalk x) Z.functionField (ParameterFiber.germ ℂ t x a) = |
| 23 | ParameterFiber.germ ℂ t (genericPoint Z) a := by |
| 24 | have hx := GermPullback.appLE t ⊤ ⊤ le_top x trivial |
| 25 | ((Scheme.ΓSpecIso (.of ℂ[X])).inv (Polynomial.X - Polynomial.C a)) |
| 26 | have hη := GermPullback.appLE t ⊤ ⊤ le_top (genericPoint Z) trivial |
| 27 | ((Scheme.ΓSpecIso (.of ℂ[X])).inv (Polynomial.X - Polynomial.C a)) |
| 28 | change ParameterFiber.germ ℂ t x a = _ at hx |
| 29 | change ParameterFiber.germ ℂ t (genericPoint Z) a = _ at hη |
| 30 | rw [hx, hη] |
| 31 | change (Z.presheaf.germ ⊤ x trivial ≫ Z.presheaf.stalkSpecializes |
| 32 | ((genericPoint_spec Z).specializes trivial)) _ = _ |
| 33 | rw [TopCat.Presheaf.germ_stalkSpecializes] |
| 34 | |
| 35 | theorem generic (x : Z) (a : ℂ) (hx : t x = ParameterFiber.point ℂ a) |
| 36 | (hreg : ParameterFiber.germ ℂ t x a ≠ 0) : |
| 37 | t (genericPoint Z) = genericPoint (Spec (.of ℂ[X])) := by |
| 38 | let q := t (genericPoint Z) |
| 39 | by_cases hq : q.asIdeal = ⊥ |
| 40 | · rw [genericPoint_eq_bot_of_affine] |
| 41 | exact PrimeSpectrum.ext hq |
| 42 | have hmax : q.asIdeal.IsMaximal := q.isPrime.isMaximal_of_ne_bot hq |
| 43 | have hle : q.asIdeal ≤ (t x).asIdeal := (PrimeSpectrum.le_iff_specializes _ _).mpr |
| 44 | (((genericPoint_spec Z).specializes trivial).map t.continuous) |
| 45 | have he : q = t x := PrimeSpectrum.ext (hmax.eq_of_le (t x).isPrime.ne_top hle) |
| 46 | have hz := (ParameterFiber.germ_mem_maximalIdeal ℂ t (genericPoint Z) a).mpr (he.trans hx) |
| 47 | have hg : ParameterFiber.germ ℂ t (genericPoint Z) a = 0 := by |
| 48 | rw [maximalIdeal_eq_bot] at hz |
| 49 | exact hz |
| 50 | apply False.elim |
| 51 | apply hreg |
| 52 | apply IsFractionRing.injective (Z.presheaf.stalk x) Z.functionField |
| 53 | rw [map_zero, germ_generic, hg] |
| 54 | |
| 55 | theorem projective_generic (x : Z) (a : ℂ) (hx : t x = ParameterFiber.point ℂ a) |
| 56 | (hreg : ParameterFiber.germ ℂ t x a ≠ 0) : |
| 57 | (t ≫ Projective.FamilyIs.MatrixParameterOpen.affine) (genericPoint Z) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) := by |
| 58 | change Projective.FamilyIs.MatrixParameterOpen.affine (t (genericPoint Z)) = _ |
| 59 | rw [generic t x a hx hreg] |
| 60 | exact genericPoint_eq_of_isOpenImmersion Projective.FamilyIs.MatrixParameterOpen.affine |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterDominance |