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 Open Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentOpenRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Global nilpotence of the actual closed-immersion ideal is |
| 10 | preserved on every open restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {X Y : Scheme.{u}} (i : X ⟶ Y) [IsClosedImmersion i] |
| 15 | (hi : IsNilpotent i.ker) |
| 16 | |
| 17 | include hi in |
| 18 | theorem nilpotent (U : Y.Opens) : IsNilpotent (i ∣_ U).ker := by |
| 19 | obtain ⟨N, hN⟩ := hi |
| 20 | refine ⟨N, Scheme.IdealSheafData.ext ?_⟩ |
| 21 | funext V |
| 22 | change ((i ∣_ U).ker.ideal V) ^ N = ⊥ |
| 23 | rw [Scheme.ker_morphismRestrict_ideal] |
| 24 | exact congrArg (fun I : Y.IdealSheafData => |
| 25 | I.ideal ⟨U.ι ''ᵁ V, V.2.image_of_isOpenImmersion _⟩) hN |
| 26 | |
| 27 | include hi in |
| 28 | theorem nilpotent_of_isPullback {X' Y' : Scheme.{u}} |
| 29 | (i' : X' ⟶ Y') (a : X' ⟶ X) (b : Y' ⟶ Y) [IsOpenImmersion b] |
| 30 | (hp : IsPullback i' a b i) : IsNilpotent i'.ker := by |
| 31 | obtain ⟨N, hN⟩ := hi |
| 32 | refine ⟨N, Scheme.IdealSheafData.ext ?_⟩ |
| 33 | funext U |
| 34 | change (i'.ker.ideal U) ^ N = ⊥ |
| 35 | rw [Scheme.ker_ideal_of_isPullback_of_isOpenImmersion i i' a b hp] |
| 36 | apply le_antisymm _ bot_le |
| 37 | apply (Ideal.le_comap_pow (b.appIso U).inv.hom N).trans |
| 38 | have hpow : (i.ker.ideal ⟨b ''ᵁ U, U.2.image_of_isOpenImmersion _⟩) ^ N = ⊥ := |
| 39 | congrArg (fun I : Y.IdealSheafData => I.ideal ⟨b ''ᵁ U, U.2.image_of_isOpenImmersion _⟩) hN |
| 40 | rw [hpow] |
| 41 | intro x hx |
| 42 | exact (ConcreteCategory.bijective_of_isIso (b.appIso U).inv).injective |
| 43 | (hx.trans ((b.appIso U).inv.hom.map_zero).symm) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentOpenRestriction |