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.OpenPartialHomeomorph.Continuity |
| 2 | |
| 3 | /-! # Normal Plane Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.NormalPlaneNeighborhood.Cycles |
| 6 | |
| 7 | /-! |
| 8 | # Normal-plane preservation near the origin of an open chart |
| 9 | |
| 10 | The horizontal inclusion `x ↦ (x, 0)` is continuous. Hence an open chart |
| 11 | containing the origin contains this inclusion near the origin, and actual |
| 12 | preservation of the zero normal coordinate gives the corresponding eventual |
| 13 | equality. The same argument applies to the inverse chart. No differentiability |
| 14 | or linear structure is needed for this topological step. |
| 15 | -/ |
| 16 | |
| 17 | open Filter _root_.Topology |
| 18 | |
| 19 | universe uE uF |
| 20 | |
| 21 | variable {E : Type uE} [TopologicalSpace E] [Zero E] |
| 22 | variable {F : Type uF} [TopologicalSpace F] [Zero F] |
| 23 | |
| 24 | /-- A neighborhood of the product origin contains horizontal points near the |
| 25 | origin of the first factor. -/ |
| 26 | theorem normalPlane_eventually_mem {U : Set (E × F)} (hU : IsOpen U) |
| 27 | (h0 : ((0 : E), (0 : F)) ∈ U) : |
| 28 | ∀ᶠ x : E in 𝓝 0, (x, (0 : F)) ∈ U := by |
| 29 | have h : Continuous (fun x : E => (x, (0 : F))) := |
| 30 | continuous_id.prodMk continuous_const |
| 31 | exact h.continuousAt.eventually (hU.eventually_mem h0) |
| 32 | |
| 33 | theorem normalPlane_eventually_mem_source (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 34 | (h0 : ((0 : E), (0 : F)) ∈ e.source) : |
| 35 | ∀ᶠ x : E in 𝓝 0, (x, (0 : F)) ∈ e.source := |
| 36 | normalPlane_eventually_mem e.open_source h0 |
| 37 | |
| 38 | /-- Actual preservation on the chart source implies preservation on the |
| 39 | horizontal slice near the origin. -/ |
| 40 | theorem normalPlane_eventually_map_snd_eq_zero |
| 41 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 42 | (h0 : ((0 : E), (0 : F)) ∈ e.source) |
| 43 | (hpres : ∀ z ∈ e.source, z.2 = 0 → (e z).2 = 0) : |
| 44 | ∀ᶠ x : E in 𝓝 0, (e (x, (0 : F))).2 = 0 := |
| 45 | (normalPlane_eventually_mem_source e h0).mono fun x hx => hpres (x, 0) hx rfl |
| 46 | |
| 47 | /-- A chart carrying the origin to the origin has the origin in its target. -/ |
| 48 | theorem normalPlane_zero_mem_target (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 49 | (h0 : ((0 : E), (0 : F)) ∈ e.source) |
| 50 | (he0 : e (0, 0) = (0, 0)) : |
| 51 | ((0 : E), (0 : F)) ∈ e.target := |
| 52 | he0 ▸ e.map_source h0 |
| 53 | |
| 54 | /-- The actual partial inverse of an origin-fixing chart fixes the origin. -/ |
| 55 | theorem normalPlane_symm_apply_zero (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 56 | (h0 : ((0 : E), (0 : F)) ∈ e.source) |
| 57 | (he0 : e (0, 0) = (0, 0)) : |
| 58 | e.symm (0, 0) = (0, 0) := by |
| 59 | simpa only [he0] using e.left_inv h0 |
| 60 | |
| 61 | /-- Actual preservation by the inverse on the chart target implies the |
| 62 | eventual zero-normal equality for the inverse horizontal slice. -/ |
| 63 | theorem normalPlane_eventually_symm_snd_eq_zero |
| 64 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 65 | (h0 : ((0 : E), (0 : F)) ∈ e.source) |
| 66 | (he0 : e (0, 0) = (0, 0)) |
| 67 | (hpresInv : ∀ z ∈ e.target, z.2 = 0 → (e.symm z).2 = 0) : |
| 68 | ∀ᶠ x : E in 𝓝 0, (e.symm (x, (0 : F))).2 = 0 := |
| 69 | normalPlane_eventually_map_snd_eq_zero e.symm |
| 70 | (normalPlane_zero_mem_target e h0 he0) hpresInv |
| 71 | |
| 72 | /-- Exact preservation of the normal-zero set on the source also proves |
| 73 | preservation by the actual inverse, so no independent inverse assumption is |
| 74 | needed in this formulation. -/ |
| 75 | theorem normalPlane_eventually_symm_snd_eq_zero_of_iff |
| 76 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 77 | (h0 : ((0 : E), (0 : F)) ∈ e.source) |
| 78 | (he0 : e (0, 0) = (0, 0)) |
| 79 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) : |
| 80 | ∀ᶠ x : E in 𝓝 0, (e.symm (x, (0 : F))).2 = 0 := by |
| 81 | apply normalPlane_eventually_symm_snd_eq_zero e h0 he0 |
| 82 | intro z hz hz0 |
| 83 | apply (hpres (e.symm z) (e.map_target hz)).mp |
| 84 | rw [e.right_inv hz] |
| 85 | exact hz0 |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.CycleClass.Geometric.NormalPlaneNeighborhood.Cycles |