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.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection |
| 2 | |
| 3 | /-! # Intrinsic Smooth -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicSections |
| 10 | |
| 11 | /-! Smooth sections on the actual ball with the C-infinity topology: |
| 12 | all real derivatives carry the compact-open topology simultaneously. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior.Intrinsic |
| 17 | |
| 18 | theorem ballDomain_open : IsOpen Adelic.BallGeometryData.ballDomain := by |
| 19 | apply isOpen_lt _ continuous_const |
| 20 | exact (Complex.continuous_normSq.comp (continuous_apply 0)).add |
| 21 | (Complex.continuous_normSq.comp (continuous_apply 1)) |
| 22 | |
| 23 | variable (V : Type) [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 24 | |
| 25 | structure SmoothSection where |
| 26 | value : Adelic.BallNatural.Ball → V |
| 27 | smooth : Adelic.BallGeometryData.BallSmooth value |
| 28 | |
| 29 | def extension (f : SmoothSection V) (z : IntrinsicExterior.Intrinsic.Tangent) : V := |
| 30 | if hz : z ∈ Adelic.BallGeometryData.ballDomain then f.value ⟨z, hz⟩ else 0 |
| 31 | |
| 32 | def derivative (f : SmoothSection V) (n : ℕ) : |
| 33 | C(Adelic.BallNatural.Ball, ContinuousMultilinearMap ℝ (fun _ : Fin n => IntrinsicExterior.Intrinsic.Tangent) V) where |
| 34 | toFun z := iteratedFDerivWithin ℝ n (extension V f) Adelic.BallGeometryData.ballDomain z.val |
| 35 | continuous_toFun := (f.smooth.continuousOn_iteratedFDerivWithin (m := n) (by simp) |
| 36 | ballDomain_open.uniqueDiffOn).domRestrict |
| 37 | |
| 38 | /-- This induced topology is uniform convergence on compact subsets of |
| 39 | the ball for every derivative order, including the value at order zero. -/ |
| 40 | instance : TopologicalSpace (SmoothSection V) := |
| 41 | TopologicalSpace.induced (fun f : SmoothSection V => fun n => derivative V f n) inferInstance |
| 42 | |
| 43 | theorem derivative_continuous (n : ℕ) : Continuous (fun f : SmoothSection V => derivative V f n) := |
| 44 | by |
| 45 | have h : Continuous (fun f : SmoothSection V => fun n => derivative V f n) := |
| 46 | continuous_induced_dom |
| 47 | exact (continuous_apply n).comp h |
| 48 | |
| 49 | variable {V} {W : Type} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 50 | |
| 51 | def mapSection (L : V →L[ℝ] W) (f : SmoothSection V) : SmoothSection W where |
| 52 | value z := L (f.value z) |
| 53 | smooth := by |
| 54 | have h := L.contDiff.comp_contDiffOn f.smooth |
| 55 | apply h.congr |
| 56 | intro z hz |
| 57 | simp [hz] |
| 58 | |
| 59 | def postcomposeDerivative (L : V →L[ℝ] W) (n : ℕ) : |
| 60 | ContinuousMultilinearMap ℝ (fun _ : Fin n => IntrinsicExterior.Intrinsic.Tangent) V →L[ℝ] |
| 61 | ContinuousMultilinearMap ℝ (fun _ : Fin n => IntrinsicExterior.Intrinsic.Tangent) W := |
| 62 | ({ toFun := L.compContinuousMultilinearMap |
| 63 | map_add' := by intro a b; ext u; simp |
| 64 | map_smul' := by intro c a; ext u; simp } : |
| 65 | ContinuousMultilinearMap ℝ (fun _ : Fin n => IntrinsicExterior.Intrinsic.Tangent) V →ₗ[ℝ] |
| 66 | ContinuousMultilinearMap ℝ (fun _ : Fin n => IntrinsicExterior.Intrinsic.Tangent) W).mkContinuous ‖L‖ |
| 67 | (fun T => L.norm_compContinuousMultilinearMap_le T) |
| 68 | |
| 69 | theorem derivative_map (L : V →L[ℝ] W) (f : SmoothSection V) (n : ℕ) : |
| 70 | derivative W (mapSection L f) n = |
| 71 | ContinuousMap.comp ⟨postcomposeDerivative L n, (postcomposeDerivative L n).continuous⟩ |
| 72 | (derivative V f n) := by |
| 73 | have hext : extension W (mapSection L f) = L ∘ extension V f := by |
| 74 | funext z |
| 75 | by_cases hz : z ∈ Adelic.BallGeometryData.ballDomain <;> simp [extension, mapSection, hz] |
| 76 | apply ContinuousMap.ext |
| 77 | intro z |
| 78 | change iteratedFDerivWithin ℝ n (extension W (mapSection L f)) Adelic.BallGeometryData.ballDomain z.val = |
| 79 | L.compContinuousMultilinearMap (iteratedFDerivWithin ℝ n (extension V f) Adelic.BallGeometryData.ballDomain z.val) |
| 80 | rw [hext] |
| 81 | exact L.iteratedFDerivWithin_comp_left (f.smooth z.val z.property) |
| 82 | ballDomain_open.uniqueDiffOn z.property (by simp) |
| 83 | |
| 84 | theorem mapSection_continuous (L : V →L[ℝ] W) : Continuous (mapSection L) := by |
| 85 | apply continuous_induced_rng.mpr |
| 86 | apply continuous_pi |
| 87 | intro n |
| 88 | have h := (ContinuousMap.continuous_postcomp ⟨postcomposeDerivative L n, (postcomposeDerivative L n).continuous⟩).comp |
| 89 | (derivative_continuous V n) |
| 90 | exact h.congr (fun f => (derivative_map L f n).symm) |
| 91 | |
| 92 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 93 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 94 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 95 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} |
| 96 | |
| 97 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 98 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection.Intrinsic |
| 99 | |
| 100 | def geometricSection (B : Adelic.DataTheta.ComparisonData F H K A) (hTheta : Adelic.DataTheta.Descent.ThetaConstruction B) |
| 101 | (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2)) : SmoothSection (Adelic.DataTheta.TaylorTensor (A := A) 2) := |
| 102 | ⟨Adelic.DataTheta.geometricTensor B f 2, hTheta.2.2.2.2.2 f 2⟩ |
| 103 | |
| 104 | def topSection (B : Adelic.DataTheta.ComparisonData F H K A) (hTheta : Adelic.DataTheta.Descent.ThetaConstruction B) |
| 105 | (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2)) : SmoothSection IntrinsicExterior.Intrinsic.TopCovector := |
| 106 | mapSection ((IntrinsicSecondProjection.Intrinsic.secondProjection (A := A)).restrictScalars ℝ) (geometricSection B hTheta f) |
| 107 | |
| 108 | theorem smooth_projection_continuous : |
| 109 | Continuous (mapSection ((IntrinsicSecondProjection.Intrinsic.secondProjection (A := A)).restrictScalars ℝ)) := |
| 110 | mapSection_continuous _ |
| 111 | |
| 112 | theorem topSection_value (B : Adelic.DataTheta.ComparisonData F H K A) (hTheta : Adelic.DataTheta.Descent.ThetaConstruction B) |
| 113 | (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2)) (z : Adelic.BallNatural.Ball) : |
| 114 | (topSection B hTheta f).value z = IntrinsicSecondProjection.Intrinsic.thetaTopForm B f z := rfl |
| 115 | |
| 116 | end RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicSections |
| 117 | |
| 118 | namespace RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicJoint |
| 119 | |
| 120 | /-! Joint smoothness gives continuity in the native topology of all |
| 121 | derivatives on compact subsets. This analytic lemma will be applied to |
| 122 | explicit local period and determinant-frame coordinates. -/ |
| 123 | |
| 124 | open scoped ContDiff |
| 125 | |
| 126 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicSections |
| 127 | |
| 128 | theorem partial_iteratedFDeriv_smoothAt |
| 129 | {𝕜 E F G : Type*} [NontriviallyNormedField 𝕜] |
| 130 | [NormedAddCommGroup E] [NormedSpace 𝕜 E] |
| 131 | [NormedAddCommGroup F] [NormedSpace 𝕜 F] |
| 132 | [NormedAddCommGroup G] [NormedSpace 𝕜 G] |
| 133 | {f : E → F → G} {x : E} {z : F} |
| 134 | (h : ContDiffAt 𝕜 ∞ (Function.uncurry f) (x, z)) (a : ℕ) : |
| 135 | ContDiffAt 𝕜 ∞ (fun w : E × F => iteratedFDeriv 𝕜 a (f w.1) w.2) (x, z) := by |
| 136 | induction a with |
| 137 | | zero => |
| 138 | simpa only [iteratedFDeriv_zero_eq_comp, Function.comp_def, Function.uncurry_def] using! |
| 139 | h.continuousLinearMap_comp |
| 140 | ((continuousMultilinearCurryFin0 𝕜 F G).symm : G →L[𝕜] F [×0]→L[𝕜] G) |
| 141 | | succ a ih => |
| 142 | have hc : ContDiffAt 𝕜 ∞ |
| 143 | (fun w : (E × F) × F => iteratedFDeriv 𝕜 a (f w.1.1) w.2) ((x, z), z) := |
| 144 | ih.comp ((x, z), z) (contDiffAt_fst.fst.prodMk contDiffAt_snd) |
| 145 | have hd : ContDiffAt 𝕜 ∞ |
| 146 | (fun w : E × F => fderiv 𝕜 (iteratedFDeriv 𝕜 a (f w.1)) w.2) (x, z) := |
| 147 | hc.fderiv contDiffAt_snd (by simp) |
| 148 | simpa only [iteratedFDeriv_succ_eq_comp_left, Function.comp_def, Function.uncurry_def] using! |
| 149 | hd.continuousLinearMap_comp |
| 150 | ((continuousMultilinearCurryLeftEquiv 𝕜 (fun _ : Fin (a + 1) => F) G).symm : |
| 151 | (F →L[𝕜] F [×a]→L[𝕜] G) →L[𝕜] F [×(a + 1)]→L[𝕜] G) |
| 152 | |
| 153 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 154 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 155 | variable {s : Set E} (hs : IsOpen s) (f : E → IntrinsicExterior.Intrinsic.Tangent → V) |
| 156 | variable (hf : ContDiffOn ℝ ⊤ (Function.uncurry f) (s ×ˢ Adelic.BallGeometryData.ballDomain)) |
| 157 | |
| 158 | include hf in |
| 159 | theorem slice_contDiff (p : s) : ContDiffOn ℝ ⊤ (f p.val) Adelic.BallGeometryData.ballDomain := by |
| 160 | exact hf.comp (contDiffOn_const.prodMk contDiffOn_id) (fun z hz => ⟨p.property,hz⟩) |
| 161 | |
| 162 | def jointSection (p : s) : IntrinsicSections.SmoothSection V where |
| 163 | value z := f p.val z.val |
| 164 | smooth := by |
| 165 | apply (slice_contDiff f hf p).congr |
| 166 | intro z hz |
| 167 | exact dite_eq_left hz |
| 168 | |
| 169 | theorem jointSection_derivative (p : s) (z : Adelic.BallNatural.Ball) (n : ℕ) : |
| 170 | IntrinsicSections.derivative V (jointSection f hf p) n z = iteratedFDeriv ℝ n (f p.val) z.val := by |
| 171 | change iteratedFDerivWithin ℝ n (IntrinsicSections.extension V (jointSection f hf p)) Adelic.BallGeometryData.ballDomain z.val = _ |
| 172 | have he : Set.EqOn (IntrinsicSections.extension V (jointSection f hf p)) (f p.val) Adelic.BallGeometryData.ballDomain := by |
| 173 | intro w hw |
| 174 | simp [IntrinsicSections.extension,jointSection,hw] |
| 175 | rw [iteratedFDerivWithin_congr (𝕜 := ℝ) (s := Adelic.BallGeometryData.ballDomain) he |
| 176 | (show z.val ∈ Adelic.BallGeometryData.ballDomain from z.property) n] |
| 177 | exact iteratedFDerivWithin_eq_iteratedFDeriv IntrinsicSections.ballDomain_open.uniqueDiffOn |
| 178 | (((slice_contDiff f hf p).contDiffAt (IntrinsicSections.ballDomain_open.mem_nhds z.property)).of_le (by simp)) z.property |
| 179 | |
| 180 | include hs in |
| 181 | theorem jointSection_continuous : Continuous (jointSection f hf) := by |
| 182 | apply continuous_induced_rng.mpr |
| 183 | apply continuous_pi |
| 184 | intro n |
| 185 | apply ContinuousMap.continuous_of_continuous_uncurry |
| 186 | have hcont : Continuous (fun q : s × Adelic.BallNatural.Ball => iteratedFDeriv ℝ n (f q.1.val) q.2.val) := by |
| 187 | apply continuous_iff_continuousAt.mpr |
| 188 | intro q |
| 189 | have h : ContDiffAt ℝ ⊤ (Function.uncurry f) (q.1.val,q.2.val) := |
| 190 | hf.contDiffAt ((hs.prod IntrinsicSections.ballDomain_open).mem_nhds |
| 191 | ⟨q.1.property,show q.2.val ∈ Adelic.BallGeometryData.ballDomain from q.2.property⟩) |
| 192 | have hd : ContinuousAt |
| 193 | (fun w : E × IntrinsicExterior.Intrinsic.Tangent => iteratedFDeriv ℝ n (f w.1) w.2) (q.1.val,q.2.val) := |
| 194 | (partial_iteratedFDeriv_smoothAt (f := f) (h.of_le (by simp)) n).continuousAt |
| 195 | have hi : ContinuousAt (fun r : s × Adelic.BallNatural.Ball => (r.1.val,r.2.val)) q := |
| 196 | ((continuous_subtype_val.comp continuous_fst).prodMk |
| 197 | (continuous_subtype_val.comp continuous_snd)).continuousAt |
| 198 | exact ContinuousAt.comp (f := fun r : s × Adelic.BallNatural.Ball => (r.1.val,r.2.val)) (x := q) hd hi |
| 199 | apply hcont.congr |
| 200 | intro q |
| 201 | exact (jointSection_derivative f hf q.1 q.2 n).symm |
| 202 | |
| 203 | end RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicJoint |
| 204 | |
| 205 | namespace RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicLocal |
| 206 | |
| 207 | /-! Ambient regularity at every parameter/ball pair gives continuity |
| 208 | in the native C-infinity topology even when the parameter set is not open. -/ |
| 209 | |
| 210 | open scoped ContDiff |
| 211 | |
| 212 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicSections OAI.RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicJoint |
| 213 | |
| 214 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 215 | variable [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 216 | variable (s : Set E) (f : E → IntrinsicExterior.Intrinsic.Tangent → V) |
| 217 | variable (hf : ∀ p ∈ s, ∀ z ∈ Adelic.BallGeometryData.ballDomain, ContDiffAt ℝ ⊤ (Function.uncurry f) (p,z)) |
| 218 | |
| 219 | include hf in |
| 220 | theorem local_slice_analytic (p : s) (z : IntrinsicExterior.Intrinsic.Tangent) (hz : z ∈ Adelic.BallGeometryData.ballDomain) : |
| 221 | ContDiffAt ℝ ⊤ (f p.val) z := |
| 222 | (hf p.val p.property z hz).comp z (contDiffAt_const.prodMk contDiffAt_id) |
| 223 | |
| 224 | def localSection (p : s) : IntrinsicSections.SmoothSection V where |
| 225 | value z := f p.val z.val |
| 226 | smooth := by |
| 227 | have hs : ContDiffOn ℝ ⊤ (f p.val) Adelic.BallGeometryData.ballDomain := |
| 228 | fun z hz => (local_slice_analytic s f hf p z hz).contDiffWithinAt |
| 229 | apply hs.congr |
| 230 | intro z hz |
| 231 | exact dite_eq_left hz |
| 232 | |
| 233 | theorem localSection_derivative (p : s) (z : Adelic.BallNatural.Ball) (n : ℕ) : |
| 234 | IntrinsicSections.derivative V (localSection s f hf p) n z = iteratedFDeriv ℝ n (f p.val) z.val := by |
| 235 | change iteratedFDerivWithin ℝ n (IntrinsicSections.extension V (localSection s f hf p)) Adelic.BallGeometryData.ballDomain z.val = _ |
| 236 | have he : Set.EqOn (IntrinsicSections.extension V (localSection s f hf p)) (f p.val) Adelic.BallGeometryData.ballDomain := by |
| 237 | intro w hw |
| 238 | simp [IntrinsicSections.extension,localSection,hw] |
| 239 | rw [iteratedFDerivWithin_congr (𝕜 := ℝ) (s := Adelic.BallGeometryData.ballDomain) he |
| 240 | (show z.val ∈ Adelic.BallGeometryData.ballDomain from z.property) n] |
| 241 | exact iteratedFDerivWithin_eq_iteratedFDeriv IntrinsicSections.ballDomain_open.uniqueDiffOn |
| 242 | ((local_slice_analytic s f hf p z.val z.property).of_le (by simp)) z.property |
| 243 | |
| 244 | theorem localSection_continuous : Continuous (localSection s f hf) := by |
| 245 | apply continuous_induced_rng.mpr |
| 246 | apply continuous_pi |
| 247 | intro n |
| 248 | apply ContinuousMap.continuous_of_continuous_uncurry |
| 249 | have hcont : Continuous (fun q : s × Adelic.BallNatural.Ball => iteratedFDeriv ℝ n (f q.1.val) q.2.val) := by |
| 250 | apply continuous_iff_continuousAt.mpr |
| 251 | intro q |
| 252 | have hd : ContinuousAt |
| 253 | (fun w : E × IntrinsicExterior.Intrinsic.Tangent => iteratedFDeriv ℝ n (f w.1) w.2) (q.1.val,q.2.val) := |
| 254 | (IntrinsicJoint.partial_iteratedFDeriv_smoothAt (f := f) |
| 255 | ((hf q.1.val q.1.property q.2.val q.2.property).of_le (by simp)) n).continuousAt |
| 256 | have hi : ContinuousAt (fun r : s × Adelic.BallNatural.Ball => (r.1.val,r.2.val)) q := |
| 257 | ((continuous_subtype_val.comp continuous_fst).prodMk |
| 258 | (continuous_subtype_val.comp continuous_snd)).continuousAt |
| 259 | exact ContinuousAt.comp (f := fun r : s × Adelic.BallNatural.Ball => (r.1.val,r.2.val)) (x := q) hd hi |
| 260 | apply hcont.congr |
| 261 | intro q |
| 262 | exact (localSection_derivative s f hf q.1 q.2 n).symm |
| 263 | |
| 264 | end RepresentationTheory.Theta.Kernel.IntrinsicSmooth.IntrinsicLocal |
| 265 | |
| 266 | end |
| 267 | |
| 268 | end OAI |