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.LocalAtTarget |
| 2 | import Mathlib.Topology.Homeomorph.Lemmas |
| 3 | import Mathlib.Topology.Sets.Opens |
| 4 | |
| 5 | /-! # Graph Base Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting an actual graph over a base open preserves its closed embedding into the corresponding product. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X N F : Type*} [TopologicalSpace X] [TopologicalSpace N] [TopologicalSpace F] |
| 16 | |
| 17 | def baseProductHomeomorph (U : Set N) : (Prod.fst ⁻¹' U : Set (N × F)) ≃ₜ (U × F) where |
| 18 | toFun z := (⟨z.val.1, z.property⟩, z.val.2) |
| 19 | invFun z := ⟨(z.1.val, z.2), z.1.property⟩ |
| 20 | left_inv _ := rfl |
| 21 | right_inv _ := rfl |
| 22 | continuous_toFun := ((continuous_fst.comp continuous_subtype_val).subtype_mk _).prodMk |
| 23 | (continuous_snd.comp continuous_subtype_val) |
| 24 | continuous_invFun := ((continuous_subtype_val.comp continuous_fst).prodMk continuous_snd).subtype_mk _ |
| 25 | |
| 26 | def restrictedGraph (g : X → N) (e : X → F) (U : Set N) : (g ⁻¹' U) → (U × F) := |
| 27 | fun z => (⟨g z.val, z.property⟩, e z.val) |
| 28 | |
| 29 | theorem restrictedGraph_closedEmbedding (g : X → N) (e : X → F) (U : Set N) |
| 30 | (h : Topology.IsClosedEmbedding (fun x => (g x, e x))) : |
| 31 | Topology.IsClosedEmbedding (restrictedGraph g e U) := |
| 32 | (baseProductHomeomorph (F := F) U).isClosedEmbedding.comp |
| 33 | (h.restrictPreimage (Prod.fst ⁻¹' U : Set (N × F))) |
| 34 | |
| 35 | omit [TopologicalSpace X] [TopologicalSpace N] [TopologicalSpace F] in |
| 36 | theorem restrictedGraph_bound (g : X → N) (e : X → F) (U : Set N) (K : Set F) |
| 37 | (hK : ∀ x, g x ∈ U → e x ∈ K) : |
| 38 | Set.range (restrictedGraph g e U) ⊆ Set.univ ×ˢ K := by |
| 39 | rintro z ⟨x, rfl⟩ |
| 40 | exact ⟨trivial, hK x.val x.property⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions |