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.Resolution.Blowups.GlobalComponent.Center |
| 2 | import Mathlib.Topology.KrullDimension |
| 3 | |
| 4 | /-! # Cover Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Dimension bounds are local on actual open affine covers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | theorem Open.CoverDimension.Construction.topologicalKrullDim_le_of_open_cover |
| 15 | {X : Type*} [TopologicalSpace X] {ι : Type*} (Y : ι → Type*) [∀ i, TopologicalSpace (Y i)] |
| 16 | (j : ∀ i, Y i → X) (hj : ∀ i, Topology.IsOpenEmbedding (j i)) |
| 17 | (hc : ∀ x : X, ∃ i, ∃ y : Y i, j i y = x) (d : WithBot ℕ∞) |
| 18 | (hd : ∀ i, topologicalKrullDim (Y i) ≤ d) : topologicalKrullDim X ≤ d := by |
| 19 | rw [topologicalKrullDim, Order.krullDim_eq_iSup_coheight] |
| 20 | apply iSup_le |
| 21 | intro Z |
| 22 | obtain ⟨x, hx⟩ := Z.isIrreducible.nonempty |
| 23 | obtain ⟨i, y, hy⟩ := hc x |
| 24 | let e := IrreducibleCloseds.orderIsoOfIsOpenEmbedding (j i) (hj i) |
| 25 | let V : {W : IrreducibleCloseds X | ((j i) ⁻¹' (W : Set X)).Nonempty} := |
| 26 | ⟨Z, ⟨y, by change j i y ∈ Z; rw [hy]; exact hx⟩⟩ |
| 27 | have he : IrreducibleCloseds.map (j i) (hj i).continuous (e.symm V) = Z := |
| 28 | congrArg Subtype.val (e.apply_symm_apply V) |
| 29 | rw [← he, (hj i).coheight_map] |
| 30 | exact (Order.coheight_le_krullDim (e.symm V)).trans (hd i) |
| 31 | |
| 32 | theorem Open.CoverDimension.Construction.scheme_dimension_le_of_open_affine_cover |
| 33 | {X : Scheme} {ι : Type*} (R : ι → CommRingCat) (j : ∀ i, Spec (R i) ⟶ X) |
| 34 | [∀ i, IsOpenImmersion (j i)] (hc : ∀ x : X, ∃ i, ∃ p : PrimeSpectrum (R i), j i p = x) |
| 35 | (d : WithBot ℕ∞) (hd : ∀ i, ringKrullDim (R i) ≤ d) : topologicalKrullDim X ≤ d := by |
| 36 | apply Open.CoverDimension.Construction.topologicalKrullDim_le_of_open_cover (fun i => PrimeSpectrum (R i)) |
| 37 | (fun i => j i) (fun i => (j i).isOpenEmbedding) hc d |
| 38 | intro i |
| 39 | rw [PrimeSpectrum.topologicalKrullDim_eq_ringKrullDim] |
| 40 | exact hd i |
| 41 | |
| 42 | theorem Open.CoverDimension.Construction.ringKrullDim_le_of_affine_open_map |
| 43 | {X : Scheme} (R : CommRingCat) (j : Spec R ⟶ X) [IsOpenImmersion j] : |
| 44 | ringKrullDim R ≤ topologicalKrullDim X := by |
| 45 | rw [← PrimeSpectrum.topologicalKrullDim_eq_ringKrullDim] |
| 46 | exact j.isOpenEmbedding.isInducing.topologicalKrullDim_le |
| 47 | |
| 48 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.dimension_le |
| 49 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 50 | (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (d : WithBot ℕ∞) |
| 51 | (hd : ∀ i, ringKrullDim (A.rings i) ≤ d) : topologicalKrullDim X ≤ d := by |
| 52 | apply Open.CoverDimension.Construction.scheme_dimension_le_of_open_affine_cover A.rings A.map ?_ d hd |
| 53 | intro x |
| 54 | have hx : x ∈ ⨆ i, (A.map i).opensRange := by rw [A.cover]; trivial |
| 55 | exact TopologicalSpace.Opens.mem_iSup.mp hx |
| 56 | |
| 57 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.chart_dimension_le |
| 58 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 59 | (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (d : WithBot ℕ∞) (hd : topologicalKrullDim X ≤ d) (i : A.indices) : |
| 60 | ringKrullDim (A.rings i) ≤ d := (Open.CoverDimension.Construction.ringKrullDim_le_of_affine_open_map (A.rings i) (A.map i)).trans hd |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Resolution.Blowups |