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.Topology.KrullDimension |
| 2 | |
| 3 | /-! # Subset Dimension Drop -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.SubsetDimensionDrop |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A strict chain in a proper closed subset of an irreducible space can |
| 10 | be extended by the ambient space. Hence a finite dimension bound drops |
| 11 | by at least one on that closed subset. -/ |
| 12 | open _root_.TopologicalSpace _root_.Topology _root_.Order |
| 13 | universe u v |
| 14 | |
| 15 | theorem krullDim_lt_of_every_image_extends |
| 16 | {α : Type u} {β : Type v} [PartialOrder α] [PartialOrder β] |
| 17 | (f : α → β) (hf : StrictMono f) (n : ℕ) (hβ : Order.krullDim β ≤ n) |
| 18 | (he : ∀ a, ∃ b, f a < b) : Order.krullDim α < n := by |
| 19 | apply Order.krullDim_lt_coe_iff.mpr |
| 20 | intro p |
| 21 | obtain ⟨b, hb⟩ := he p.last |
| 22 | let q : LTSeries β := (p.map f hf).snoc b hb |
| 23 | have hq := (LTSeries.length_le_krullDim q).trans hβ |
| 24 | change ((p.length + 1 : ℕ) : WithBot ℕ∞) ≤ (n : WithBot ℕ∞) at hq |
| 25 | have hn : p.length + 1 ≤ n := by exact_mod_cast hq |
| 26 | exact Nat.lt_of_succ_le hn |
| 27 | |
| 28 | theorem properClosed_topologicalKrullDim_lt |
| 29 | {X : Type u} [TopologicalSpace X] [IrreducibleSpace X] |
| 30 | (C : Set X) (hC : IsClosed C) (hproper : C ≠ Set.univ) |
| 31 | (n : ℕ) (hdim : topologicalKrullDim X ≤ n) : topologicalKrullDim C < n := by |
| 32 | let f := IrreducibleCloseds.map (Subtype.val : C → X) continuous_subtype_val |
| 33 | let Z : IrreducibleCloseds X := |
| 34 | ⟨Set.univ, IrreducibleSpace.isIrreducible_univ X, isClosed_univ⟩ |
| 35 | apply krullDim_lt_of_every_image_extends f |
| 36 | (IrreducibleCloseds.map_strictMono_of_isInducing IsInducing.subtypeVal) n hdim |
| 37 | intro Y |
| 38 | refine ⟨Z, lt_of_le_not_ge (show f Y ≤ Z from Set.subset_univ _) ?_⟩ |
| 39 | intro hge |
| 40 | have hsub : (f Y : Set X) ⊆ C := |
| 41 | closure_minimal (by rintro _ ⟨y, _, rfl⟩; exact y.property) hC |
| 42 | apply hproper |
| 43 | apply Set.eq_univ_iff_forall.mpr |
| 44 | intro x |
| 45 | apply hsub |
| 46 | exact hge (Set.mem_univ x) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.SubsetDimensionDrop |