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.AbelianModuli.HilbertConstruction.Closed.SubsetDimensionDrop |
| 2 | |
| 3 | /-! # Componentwise Closed Dimension Drop -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ComponentwiseClosedDimensionDrop |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A closed cut drops dimension if every irreducible component that it |
| 10 | contains is already a single point. Thus isolated points may remain |
| 11 | while positive-dimensional components are cut properly. -/ |
| 12 | open _root_.TopologicalSpace _root_.Topology _root_.Order |
| 13 | universe u v |
| 14 | |
| 15 | theorem krullDim_le_of_nonminimal_images_extend |
| 16 | {α : Type u} {β : Type v} [PartialOrder α] [PartialOrder β] |
| 17 | (f : α → β) (hf : StrictMono f) (n : ℕ) (hβ : Order.krullDim β ≤ (n + 1 : ℕ)) |
| 18 | (he : ∀ a, IsMin a ∨ ∃ b, f a < b) : Order.krullDim α ≤ n := by |
| 19 | have hlt : Order.krullDim α < (n + 1 : ℕ) := by |
| 20 | apply Order.krullDim_lt_coe_iff.mpr |
| 21 | intro p |
| 22 | rcases he p.last with hmin | ⟨b, hb⟩ |
| 23 | · have hh : p.head = p.last := le_antisymm p.head_le_last (hmin p.head_le_last) |
| 24 | have hz : p.length = 0 := by |
| 25 | simpa using (congrArg Fin.val (p.strictMono.injective hh)).symm |
| 26 | rw [hz] |
| 27 | exact Nat.zero_lt_succ n |
| 28 | · let q : LTSeries β := (p.map f hf).snoc b hb |
| 29 | have hq := (LTSeries.length_le_krullDim q).trans hβ |
| 30 | change ((p.length + 1 : ℕ) : WithBot ℕ∞) ≤ ((n + 1 : ℕ) : WithBot ℕ∞) at hq |
| 31 | have hn : p.length + 1 ≤ n + 1 := by exact_mod_cast hq |
| 32 | exact Nat.lt_succ_of_le (Nat.le_of_succ_le_succ hn) |
| 33 | simpa only [Nat.cast_add, Nat.cast_one, ENat.WithBot.lt_add_one_iff] using hlt |
| 34 | |
| 35 | theorem closedCut_topologicalKrullDim_le |
| 36 | {X : Type u} [TopologicalSpace X] (C : Set X) (hC : IsClosed C) |
| 37 | (n : ℕ) (hdim : topologicalKrullDim X ≤ (n + 1 : ℕ)) |
| 38 | (hcomponents : ∀ Z ∈ irreducibleComponents X, Z ⊆ C → Z.Subsingleton) : |
| 39 | topologicalKrullDim C ≤ n := by |
| 40 | let f := IrreducibleCloseds.map (Subtype.val : C → X) continuous_subtype_val |
| 41 | apply krullDim_le_of_nonminimal_images_extend f |
| 42 | (IrreducibleCloseds.map_strictMono_of_isInducing IsInducing.subtypeVal) n hdim |
| 43 | intro Y |
| 44 | obtain ⟨Z, hZ, hYZ⟩ := exists_mem_irreducibleComponents_subset_of_isIrreducible |
| 45 | (f Y : Set X) (f Y).isIrreducible |
| 46 | let W : IrreducibleCloseds X := ⟨Z, hZ.1, isClosed_of_mem_irreducibleComponents Z hZ⟩ |
| 47 | have hle : f Y ≤ W := hYZ |
| 48 | by_cases heq : f Y = W |
| 49 | · left |
| 50 | have hWC : Z ⊆ C := by |
| 51 | change (W : Set X) ⊆ C |
| 52 | rw [← heq] |
| 53 | exact closure_minimal (by rintro _ ⟨y, _, rfl⟩; exact y.property) hC |
| 54 | have hs := hcomponents Z hZ hWC |
| 55 | have hY : (Y : Set C).Subsingleton := by |
| 56 | intro y hy z hz |
| 57 | apply Subtype.ext |
| 58 | exact hs (hYZ (subset_closure (Set.mem_image_of_mem _ hy))) |
| 59 | (hYZ (subset_closure (Set.mem_image_of_mem _ hz))) |
| 60 | intro V hVY |
| 61 | obtain ⟨z, hz⟩ := V.isIrreducible.nonempty |
| 62 | intro y hy |
| 63 | exact (hY hy (hVY hz)).symm ▸ hz |
| 64 | · exact Or.inr ⟨W, lt_of_le_not_ge hle (fun hge => heq (le_antisymm hle hge))⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ComponentwiseClosedDimensionDrop |