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.Proper.AdicIdealContainment |
| 2 | |
| 3 | /-! # Formal Coefficient Ideal -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.FormalCoefficientIdeal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible coefficient ideals on the finite thickenings of a complete |
| 10 | Noetherian base determine a coefficient ideal for a proper source. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable (R : CommRingCat.{u}) [IsNoetherianRing R] |
| 16 | variable {X : Scheme.{u}} (f : X ⟶ Spec R) [IsProper f] |
| 17 | |
| 18 | theorem proper_formal_coefficient_ideal (I : Ideal R) [IsAdicComplete I R] |
| 19 | (K : X.IdealSheafData) |
| 20 | (h : ∀ n : ℕ, ∃ J : Ideal R, I ^ n ≤ J ∧ |
| 21 | ∀ L : Ideal R, I ^ n ≤ L → |
| 22 | (K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap f ↔ J ≤ L)) : |
| 23 | ∃ J : Ideal R, ∀ L : Ideal R, |
| 24 | K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap f ↔ J ≤ L := by |
| 25 | classical |
| 26 | choose J hpow htest using h |
| 27 | have hself (n : ℕ) : K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm (J n)).comap f := |
| 28 | (htest n (J n) (hpow n)).mpr le_rfl |
| 29 | have hmono {L M : Ideal R} (hLM : L ≤ M) : |
| 30 | ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm L).comap f ≤ |
| 31 | ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm M).comap f := |
| 32 | Scheme.IdealSheafData.comap_mono f ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm.monotone hLM) |
| 33 | have hstep (n : ℕ) : J (n + 1) ⊔ I ^ n = J n := by |
| 34 | apply le_antisymm |
| 35 | · apply sup_le _ (hpow n) |
| 36 | exact (htest (n + 1) (J n) |
| 37 | ((Ideal.pow_le_pow_right n.le_succ).trans (hpow n))).mp (hself n) |
| 38 | · apply (htest n _ le_sup_right).mp |
| 39 | exact (hself (n + 1)).trans (hmono le_sup_left) |
| 40 | have hzero : K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm (⨅ n, J n)).comap f := by |
| 41 | apply AdicIdealContainment.proper_adic_ideal_containment R f I (IsAdicComplete.le_jacobson_bot I) |
| 42 | intro n |
| 43 | rw [CompatibleAdicIdeals.compatibleAdicIdeals_intersection I J hpow hstep] |
| 44 | exact hself n |
| 45 | refine ⟨⨅ n, J n, fun L => ⟨?_, fun hL => hzero.trans (hmono hL)⟩⟩ |
| 46 | intro hL |
| 47 | apply (AdicIdealSeparation.compatibleAdicIdeals_le_iff I J hpow hstep L).mpr |
| 48 | intro n |
| 49 | exact (htest n _ le_sup_right).mp (hL.trans (hmono le_sup_left)) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.FormalCoefficientIdeal |