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.SpectrumIdealCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Ideal.ClosedStalkContainment |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.ClosedStalkJacobson |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.AdicIdealSeparation |
| 5 | |
| 6 | /-! # Adic Ideal Containment -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.AdicIdealContainment |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ideal containment on a proper source is separated with respect to |
| 13 | an ideal in the Jacobson radical of a Noetherian affine base. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable (R : CommRingCat.{u}) [IsNoetherianRing R] |
| 19 | variable {X : Scheme.{u}} (f : X ⟶ Spec R) [IsProper f] |
| 20 | |
| 21 | theorem proper_adic_ideal_containment (I : Ideal R) |
| 22 | (hI : I ≤ Ideal.jacobson (⊥ : Ideal R)) (J : Ideal R) (K : X.IdealSheafData) |
| 23 | (h : ∀ n : ℕ, K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm (J ⊔ I ^ n)).comap f) : |
| 24 | K ≤ ((SpectrumIdealCoordinates.spectrumIdealCoordinates R).symm J).comap f := by |
| 25 | let : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 26 | let : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 27 | apply Presentations.Ideal.ClosedStalkContainment.ideal_le_of_closed_localSpectra |
| 28 | intro x hx |
| 29 | let A := X.presheaf.stalk x |
| 30 | let φ : R ⟶ A := Spec.preimage (X.fromSpecStalk x ≫ f) |
| 31 | have hφ : Spec.map φ = X.fromSpecStalk x ≫ f := Spec.map_preimage _ |
| 32 | let IA := I.map φ.hom |
| 33 | have hIA : IA ≤ Ideal.jacobson (⊥ : Ideal A) := |
| 34 | (ClosedStalkJacobson.proper_closed_stalk_jacobson R f x hx I hI).trans |
| 35 | (IsLocalRing.maximalIdeal_le_jacobson ⊥) |
| 36 | apply (SpectrumIdealCoordinates.spectrumIdealCoordinates A).le_iff_le.mp |
| 37 | rw [← Scheme.IdealSheafData.comap_comp, ← hφ, SpectrumIdealCoordinates.spectrumIdealCoordinates_comap, |
| 38 | OrderIso.apply_symm_apply] |
| 39 | apply (AdicIdealSeparation.adic_ideal_le_iff IA hIA _ (J.map φ.hom)).mpr |
| 40 | intro n |
| 41 | have hn := Scheme.IdealSheafData.comap_mono (X.fromSpecStalk x) (h n) |
| 42 | dsimp only at hn |
| 43 | have hc := (SpectrumIdealCoordinates.spectrumIdealCoordinates A).monotone hn |
| 44 | rw [← Scheme.IdealSheafData.comap_comp, ← hφ, SpectrumIdealCoordinates.spectrumIdealCoordinates_comap, |
| 45 | OrderIso.apply_symm_apply, Ideal.map_sup, Ideal.map_pow] at hc |
| 46 | exact hc |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.AdicIdealContainment |