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.ComplexPoints.Analytic.NormalPairRecenter |
| 2 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 3 | |
| 4 | /-! # Normal Pair Transition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Transitions on verified normal-pair neighborhoods |
| 12 | |
| 13 | The ambient chart of a normal pair may extend beyond the neighborhood on |
| 14 | which it describes the full image. We first restrict both charts to those |
| 15 | proved neighborhoods. Their transition then preserves the normal zero |
| 16 | locus on its entire actual source, as does its inverse. |
| 17 | -/ |
| 18 | |
| 19 | open Set |
| 20 | open scoped _root_.Topology _root_.Manifold |
| 21 | |
| 22 | variable {M N : Type*} [TopologicalSpace N] {f : M → N} {x : M} |
| 23 | {E F E' F' : Type*} [NormedAddCommGroup E] [NormedAddCommGroup F] |
| 24 | [NormedAddCommGroup E'] [NormedAddCommGroup F'] |
| 25 | (P : NormalPairRecenter.ImmersionNormalPair E F f x) |
| 26 | |
| 27 | /-- Restrict to precisely the neighborhood where the full-image statement |
| 28 | has been proved. -/ |
| 29 | def NormalPairRecenter.ImmersionNormalPair.restrictedChart : OpenPartialHomeomorph N (E × F) := |
| 30 | P.ambientChart.restrOpen P.neighborhood P.isOpen_neighborhood |
| 31 | |
| 32 | @[simp] |
| 33 | theorem NormalPairRecenter.ImmersionNormalPair.restrictedChart_source : P.restrictedChart.source = P.neighborhood := by |
| 34 | change P.ambientChart.source ∩ P.neighborhood = P.neighborhood |
| 35 | exact inter_eq_right.mpr P.neighborhood_subset_source |
| 36 | |
| 37 | @[simp] |
| 38 | theorem NormalPairRecenter.ImmersionNormalPair.restrictedChart_target : P.restrictedChart.target = |
| 39 | Metric.ball (0 : E) P.radius ×ˢ Metric.ball (0 : F) P.radius := by |
| 40 | rw [← P.restrictedChart.image_source_eq_target, NormalPairRecenter.ImmersionNormalPair.restrictedChart_source] |
| 41 | exact P.ambientChart.image_symm_image_of_subset_target P.product_subset_target |
| 42 | |
| 43 | @[simp] |
| 44 | theorem NormalPairRecenter.ImmersionNormalPair.restrictedChart_apply (y : N) : P.restrictedChart y = P.ambientChart y := rfl |
| 45 | |
| 46 | @[simp] |
| 47 | theorem NormalPairRecenter.ImmersionNormalPair.restrictedChart_symm_apply (z : E × F) : |
| 48 | P.restrictedChart.symm z = P.ambientChart.symm z := rfl |
| 49 | |
| 50 | theorem NormalPairRecenter.ImmersionNormalPair.point_mem_restrictedChart_source : f x ∈ P.restrictedChart.source := by |
| 51 | rw [NormalPairRecenter.ImmersionNormalPair.restrictedChart_source] |
| 52 | exact P.point_mem_neighborhood |
| 53 | |
| 54 | @[simp] |
| 55 | theorem NormalPairRecenter.ImmersionNormalPair.restrictedChart_point : P.restrictedChart (f x) = (0, 0) := |
| 56 | P.point_coordinates |
| 57 | |
| 58 | @[simp] |
| 59 | theorem NormalPairRecenter.ImmersionNormalPair.ambientChart_symm_zero : P.ambientChart.symm (0, 0) = f x := by |
| 60 | rw [← P.point_coordinates, P.ambientChart.left_inv P.point_mem_source] |
| 61 | |
| 62 | theorem NormalPairRecenter.ImmersionNormalPair.zero_mem_restrictedChart_target : (0, 0) ∈ P.restrictedChart.target := by |
| 63 | rw [NormalPairRecenter.ImmersionNormalPair.restrictedChart_target] |
| 64 | exact ⟨Metric.mem_ball_self P.radius_pos, Metric.mem_ball_self P.radius_pos⟩ |
| 65 | |
| 66 | variable (Q : NormalPairRecenter.ImmersionNormalPair E' F' f x) |
| 67 | |
| 68 | /-- The actual coordinate transition on the overlap of the proved normal |
| 69 | neighborhoods. -/ |
| 70 | def NormalPairRecenter.ImmersionNormalPair.transition : OpenPartialHomeomorph (E × F) (E' × F') := |
| 71 | P.restrictedChart.symm.trans Q.restrictedChart |
| 72 | |
| 73 | @[simp] |
| 74 | theorem NormalPairRecenter.ImmersionNormalPair.transition_apply (z : E × F) : |
| 75 | P.transition Q z = Q.ambientChart (P.ambientChart.symm z) := rfl |
| 76 | |
| 77 | @[simp] |
| 78 | theorem NormalPairRecenter.ImmersionNormalPair.transition_symm_apply (z : E' × F') : |
| 79 | (P.transition Q).symm z = P.ambientChart (Q.ambientChart.symm z) := rfl |
| 80 | |
| 81 | /-- Membership in the transition source requires both verified neighborhoods. -/ |
| 82 | theorem NormalPairRecenter.ImmersionNormalPair.transition_source : (P.transition Q).source = |
| 83 | (Metric.ball (0 : E) P.radius ×ˢ Metric.ball (0 : F) P.radius) ∩ |
| 84 | P.ambientChart.symm ⁻¹' Q.neighborhood := by |
| 85 | rw [NormalPairRecenter.ImmersionNormalPair.transition, OpenPartialHomeomorph.trans_source] |
| 86 | change P.restrictedChart.target ∩ P.ambientChart.symm ⁻¹' Q.restrictedChart.source = _ |
| 87 | rw [NormalPairRecenter.ImmersionNormalPair.restrictedChart_target, NormalPairRecenter.ImmersionNormalPair.restrictedChart_source] |
| 88 | |
| 89 | /-- The source is exactly the first chart's image of the actual overlap. -/ |
| 90 | theorem NormalPairRecenter.ImmersionNormalPair.transition_source_image : (P.transition Q).source = |
| 91 | P.ambientChart '' (P.neighborhood ∩ Q.neighborhood) := by |
| 92 | rw [NormalPairRecenter.ImmersionNormalPair.transition, OpenPartialHomeomorph.trans_source''] |
| 93 | change P.restrictedChart '' (P.restrictedChart.source ∩ Q.restrictedChart.source) = _ |
| 94 | rw [NormalPairRecenter.ImmersionNormalPair.restrictedChart_source, NormalPairRecenter.ImmersionNormalPair.restrictedChart_source] |
| 95 | rfl |
| 96 | |
| 97 | /-- The target is exactly the second chart's image of the same overlap. -/ |
| 98 | theorem NormalPairRecenter.ImmersionNormalPair.transition_target_image : (P.transition Q).target = |
| 99 | Q.ambientChart '' (P.neighborhood ∩ Q.neighborhood) := by |
| 100 | rw [NormalPairRecenter.ImmersionNormalPair.transition, OpenPartialHomeomorph.trans_target''] |
| 101 | change Q.restrictedChart '' (Q.restrictedChart.source ∩ P.restrictedChart.source) = _ |
| 102 | rw [NormalPairRecenter.ImmersionNormalPair.restrictedChart_source, NormalPairRecenter.ImmersionNormalPair.restrictedChart_source, inter_comm] |
| 103 | rfl |
| 104 | |
| 105 | theorem NormalPairRecenter.ImmersionNormalPair.isOpen_transition_source : IsOpen (P.transition Q).source := |
| 106 | (P.transition Q).open_source |
| 107 | |
| 108 | theorem NormalPairRecenter.ImmersionNormalPair.isOpen_transition_target : IsOpen (P.transition Q).target := |
| 109 | (P.transition Q).open_target |
| 110 | |
| 111 | @[simp] |
| 112 | theorem NormalPairRecenter.ImmersionNormalPair.transition_symm : (P.transition Q).symm = Q.transition P := by |
| 113 | rw [NormalPairRecenter.ImmersionNormalPair.transition, OpenPartialHomeomorph.trans_symm_eq_symm_trans_symm] |
| 114 | rfl |
| 115 | |
| 116 | theorem NormalPairRecenter.ImmersionNormalPair.zero_mem_transition_source : (0, 0) ∈ (P.transition Q).source := by |
| 117 | rw [NormalPairRecenter.ImmersionNormalPair.transition_source] |
| 118 | refine ⟨⟨Metric.mem_ball_self P.radius_pos, Metric.mem_ball_self P.radius_pos⟩, ?_⟩ |
| 119 | change P.ambientChart.symm (0, 0) ∈ Q.neighborhood |
| 120 | rw [NormalPairRecenter.ImmersionNormalPair.ambientChart_symm_zero] |
| 121 | exact Q.point_mem_neighborhood |
| 122 | |
| 123 | @[simp] |
| 124 | theorem NormalPairRecenter.ImmersionNormalPair.transition_zero : P.transition Q (0, 0) = (0, 0) := by |
| 125 | rw [NormalPairRecenter.ImmersionNormalPair.transition_apply, NormalPairRecenter.ImmersionNormalPair.ambientChart_symm_zero, Q.point_coordinates] |
| 126 | |
| 127 | theorem NormalPairRecenter.ImmersionNormalPair.zero_mem_transition_target : (0, 0) ∈ (P.transition Q).target := by |
| 128 | rw [← P.transition_zero Q] |
| 129 | exact (P.transition Q).map_source (P.zero_mem_transition_source Q) |
| 130 | |
| 131 | /-- The transition preserves the zero normal locus everywhere on its |
| 132 | verified source, because both charts describe the same full image. -/ |
| 133 | theorem NormalPairRecenter.ImmersionNormalPair.transition_preserves_zero (z : E × F) (hz : z ∈ (P.transition Q).source) : |
| 134 | (P.transition Q z).2 = 0 ↔ z.2 = 0 := by |
| 135 | rw [NormalPairRecenter.ImmersionNormalPair.transition_source] at hz |
| 136 | have hp : P.ambientChart.symm z ∈ P.neighborhood := ⟨z, hz.1, rfl⟩ |
| 137 | have hP := P.range_iff (P.ambientChart.symm z) hp |
| 138 | have hQ := Q.range_iff (P.ambientChart.symm z) hz.2 |
| 139 | rw [P.ambientChart.right_inv (P.product_subset_target hz.1)] at hP |
| 140 | exact hQ.symm.trans hP |
| 141 | |
| 142 | theorem NormalPairRecenter.ImmersionNormalPair.transition_preserves_complement (z : E × F) (hz : z ∈ (P.transition Q).source) : |
| 143 | (P.transition Q z).2 ≠ 0 ↔ z.2 ≠ 0 := |
| 144 | not_congr (P.transition_preserves_zero Q z hz) |
| 145 | |
| 146 | /-- The inverse transition has the same full zero-locus preservation. -/ |
| 147 | theorem NormalPairRecenter.ImmersionNormalPair.transition_symm_preserves_zero (z : E' × F') |
| 148 | (hz : z ∈ (P.transition Q).target) : |
| 149 | ((P.transition Q).symm z).2 = 0 ↔ z.2 = 0 := by |
| 150 | have h := P.transition_preserves_zero Q ((P.transition Q).symm z) |
| 151 | ((P.transition Q).map_target hz) |
| 152 | rw [(P.transition Q).right_inv hz] at h |
| 153 | exact h.symm |
| 154 | |
| 155 | theorem NormalPairRecenter.ImmersionNormalPair.transition_symm_preserves_complement (z : E' × F') |
| 156 | (hz : z ∈ (P.transition Q).target) : |
| 157 | ((P.transition Q).symm z).2 ≠ 0 ↔ z.2 ≠ 0 := |
| 158 | not_congr (P.transition_symm_preserves_zero Q z hz) |
| 159 | |
| 160 | /-- The actual zero slices in the overlap are homeomorphic. -/ |
| 161 | def NormalPairRecenter.ImmersionNormalPair.transitionSupportHomeomorph : |
| 162 | {z : (P.transition Q).source // z.val.2 = 0} ≃ₜ |
| 163 | {z : (P.transition Q).target // z.val.2 = 0} := |
| 164 | (P.transition Q).toHomeomorphSourceTarget.subtype |
| 165 | (fun z => (P.transition_preserves_zero Q z.val z.property).symm) |
| 166 | |
| 167 | /-- The actual complements of the zero slices in the overlap are homeomorphic. -/ |
| 168 | def NormalPairRecenter.ImmersionNormalPair.transitionComplementHomeomorph : |
| 169 | {z : (P.transition Q).source // z.val.2 ≠ 0} ≃ₜ |
| 170 | {z : (P.transition Q).target // z.val.2 ≠ 0} := |
| 171 | (P.transition Q).toHomeomorphSourceTarget.subtype |
| 172 | (fun z => (P.transition_preserves_complement Q z.val z.property).symm) |
| 173 | |
| 174 | variable {𝕜 G : Type*} [NontriviallyNormedField 𝕜] |
| 175 | [NormedSpace 𝕜 E] [NormedSpace 𝕜 F] [NormedSpace 𝕜 E'] [NormedSpace 𝕜 F'] |
| 176 | [NormedAddCommGroup G] [NormedSpace 𝕜 G] [ChartedSpace G N] |
| 177 | |
| 178 | /-- Restricting a differentiable ambient chart to the verified neighborhood |
| 179 | preserves differentiability of both chart directions. -/ |
| 180 | theorem NormalPairRecenter.ImmersionNormalPair.restrictedChart_mdifferentiable |
| 181 | (hP : P.ambientChart.MDifferentiable 𝓘(𝕜, G) 𝓘(𝕜, E × F)) : |
| 182 | P.restrictedChart.MDifferentiable 𝓘(𝕜, G) 𝓘(𝕜, E × F) := by |
| 183 | constructor |
| 184 | · change MDifferentiableOn 𝓘(𝕜, G) 𝓘(𝕜, E × F) P.ambientChart |
| 185 | (P.ambientChart.source ∩ P.neighborhood) |
| 186 | exact hP.1.mono inter_subset_left |
| 187 | · change MDifferentiableOn 𝓘(𝕜, E × F) 𝓘(𝕜, G) P.ambientChart.symm |
| 188 | (P.ambientChart.target ∩ P.ambientChart.symm ⁻¹' P.neighborhood) |
| 189 | exact hP.2.mono inter_subset_left |
| 190 | |
| 191 | /-- Actual differentiable charts give an actual differentiable transition |
| 192 | on the verified overlap, including a differentiable inverse. -/ |
| 193 | theorem NormalPairRecenter.ImmersionNormalPair.transition_mdifferentiable |
| 194 | (hP : P.ambientChart.MDifferentiable 𝓘(𝕜, G) 𝓘(𝕜, E × F)) |
| 195 | (hQ : Q.ambientChart.MDifferentiable 𝓘(𝕜, G) 𝓘(𝕜, E' × F')) : |
| 196 | (P.transition Q).MDifferentiable 𝓘(𝕜, E × F) 𝓘(𝕜, E' × F') := |
| 197 | (P.restrictedChart_mdifferentiable hP).symm.trans (Q.restrictedChart_mdifferentiable hQ) |
| 198 | |
| 199 | end |
| 200 | |
| 201 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic |