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 Mathlib.AlgebraicGeometry.Morphisms.FormallyUnramified |
| 2 | |
| 3 | /-! # Nilpotent Affine Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentAffineSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Global nilpotence of a closed-immersion ideal gives nilpotence |
| 10 | of every genuine affine section reduction kernel. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | variable {X Y : Scheme.{u}} (i : X ⟶ Y) [IsClosedImmersion i] (hi : IsNilpotent i.ker) |
| 17 | |
| 18 | include hi in |
| 19 | theorem app (U : Y.Opens) (hU : IsAffineOpen U) : IsNilpotent (RingHom.ker (i.app U).hom) := by |
| 20 | obtain ⟨N, hN⟩ := hi |
| 21 | refine ⟨N, ?_⟩ |
| 22 | simpa using congrArg (fun I : Y.IdealSheafData => I.ideal ⟨U, hU⟩) hN |
| 23 | |
| 24 | include hi in |
| 25 | theorem appTop [IsAffine Y] : IsNilpotent (RingHom.ker i.appTop.hom) := by |
| 26 | simpa [Scheme.Hom.appTop] using NilpotentAffineSections.app i hi ⊤ (isAffineOpen_top Y) |
| 27 | |
| 28 | /-- On an affine target, the native global section kernel detects |
| 29 | nilpotence of the actual closed-immersion ideal sheaf. -/ |
| 30 | theorem of_appTop [IsAffine Y] (h : IsNilpotent (RingHom.ker i.appTop.hom)) : |
| 31 | IsNilpotent i.ker := by |
| 32 | obtain ⟨N, hN⟩ := h |
| 33 | refine ⟨N, Scheme.IdealSheafData.ext_of_isAffine ?_⟩ |
| 34 | simpa [Scheme.Hom.appTop] using hN |
| 35 | |
| 36 | theorem spec {R S : CommRingCat.{u}} (ρ : R ⟶ S) |
| 37 | [IsClosedImmersion (Spec.map ρ)] (hρ : IsNilpotent (RingHom.ker ρ.hom)) : |
| 38 | IsNilpotent (Spec.map ρ).ker := by |
| 39 | apply of_appTop |
| 40 | have hk : RingHom.ker (Spec.map ρ).appTop.hom = |
| 41 | (RingHom.ker ρ.hom).comap (Scheme.ΓSpecIso R).hom.hom := by |
| 42 | rw [← RingHom.ker_equiv_comp _ (Scheme.ΓSpecIso S).commRingCatIsoToRingEquiv, |
| 43 | RingHom.comap_ker, RingEquiv.toRingHom_eq_coe, |
| 44 | Iso.commRingCatIsoToRingEquiv_toRingHom, ← CommRingCat.hom_comp, |
| 45 | ← CommRingCat.hom_comp, Scheme.ΓSpecIso_naturality] |
| 46 | obtain ⟨N, hN⟩ := hρ |
| 47 | refine ⟨N, le_antisymm ?_ bot_le⟩ |
| 48 | rw [hk] |
| 49 | refine (Ideal.le_comap_pow (Scheme.ΓSpecIso R).hom.hom N).trans ?_ |
| 50 | rw [hN] |
| 51 | intro r hr |
| 52 | apply (Scheme.ΓSpecIso R).commRingCatIsoToRingEquiv.injective |
| 53 | change (Scheme.ΓSpecIso R).hom r = (Scheme.ΓSpecIso R).hom 0 |
| 54 | simpa using hr |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentAffineSections |