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.Stalk |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | import Mathlib.Topology.KrullDimension |
| 4 | |
| 5 | /-! # Scheme Chain Stalk Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SchemeChainStalkDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A chain of irreducible closed subsets through a point embeds into |
| 12 | the spectrum of its actual local ring. Its length is therefore bounded |
| 13 | by the Krull dimension of that stalk. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Topology _root_.Order |
| 15 | universe u |
| 16 | |
| 17 | theorem scheme_irreducibleChain_length_le_stalkDimension |
| 18 | (X : Scheme.{u}) (C : LTSeries (IrreducibleCloseds X)) (x : X) (hx : x ∈ C.head) : |
| 19 | (C.length : WithBot ℕ∞) ≤ ringKrullDim (X.presheaf.stalk x) := by |
| 20 | let f := X.fromSpecStalk x |
| 21 | let a (i : Fin (C.length + 1)) := (C i).isIrreducible.genericPoint |
| 22 | have ha (i : Fin (C.length + 1)) : IsGenericPoint (a i) (C i : Set X) := |
| 23 | (C i).isIrreducible.isGenericPoint_genericPoint (C i).isClosed |
| 24 | have hlift (i : Fin (C.length + 1)) : ∃ y : Spec (X.presheaf.stalk x), f y = a i := by |
| 25 | change a i ∈ Set.range (X.fromSpecStalk x) |
| 26 | rw [Scheme.range_fromSpecStalk] |
| 27 | exact (ha i).specializes (C.head_le i hx) |
| 28 | choose y hy using hlift |
| 29 | have hpre (i : Fin (C.length + 1)) : |
| 30 | closure ({y i} : Set (Spec (X.presheaf.stalk x))) = f ⁻¹' (C i : Set X) := by |
| 31 | rw [f.isEmbedding.isInducing.closure_eq_preimage_closure_image, |
| 32 | Set.image_singleton, hy i, (ha i).def] |
| 33 | let qpoint (i : Fin (C.length + 1)) : IrreducibleCloseds (Spec (X.presheaf.stalk x)) := |
| 34 | ⟨closure {y i}, isIrreducible_singleton.closure, isClosed_closure⟩ |
| 35 | have hstrict : StrictMono qpoint := by |
| 36 | intro i j hij |
| 37 | apply lt_of_le_not_ge |
| 38 | · change closure ({y i} : Set (Spec (X.presheaf.stalk x))) ⊆ closure {y j} |
| 39 | rw [hpre, hpre] |
| 40 | exact Set.preimage_mono (C.monotone hij.le) |
| 41 | · intro hji |
| 42 | have hz : y j ∈ closure ({y i} : Set (Spec (X.presheaf.stalk x))) := |
| 43 | hji (subset_closure (Set.mem_singleton _)) |
| 44 | rw [hpre] at hz |
| 45 | change f (y j) ∈ (C i : Set X) at hz |
| 46 | rw [hy j] at hz |
| 47 | exact (C.strictMono hij).not_ge ((ha j).mem_closed_set_iff (C i).isClosed |>.mp hz) |
| 48 | let q : LTSeries (IrreducibleCloseds (Spec (X.presheaf.stalk x))) := LTSeries.mk C.length qpoint hstrict |
| 49 | have h : (C.length : WithBot ℕ∞) ≤ topologicalKrullDim (Spec (X.presheaf.stalk x)) := q.length_le_krullDim |
| 50 | exact h.trans_eq (PrimeSpectrum.topologicalKrullDim_eq_ringKrullDim _) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SchemeChainStalkDimension |