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.Comparison.Betti.PuncturedCauchy |
| 2 | import Mathlib.Analysis.Complex.RemovableSingularity |
| 3 | |
| 4 | /-! # Cauchy Annulus Invariance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.CauchyAnnulusInvariance.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The normalized Cauchy circle transform of a holomorphic function on |
| 13 | the punctured line is unchanged when the contour moves past no pole. -/ |
| 14 | |
| 15 | open _root_.Complex Set _root_.Metric |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | def cauchyCircleTransform (f : ℂ → ℂ) (R : ℝ) (z : ℂ) : ℂ := |
| 19 | (2 * Real.pi * I : ℂ)⁻¹ * ∮ w in C(0, R), f w / (w - z) |
| 20 | |
| 21 | theorem cauchyAnnulus_avoids_poles {r R : ℝ} (hr : 0 < r) {z w : ℂ} |
| 22 | (hz : ‖z‖ < r ∨ R < ‖z‖) (hw : w ∈ closedBall 0 R \ ball 0 r) : |
| 23 | w ≠ 0 ∧ w ≠ z := by |
| 24 | have hwr : r ≤ ‖w‖ := by simpa only [mem_ball, dist_zero_right, not_lt] using hw.2 |
| 25 | have hwR : ‖w‖ ≤ R := by simpa only [mem_closedBall, dist_zero_right] using hw.1 |
| 26 | constructor |
| 27 | · intro h |
| 28 | rw [h, norm_zero] at hwr |
| 29 | exact (not_le_of_gt hr) hwr |
| 30 | · intro h |
| 31 | rw [h] at hwr hwR |
| 32 | rcases hz with hz | hz |
| 33 | · exact (not_le_of_gt hz) hwr |
| 34 | · exact (not_le_of_gt hz) hwR |
| 35 | |
| 36 | theorem cauchyCircleTransform_radius_eq {f : ℂ → ℂ} |
| 37 | (hf : DifferentiableOn ℂ f (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ)) |
| 38 | {r R : ℝ} (hr : 0 < r) (hrR : r ≤ R) {z : ℂ} |
| 39 | (hz : ‖z‖ < r ∨ R < ‖z‖) : |
| 40 | cauchyCircleTransform f R z = cauchyCircleTransform f r z := by |
| 41 | have hd (w : ℂ) (hw : w ∈ closedBall 0 R \ ball 0 r) : |
| 42 | DifferentiableAt ℂ (fun v => f v / (v - z)) w := by |
| 43 | obtain ⟨hw0, hwz⟩ := cauchyAnnulus_avoids_poles hr hz hw |
| 44 | exact (hf.differentiableAt (PuncturedCauchy.Dolbeault.puncturedComplexOpen.isOpen.mem_nhds hw0)).div |
| 45 | (differentiableAt_id.sub_const z) (sub_ne_zero.mpr hwz) |
| 46 | unfold cauchyCircleTransform |
| 47 | apply congrArg (fun a : ℂ => (2 * Real.pi * I : ℂ)⁻¹ * a) |
| 48 | apply circleIntegral_eq_of_differentiable_on_annulus_off_countable hr hrR |
| 49 | (s := ∅) countable_empty |
| 50 | · exact fun w hw => (hd w hw).continuousAt.continuousWithinAt |
| 51 | · intro w hw |
| 52 | exact hd w ⟨ball_subset_closedBall hw.1.1, fun h => hw.1.2 (ball_subset_closedBall h)⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | /-! Removing the evaluation pole from the Cauchy integrand by the actual |
| 57 | divided difference, including the circle integral outside that pole. -/ |
| 58 | |
| 59 | open _root_.Complex Set _root_.Metric |
| 60 | open scoped _root_.Topology |
| 61 | |
| 62 | theorem circleIntegral_inv_eq_zero_outside {R : ℝ} (hR : 0 ≤ R) {z : ℂ} (hz : R < ‖z‖) : |
| 63 | (∮ w in C(0, R), (w - z)⁻¹) = 0 := by |
| 64 | have hd (w : ℂ) (hw : w ∈ closedBall 0 R) : |
| 65 | DifferentiableAt ℂ (fun v => (v - z)⁻¹) w := by |
| 66 | apply (differentiableAt_id.sub_const z).inv |
| 67 | intro h |
| 68 | have hwz := sub_eq_zero.mp h |
| 69 | have hn : ‖w‖ ≤ R := by simpa only [mem_closedBall, dist_zero_right] using hw |
| 70 | exact (not_le_of_gt hz) (hwz ▸ hn) |
| 71 | exact circleIntegral_eq_zero_of_differentiable_on_off_countable hR countable_empty |
| 72 | (fun w hw => (hd w hw).continuousAt.continuousWithinAt) |
| 73 | (fun w hw => hd w (ball_subset_closedBall hw.1)) |
| 74 | |
| 75 | theorem circleIntegral_dslope_formula {f : ℂ → ℂ} {R : ℝ} (hR : 0 ≤ R) {z : ℂ} |
| 76 | (hz : ‖z‖ ≠ R) (hf : ContinuousOn f (sphere 0 R)) : |
| 77 | (∮ w in C(0, R), dslope f z w) = |
| 78 | (∮ w in C(0, R), f w / (w - z)) - (∮ w in C(0, R), (w - z)⁻¹) * f z := by |
| 79 | have hne (w : ℂ) (hw : w ∈ sphere 0 R) : w ≠ z := by |
| 80 | intro h |
| 81 | apply hz |
| 82 | simpa only [h, mem_sphere, dist_zero_right] using hw |
| 83 | have hi : ContinuousOn (fun w : ℂ => (w - z)⁻¹) (sphere 0 R) := by |
| 84 | intro w hw |
| 85 | have hd : DifferentiableAt ℂ (fun v => (v - z)⁻¹) w := |
| 86 | (differentiableAt_id.sub_const z).inv (sub_ne_zero.mpr (hne w hw)) |
| 87 | exact hd.continuousAt.continuousWithinAt |
| 88 | have hg : CircleIntegrable (fun w => f w / (w - z)) 0 R := |
| 89 | (hf.div (continuousOn_id.sub continuousOn_const) |
| 90 | (fun w hw => sub_ne_zero.mpr (hne w hw))).circleIntegrable hR |
| 91 | have hk : CircleIntegrable (fun w : ℂ => (w - z)⁻¹ • f z) 0 R := |
| 92 | (hi.smul continuousOn_const).circleIntegrable hR |
| 93 | calc |
| 94 | _ = ∮ w in C(0, R), f w / (w - z) - (w - z)⁻¹ • f z := by |
| 95 | apply circleIntegral.integral_congr hR |
| 96 | intro w hw |
| 97 | rw [dslope_of_ne f (hne w hw)] |
| 98 | simp only [slope, vsub_eq_sub, smul_eq_mul, div_eq_inv_mul, mul_sub] |
| 99 | _ = _ := by |
| 100 | rw [circleIntegral.integral_sub hg hk, circleIntegral.integral_smul_const] |
| 101 | rfl |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Comparison.Betti.CauchyAnnulusInvariance.Dolbeault |