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.HodgeConjecture.HeckeCycles.CircleIntegral |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CauchyKernel |
| 3 | |
| 4 | /-! # Double Cauchy -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.Integral |
| 11 | |
| 12 | /-! A bounded iterated circle integral on the product boundary, with |
| 13 | joint smooth dependence on both interior Cauchy parameters. -/ |
| 14 | |
| 15 | open scoped Classical ContDiff |
| 16 | open _root_.Complex Set _root_.Metric |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CircleIntegral.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CauchyKernel.CM |
| 18 | |
| 19 | section Curry |
| 20 | |
| 21 | variable (T U : Type*) [TopologicalSpace T] [CompactSpace T] |
| 22 | [TopologicalSpace U] [CompactSpace U] |
| 23 | |
| 24 | def curryLinear : C(T × U, ℂ) →ₗ[ℂ] C(T, C(U, ℂ)) where |
| 25 | toFun := ContinuousMap.curry |
| 26 | map_add' f g := by ext x y; rfl |
| 27 | map_smul' a f := by ext x y; rfl |
| 28 | |
| 29 | def curryContinuous : C(T × U, ℂ) →L[ℂ] C(T, C(U, ℂ)) := |
| 30 | (curryLinear T U).mkContinuous 1 (by |
| 31 | intro f |
| 32 | rw [one_mul] |
| 33 | apply (ContinuousMap.norm_le _ (norm_nonneg f)).mpr |
| 34 | intro x |
| 35 | apply (ContinuousMap.norm_le _ (norm_nonneg f)).mpr |
| 36 | intro y |
| 37 | exact f.norm_coe_le_norm (x, y)) |
| 38 | |
| 39 | end Curry |
| 40 | |
| 41 | abbrev Torus (c : ℂ × ℂ) (r : ℝ × ℝ) := CircleIntegral.CM.Boundary c.1 r.1 × CircleIntegral.CM.Boundary c.2 r.2 |
| 42 | |
| 43 | def coordinate₁ (c : ℂ × ℂ) (r : ℝ × ℝ) : C(Torus c r, ℂ) := |
| 44 | ⟨fun t => t.1.val, continuous_subtype_val.comp continuous_fst⟩ |
| 45 | |
| 46 | def coordinate₂ (c : ℂ × ℂ) (r : ℝ × ℝ) : C(Torus c r, ℂ) := |
| 47 | ⟨fun t => t.2.val, continuous_subtype_val.comp continuous_snd⟩ |
| 48 | |
| 49 | def doubleIntegral (c : ℂ × ℂ) (r : ℝ × ℝ) (hr : 0 ≤ r.1 ∧ 0 ≤ r.2) : |
| 50 | C(Torus c r, ℂ) →L[ℂ] ℂ := |
| 51 | (CircleIntegral.CM.integral c.1 r.1 hr.1).comp |
| 52 | (((CircleIntegral.CM.integral c.2 r.2 hr.2).compLeftContinuous ℂ (CircleIntegral.CM.Boundary c.1 r.1)).comp |
| 53 | (curryContinuous (CircleIntegral.CM.Boundary c.1 r.1) (CircleIntegral.CM.Boundary c.2 r.2))) |
| 54 | |
| 55 | @[simp] theorem doubleIntegral_apply (c : ℂ × ℂ) (r : ℝ × ℝ) |
| 56 | (hr : 0 ≤ r.1 ∧ 0 ≤ r.2) (F : C(Torus c r, ℂ)) : |
| 57 | doubleIntegral c r hr F = CircleIntegral.CM.integral c.1 r.1 hr.1 |
| 58 | ((CircleIntegral.CM.integral c.2 r.2 hr.2).compLeftContinuous ℂ (CircleIntegral.CM.Boundary c.1 r.1) F.curry) := rfl |
| 59 | |
| 60 | def kernel (c : ℂ × ℂ) (r : ℝ × ℝ) (F : C(Torus c r, ℂ)) (z : ℂ × ℂ) : |
| 61 | C(Torus c r, ℂ) := |
| 62 | Ring.inverse (CauchyKernel.CM.denominator (coordinate₁ c r) z.1) * |
| 63 | Ring.inverse (CauchyKernel.CM.denominator (coordinate₂ c r) z.2) * F |
| 64 | |
| 65 | theorem coordinates_ne (c : ℂ × ℂ) (r : ℝ × ℝ) (z : ℂ × ℂ) |
| 66 | (hz : z.1 ∈ ball c.1 r.1 ∧ z.2 ∈ ball c.2 r.2) : |
| 67 | (∀ t, coordinate₁ c r t ≠ z.1) ∧ (∀ t, coordinate₂ c r t ≠ z.2) := by |
| 68 | constructor |
| 69 | · intro t h |
| 70 | have ht := t.1.property |
| 71 | change dist (coordinate₁ c r t) c.1 = r.1 at ht |
| 72 | rw [h] at ht |
| 73 | exact (ne_of_lt hz.1) ht |
| 74 | · intro t h |
| 75 | have ht := t.2.property |
| 76 | change dist (coordinate₂ c r t) c.2 = r.2 at ht |
| 77 | rw [h] at ht |
| 78 | exact (ne_of_lt hz.2) ht |
| 79 | |
| 80 | theorem kernel_apply (c : ℂ × ℂ) (r : ℝ × ℝ) (F : C(Torus c r, ℂ)) (z : ℂ × ℂ) |
| 81 | (hz : z.1 ∈ ball c.1 r.1 ∧ z.2 ∈ ball c.2 r.2) (t : Torus c r) : |
| 82 | kernel c r F z t = ((t.1 : ℂ) - z.1)⁻¹ * ((t.2 : ℂ) - z.2)⁻¹ * F t := by |
| 83 | obtain ⟨h₁, h₂⟩ := coordinates_ne c r z hz |
| 84 | simp only [kernel, ContinuousMap.mul_apply, |
| 85 | CauchyKernel.CM.inverse_denominator_apply _ _ h₁, CauchyKernel.CM.inverse_denominator_apply _ _ h₂] |
| 86 | rfl |
| 87 | |
| 88 | theorem doubleCauchy_contDiffAt (c : ℂ × ℂ) (r : ℝ × ℝ) |
| 89 | (hr : 0 ≤ r.1 ∧ 0 ≤ r.2) (F : C(Torus c r, ℂ)) (z : ℂ × ℂ) |
| 90 | (hz : z.1 ∈ ball c.1 r.1 ∧ z.2 ∈ ball c.2 r.2) : |
| 91 | ContDiffAt ℂ ∞ (fun w => doubleIntegral c r hr (kernel c r F w)) z := by |
| 92 | obtain ⟨h₁, h₂⟩ := coordinates_ne c r z hz |
| 93 | exact CauchyKernel.CM.double_kernel_contDiffAt (coordinate₁ c r) (coordinate₂ c r) F |
| 94 | (doubleIntegral c r hr) z h₁ h₂ |
| 95 | |
| 96 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.Integral |
| 97 | |
| 98 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.Formula |
| 99 | |
| 100 | /-! The two-variable Cauchy formula follows by two applications of the |
| 101 | ordinary one-variable theorem. No derivative-continuity assumption is used. -/ |
| 102 | |
| 103 | open scoped Classical ContDiff |
| 104 | open _root_.Complex Set _root_.Metric |
| 105 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CircleIntegral.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.Integral |
| 106 | |
| 107 | def closedPolydisc (c : ℂ × ℂ) (r : ℝ × ℝ) : Set (ℂ × ℂ) := |
| 108 | closedBall c.1 r.1 ×ˢ closedBall c.2 r.2 |
| 109 | |
| 110 | def openPolydisc (c : ℂ × ℂ) (r : ℝ × ℝ) : Set (ℂ × ℂ) := |
| 111 | ball c.1 r.1 ×ˢ ball c.2 r.2 |
| 112 | |
| 113 | theorem doubleCauchy_eq (c : ℂ × ℂ) (r : ℝ × ℝ) |
| 114 | (hr : 0 ≤ r.1 ∧ 0 ≤ r.2) (f : ℂ × ℂ → ℂ) |
| 115 | (hd : ∀ w ∈ closedPolydisc c r, DifferentiableAt ℂ f w) |
| 116 | (F : C(Integral.Torus c r, ℂ)) (hF : ∀ t, F t = f (t.1, t.2)) |
| 117 | (z : ℂ × ℂ) (hz : z ∈ openPolydisc c r) : |
| 118 | Integral.doubleIntegral c r hr (Integral.kernel c r F z) = (2 * Real.pi * I : ℂ) ^ 2 * f z := by |
| 119 | let k : ℂ := 2 * Real.pi * I |
| 120 | have hd₂ (u : ℂ) (hu : u ∈ closedBall c.1 r.1) : |
| 121 | DifferentiableOn ℂ (fun v => f (u, v)) (closedBall c.2 r.2) := by |
| 122 | intro v hv |
| 123 | exact ((hd (u, v) ⟨hu, hv⟩).comp v |
| 124 | ((differentiableAt_const u).prodMk differentiableAt_id)).differentiableWithinAt |
| 125 | have hd₁ : DifferentiableOn ℂ (fun u => f (u, z.2)) (closedBall c.1 r.1) := by |
| 126 | intro u hu |
| 127 | exact ((hd (u, z.2) ⟨hu, ball_subset_closedBall hz.2⟩).comp u |
| 128 | (differentiableAt_id.prodMk (differentiableAt_const z.2))).differentiableWithinAt |
| 129 | have inner (u : CircleIntegral.CM.Boundary c.1 r.1) : |
| 130 | CircleIntegral.CM.integral c.2 r.2 hr.2 ((Integral.kernel c r F z).curry u) = |
| 131 | k * (((u : ℂ) - z.1)⁻¹ * f (u, z.2)) := by |
| 132 | rw [CircleIntegral.CM.integral_eq_of_boundary c.2 r.2 hr.2 _ |
| 133 | (fun v => ((u : ℂ) - z.1)⁻¹ * ((v - z.2)⁻¹ * f (u, v))) (by |
| 134 | intro v |
| 135 | rw [ContinuousMap.curry_apply, Integral.kernel_apply c r F z hz, hF] |
| 136 | ring)] |
| 137 | rw [circleIntegral.integral_const_mul] |
| 138 | have hc := (hd₂ u (sphere_subset_closedBall u.property)).circleIntegral_sub_inv_smul hz.2 |
| 139 | change (∮ v in C(c.2, r.2), (v - z.2)⁻¹ * f (u, v)) = k * f (u, z.2) at hc |
| 140 | rw [hc] |
| 141 | ring |
| 142 | rw [Integral.doubleIntegral_apply, CircleIntegral.CM.integral_eq_of_boundary c.1 r.1 hr.1 _ |
| 143 | (fun u => k * ((u - z.1)⁻¹ * f (u, z.2))) (by |
| 144 | intro u |
| 145 | exact inner u)] |
| 146 | rw [circleIntegral.integral_const_mul] |
| 147 | have hc := hd₁.circleIntegral_sub_inv_smul hz.1 |
| 148 | change (∮ u in C(c.1, r.1), (u - z.1)⁻¹ * f (u, z.2)) = k * f z at hc |
| 149 | rw [hc] |
| 150 | ring |
| 151 | |
| 152 | /-- Restrict the actual function to the product boundary. Continuity |
| 153 | comes from differentiability on a neighborhood of the closed polydisc. -/ |
| 154 | def boundaryValues (c : ℂ × ℂ) (r : ℝ × ℝ) (f : ℂ × ℂ → ℂ) |
| 155 | (hd : ∀ w ∈ closedPolydisc c r, DifferentiableAt ℂ f w) : C(Integral.Torus c r, ℂ) where |
| 156 | toFun t := f (t.1, t.2) |
| 157 | continuous_toFun := by |
| 158 | have hc : ContinuousOn f (closedPolydisc c r) := |
| 159 | fun w hw => (hd w hw).continuousAt.continuousWithinAt |
| 160 | apply hc.comp_continuous |
| 161 | · exact (continuous_subtype_val.comp continuous_fst).prodMk |
| 162 | (continuous_subtype_val.comp continuous_snd) |
| 163 | · intro t |
| 164 | exact ⟨sphere_subset_closedBall t.1.property, sphere_subset_closedBall t.2.property⟩ |
| 165 | |
| 166 | /-- On the interior, the holomorphic function agrees with a smooth |
| 167 | bounded-operator Cauchy integral. This proves joint smoothness. -/ |
| 168 | theorem contDiffAt_of_differentiable_polydisc |
| 169 | (c : ℂ × ℂ) (r : ℝ × ℝ) (hr : 0 ≤ r.1 ∧ 0 ≤ r.2) |
| 170 | (f : ℂ × ℂ → ℂ) (hd : ∀ w ∈ closedPolydisc c r, DifferentiableAt ℂ f w) |
| 171 | (z : ℂ × ℂ) (hz : z ∈ openPolydisc c r) : ContDiffAt ℂ ∞ f z := by |
| 172 | let F := boundaryValues c r f hd |
| 173 | let k : ℂ := (2 * Real.pi * I : ℂ) ^ 2 |
| 174 | have hk : k ≠ 0 := pow_ne_zero 2 Complex.two_pi_I_ne_zero |
| 175 | have heq : (fun w => k⁻¹ * Integral.doubleIntegral c r hr (Integral.kernel c r F w)) =ᶠ[nhds z] f := by |
| 176 | apply Filter.eventuallyEq_of_mem ((isOpen_ball.prod isOpen_ball).mem_nhds hz) |
| 177 | intro w hw |
| 178 | change k⁻¹ * Integral.doubleIntegral c r hr (Integral.kernel c r F w) = f w |
| 179 | rw [doubleCauchy_eq c r hr f hd F (fun _ => rfl) w hw] |
| 180 | exact inv_mul_cancel_left₀ hk (f w) |
| 181 | have hs : ContDiffAt ℂ ∞ |
| 182 | (fun w => k⁻¹ * Integral.doubleIntegral c r hr (Integral.kernel c r F w)) z := |
| 183 | contDiffAt_const.mul (Integral.doubleCauchy_contDiffAt c r hr F z hz) |
| 184 | exact hs.congr_of_eventuallyEq heq.symm |
| 185 | |
| 186 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.Formula |
| 187 | |
| 188 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.HolomorphicRegularity |
| 189 | |
| 190 | /-! Holomorphic maps from a complex two-dimensional coordinate chart are |
| 191 | smooth. Joint scalar regularity comes from the proved double Cauchy formula; |
| 192 | finite-dimensional targets are handled by their actual linear coordinates. -/ |
| 193 | |
| 194 | open scoped Classical ContDiff _root_.Topology |
| 195 | open _root_.Complex Set _root_.Metric Filter |
| 196 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.Formula |
| 197 | |
| 198 | theorem scalar_contDiffAt_of_eventually_differentiableAt |
| 199 | {f : ℂ × ℂ → ℂ} {z : ℂ × ℂ} |
| 200 | (h : ∀ᶠ w in nhds z, DifferentiableAt ℂ f w) : ContDiffAt ℂ ∞ f z := by |
| 201 | obtain ⟨ε, hε, hball⟩ := Metric.mem_nhds_iff.mp h |
| 202 | have hhalf : 0 < ε / 2 := half_pos hε |
| 203 | have hd : ∀ w ∈ Formula.closedPolydisc z (ε / 2, ε / 2), DifferentiableAt ℂ f w := by |
| 204 | intro w hw |
| 205 | apply hball |
| 206 | change dist w z < ε |
| 207 | rw [Prod.dist_eq] |
| 208 | exact max_lt ((show dist w.1 z.1 ≤ ε / 2 from hw.1).trans_lt (half_lt_self hε)) |
| 209 | ((show dist w.2 z.2 ≤ ε / 2 from hw.2).trans_lt (half_lt_self hε)) |
| 210 | exact Formula.contDiffAt_of_differentiable_polydisc z (ε / 2, ε / 2) |
| 211 | ⟨hhalf.le, hhalf.le⟩ f hd z ⟨mem_ball_self hhalf, mem_ball_self hhalf⟩ |
| 212 | |
| 213 | variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] |
| 214 | |
| 215 | /-- Linear coordinates reduce a finite-dimensional target to the scalar |
| 216 | two-variable regularity theorem. -/ |
| 217 | theorem contDiffAt_of_eventually_differentiableAt |
| 218 | {f : ℂ × ℂ → W} {z : ℂ × ℂ} |
| 219 | (h : ∀ᶠ w in nhds z, DifferentiableAt ℂ f w) : ContDiffAt ℂ ∞ f z := by |
| 220 | let e := (Module.finBasis ℂ W).equivFun.toContinuousLinearEquiv |
| 221 | have hc : ContDiffAt ℂ ∞ (fun w => e (f w)) z := by |
| 222 | apply contDiffAt_pi.mpr |
| 223 | intro i |
| 224 | apply scalar_contDiffAt_of_eventually_differentiableAt |
| 225 | filter_upwards [h] with w hw |
| 226 | exact (show (Fin (Module.finrank ℂ W) → ℂ) →L[ℂ] ℂ from |
| 227 | ContinuousLinearMap.proj i).differentiableAt.comp w (e.differentiableAt.comp w hw) |
| 228 | simpa only [Function.comp_def, ContinuousLinearEquiv.symm_apply_apply] |
| 229 | using e.symm.contDiff.contDiffAt.comp z hc |
| 230 | |
| 231 | /-- The same statement in the source ball's literal `Fin 2 → ℂ` coordinates. -/ |
| 232 | theorem finTwo_contDiffAt_of_eventually_differentiableAt |
| 233 | {f : (Fin 2 → ℂ) → W} {z : Fin 2 → ℂ} |
| 234 | (h : ∀ᶠ w in nhds z, DifferentiableAt ℂ f w) : ContDiffAt ℂ ∞ f z := by |
| 235 | let e := (LinearEquiv.finTwoArrow ℂ ℂ).toContinuousLinearEquiv |
| 236 | have ht : Tendsto e.symm (nhds (e z)) (nhds z) := by |
| 237 | simpa only [ContinuousAt, ContinuousLinearEquiv.symm_apply_apply] using |
| 238 | (e.symm.continuousAt : ContinuousAt e.symm (e z)) |
| 239 | have hg : ∀ᶠ w in nhds (e z), DifferentiableAt ℂ (fun u => f (e.symm u)) w := by |
| 240 | filter_upwards [ht.eventually h] with w hw |
| 241 | exact hw.comp w e.symm.differentiableAt |
| 242 | have hs := contDiffAt_of_eventually_differentiableAt hg |
| 243 | simpa only [Function.comp_def, ContinuousLinearEquiv.symm_apply_apply] |
| 244 | using hs.comp z e.contDiff.contDiffAt |
| 245 | |
| 246 | /-- Regularity is unchanged by a continuous linear identification of |
| 247 | the domain with the ball's two-dimensional model. -/ |
| 248 | theorem equiv_finTwo_contDiffAt_of_eventually_differentiableAt |
| 249 | {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 250 | (e : V ≃L[ℂ] (Fin 2 → ℂ)) {f : V → W} {z : V} |
| 251 | (h : ∀ᶠ w in nhds z, DifferentiableAt ℂ f w) : ContDiffAt ℂ ∞ f z := by |
| 252 | have ht : Tendsto e.symm (nhds (e z)) (nhds z) := by |
| 253 | simpa only [ContinuousAt, ContinuousLinearEquiv.symm_apply_apply] using |
| 254 | (e.symm.continuousAt : ContinuousAt e.symm (e z)) |
| 255 | have hg : ∀ᶠ w in nhds (e z), DifferentiableAt ℂ (fun u => f (e.symm u)) w := by |
| 256 | filter_upwards [ht.eventually h] with w hw |
| 257 | exact hw.comp w e.symm.differentiableAt |
| 258 | have hs := finTwo_contDiffAt_of_eventually_differentiableAt hg |
| 259 | simpa only [Function.comp_def, ContinuousLinearEquiv.symm_apply_apply] |
| 260 | using hs.comp z e.contDiff.contDiffAt |
| 261 | |
| 262 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.DoubleCauchy.CM.HolomorphicRegularity |
| 263 | |
| 264 | end |
| 265 | |
| 266 | end OAI |