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.Noetherian |
| 2 | import Mathlib.Topology.Connected.Clopen |
| 3 | |
| 4 | /-! # Closed Point Irreducibility -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ClosedPointIrreducibility |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A connected Noetherian Jacobson space with a transitive homeomorphism |
| 11 | action on its closed points is irreducible. This applies to rational translations. -/ |
| 12 | open _root_.TopologicalSpace |
| 13 | variable {X : Type*} [TopologicalSpace X] |
| 14 | |
| 15 | theorem irreducibleSpace_of_connected_irreducible_open_cover [ConnectedSpace X] |
| 16 | (h : ∀ x : X, ∃ U : Set X, IsOpen U ∧ x ∈ U ∧ IsIrreducible U) : |
| 17 | IrreducibleSpace X := by |
| 18 | let x : X := Classical.choice (inferInstance : Nonempty X) |
| 19 | let C := irreducibleComponent x |
| 20 | have hC : C ∈ irreducibleComponents X := irreducibleComponent_mem_irreducibleComponents x |
| 21 | have hopen : IsOpen C := by |
| 22 | rw [isOpen_iff_mem_nhds] |
| 23 | intro y hy |
| 24 | obtain ⟨U, hU, hyU, hirr⟩ := h y |
| 25 | have hsub : C ⊆ closure U := |
| 26 | (subset_closure_inter_of_isPreirreducible_of_isOpen hC.1.2 hU ⟨y, hy, hyU⟩).trans |
| 27 | (closure_mono Set.inter_subset_right) |
| 28 | have hUC : U ⊆ C := subset_closure.trans (hC.2 hirr.closure hsub) |
| 29 | exact Filter.mem_of_superset (hU.mem_nhds hyU) hUC |
| 30 | have he : C = Set.univ := IsClopen.eq_univ |
| 31 | ⟨isClosed_of_mem_irreducibleComponents C hC, hopen⟩ hC.1.1 |
| 32 | apply (irreducibleSpace_def X).mpr |
| 33 | simpa only [he, Set.top_eq_univ] using hC.1 |
| 34 | |
| 35 | theorem irreducible_open_cover_of_closedPoints [JacobsonSpace X] |
| 36 | (h : ∀ x : X, IsClosed {x} → ∃ U : Set X, IsOpen U ∧ x ∈ U ∧ IsIrreducible U) : |
| 37 | ∀ x : X, ∃ U : Set X, IsOpen U ∧ x ∈ U ∧ IsIrreducible U := by |
| 38 | let V : Set X := ⋃₀ {U : Set X | IsOpen U ∧ IsIrreducible U} |
| 39 | have hV : IsOpen V := isOpen_sUnion (fun U hU => hU.1) |
| 40 | have htop : V = Set.univ := by |
| 41 | apply Set.eq_univ_of_forall |
| 42 | intro x |
| 43 | by_contra hx |
| 44 | obtain ⟨y, hy, hcy⟩ := nonempty_inter_closedPoints |
| 45 | (show (Vᶜ : Set X).Nonempty from ⟨x, hx⟩) hV.isClosed_compl.isLocallyClosed |
| 46 | obtain ⟨U, hU, hyU, hirr⟩ := h y hcy |
| 47 | exact hy (Set.mem_sUnion_of_mem hyU ⟨hU, hirr⟩) |
| 48 | intro x |
| 49 | have hx : x ∈ V := htop.symm ▸ Set.mem_univ x |
| 50 | obtain ⟨U, hU, hxU⟩ := Set.mem_sUnion.mp hx |
| 51 | exact ⟨U, hU.1, hxU, hU.2⟩ |
| 52 | |
| 53 | theorem irreducibleSpace_of_homogeneous_closedPoints |
| 54 | [ConnectedSpace X] [NoetherianSpace X] [JacobsonSpace X] |
| 55 | (h : ∀ x y : X, IsClosed {x} → IsClosed {y} → ∃ e : X ≃ₜ X, e x = y) : |
| 56 | IrreducibleSpace X := by |
| 57 | let x : X := Classical.choice (inferInstance : Nonempty X) |
| 58 | let U : Set X := (⋃₀ (irreducibleComponents X \ {irreducibleComponent x}))ᶜ |
| 59 | have hU : IsOpen U := by |
| 60 | rw [isOpen_compl_iff, Set.sUnion_eq_biUnion] |
| 61 | exact NoetherianSpace.finite_irreducibleComponents.sdiff.isClosed_biUnion |
| 62 | (fun C hC => isClosed_of_mem_irreducibleComponents C hC.1) |
| 63 | have hcl : closure U = irreducibleComponent x := |
| 64 | closure_sUnion_irreducibleComponents_sdiff_singleton |
| 65 | NoetherianSpace.finite_irreducibleComponents _ (irreducibleComponent_mem_irreducibleComponents x) |
| 66 | have hirr : IsIrreducible U := isIrreducible_iff_closure.mp |
| 67 | (hcl.symm ▸ (isIrreducible_irreducibleComponent (x := x))) |
| 68 | obtain ⟨a, haU, hca⟩ := nonempty_inter_closedPoints hirr.1 hU.isLocallyClosed |
| 69 | apply irreducibleSpace_of_connected_irreducible_open_cover |
| 70 | apply irreducible_open_cover_of_closedPoints |
| 71 | intro b hcb |
| 72 | obtain ⟨e, he⟩ := h a b hca hcb |
| 73 | exact ⟨e '' U, e.isOpenMap U hU, ⟨a, haU, he⟩, hirr.image e e.continuous.continuousOn⟩ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ClosedPointIrreducibility |