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.ClosedImmersion |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.PowTransition |
| 3 | import Mathlib.RingTheory.Spectrum.Prime.RingHom |
| 4 | |
| 5 | /-! # Quotient Power -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.QuotientPower.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # Completion: the actual closed homeomorphisms between successive infinitesimal bases -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 21 | |
| 22 | /-- The spectrum map from a smaller positive infinitesimal neighborhood to a larger one. -/ |
| 23 | def quotientPowerMap {m n : ℕ} (h : m ≤ n) : |
| 24 | Spec (CommRingCat.of (R ⧸ I ^ m)) ⟶ Spec (CommRingCat.of (R ⧸ I ^ n)) := |
| 25 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.factorPow I h)) |
| 26 | |
| 27 | instance quotientPowerMap_isClosedImmersion {m n : ℕ} (h : m ≤ n) : |
| 28 | IsClosedImmersion (quotientPowerMap I h) := |
| 29 | IsClosedImmersion.spec_of_surjective _ |
| 30 | (Ideal.Quotient.factor_surjective (Ideal.pow_le_pow_right h)) |
| 31 | |
| 32 | /-- Positive powers of an ideal have the same prime spectrum support. -/ |
| 33 | theorem quotientPowerMap_surjective {m n : ℕ} (hm : 0 < m) (h : m ≤ n) : |
| 34 | Surjective (quotientPowerMap I h) := by |
| 35 | constructor |
| 36 | change Function.Surjective (PrimeSpectrum.comap (Ideal.Quotient.factorPow I h)) |
| 37 | rw [← Set.range_eq_univ, range_comap_of_surjective _ _ |
| 38 | (Ideal.Quotient.factor_surjective (Ideal.pow_le_pow_right h))] |
| 39 | apply Set.eq_univ_iff_forall.mpr |
| 40 | intro q |
| 41 | change RingHom.ker (Ideal.Quotient.factorPow I h) ≤ q.asIdeal |
| 42 | rw [Ideal.Quotient.factor_ker, Ideal.map_le_iff_le_comap] |
| 43 | apply (Ideal.pow_le_self (Nat.ne_zero_of_lt hm)).trans |
| 44 | apply Ideal.IsPrime.le_of_pow_le (n := n) |
| 45 | intro r hr |
| 46 | change Ideal.Quotient.mk (I ^ n) r ∈ q.asIdeal |
| 47 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hr] |
| 48 | exact q.asIdeal.zero_mem |
| 49 | |
| 50 | /-- The underlying spaces of positive infinitesimal bases are canonically homeomorphic. -/ |
| 51 | def quotientPowerHomeomorph {m n : ℕ} (hm : 0 < m) (h : m ≤ n) : |
| 52 | Spec (CommRingCat.of (R ⧸ I ^ m)) ≃ₜ Spec (CommRingCat.of (R ⧸ I ^ n)) := |
| 53 | (quotientPowerMap I h).isClosedEmbedding.isEmbedding.toHomeomorphOfSurjective |
| 54 | (quotientPowerMap_surjective I hm h).surj |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.QuotientPower.Construction |