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.CauchyAnnulusInvariance |
| 2 | |
| 3 | /-! # Annular Cauchy Formula -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AnnularCauchyFormula.Dolbeault |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The actual annular Cauchy formula for holomorphic functions on the |
| 12 | punctured complex line, with both contour orientations fixed explicitly. -/ |
| 13 | |
| 14 | open _root_.Complex Set _root_.Metric |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | theorem punctured_holomorphic_continuousOn_sphere {f : ℂ → ℂ} |
| 18 | (hf : DifferentiableOn ℂ f (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ)) {R : ℝ} (hR : 0 < R) : |
| 19 | ContinuousOn f (sphere 0 R) := by |
| 20 | apply hf.continuousOn.mono |
| 21 | intro w hw |
| 22 | have hn : ‖w‖ = R := by simpa only [mem_sphere, dist_zero_right] using hw |
| 23 | exact norm_pos_iff.mp (hn.symm ▸ hR) |
| 24 | |
| 25 | theorem punctured_circleIntegral_radius_eq {f : ℂ → ℂ} |
| 26 | (hf : DifferentiableOn ℂ f (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ)) |
| 27 | {r R : ℝ} (hr : 0 < r) (hrR : r ≤ R) : |
| 28 | (∮ w in C(0, R), f w) = ∮ w in C(0, r), f w := by |
| 29 | have hm {w : ℂ} (hw : w ∈ closedBall 0 R \ ball 0 r) : w ∈ PuncturedCauchy.Dolbeault.puncturedComplexOpen := |
| 30 | (CauchyAnnulusInvariance.Dolbeault.cauchyAnnulus_avoids_poles hr (z := 0) (Or.inl (by simpa only [norm_zero] using hr)) hw).1 |
| 31 | apply circleIntegral_eq_of_differentiable_on_annulus_off_countable hr hrR (s := ∅) countable_empty |
| 32 | · exact hf.continuousOn.mono (fun _ hw => hm hw) |
| 33 | · intro w hw |
| 34 | apply hf.differentiableAt |
| 35 | apply PuncturedCauchy.Dolbeault.puncturedComplexOpen.isOpen.mem_nhds |
| 36 | exact hm ⟨ball_subset_closedBall hw.1.1, fun h => hw.1.2 (ball_subset_closedBall h)⟩ |
| 37 | |
| 38 | theorem annularCauchyFormula {f : ℂ → ℂ} |
| 39 | (hf : DifferentiableOn ℂ f (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ)) |
| 40 | {r R : ℝ} (hr : 0 < r) {z : ℂ} (hrz : r < ‖z‖) (hzR : ‖z‖ < R) : |
| 41 | CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform f R z - CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform f r z = f z := by |
| 42 | have hz0 : z ∈ PuncturedCauchy.Dolbeault.puncturedComplexOpen := norm_pos_iff.mp (hr.trans hrz) |
| 43 | have hR : 0 < R := hr.trans (hrz.trans hzR) |
| 44 | have hd : DifferentiableOn ℂ (dslope f z) (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ) := |
| 45 | (Complex.differentiableOn_dslope (PuncturedCauchy.Dolbeault.puncturedComplexOpen.isOpen.mem_nhds hz0)).mpr hf |
| 46 | have hi := punctured_circleIntegral_radius_eq hd hr (hrz.trans hzR).le |
| 47 | rw [CauchyAnnulusInvariance.Dolbeault.circleIntegral_dslope_formula hR.le (ne_of_lt hzR) |
| 48 | (punctured_holomorphic_continuousOn_sphere hf hR), |
| 49 | CauchyAnnulusInvariance.Dolbeault.circleIntegral_dslope_formula hr.le (ne_of_gt hrz) |
| 50 | (punctured_holomorphic_continuousOn_sphere hf hr), |
| 51 | circleIntegral.integral_sub_inv_of_mem_ball (by simpa only [mem_ball, dist_zero_right] using hzR), |
| 52 | CauchyAnnulusInvariance.Dolbeault.circleIntegral_inv_eq_zero_outside hr.le hrz, zero_mul, sub_zero] at hi |
| 53 | have hdiff : (∮ w in C(0, R), f w / (w - z)) - (∮ w in C(0, r), f w / (w - z)) = |
| 54 | (2 * Real.pi * I : ℂ) * f z := by linear_combination hi |
| 55 | have hc : (2 * Real.pi * I : ℂ) ≠ 0 := by |
| 56 | exact mul_ne_zero (mul_ne_zero (by norm_num) (by exact_mod_cast Real.pi_ne_zero)) I_ne_zero |
| 57 | unfold CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform |
| 58 | rw [← mul_sub, hdiff, ← mul_assoc, inv_mul_cancel₀ hc, one_mul] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | /-! The positive Laurent part is an actual normalized Cauchy integral. |
| 63 | Contour invariance makes its variable-radius definition entire. -/ |
| 64 | |
| 65 | open _root_.Complex Set _root_.Metric Filter |
| 66 | open scoped _root_.Topology |
| 67 | |
| 68 | theorem cauchyCircleTransform_holomorphic {f : ℂ → ℂ} {R : ℝ} (hR : 0 < R) |
| 69 | (hf : CircleIntegrable f 0 R) {z : ℂ} (hz : ‖z‖ < R) : |
| 70 | DifferentiableAt ℂ (CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform f R) z := by |
| 71 | let r : NNReal := ⟨R, hR.le⟩ |
| 72 | have hp := hasFPowerSeriesOn_cauchy_integral (R := r) hf hR |
| 73 | have hz' : z ∈ Metric.eball (0 : ℂ) r := by |
| 74 | erw [Metric.eball_coe] |
| 75 | change dist z 0 < R |
| 76 | simpa only [dist_zero_right] using hz |
| 77 | change DifferentiableAt ℂ (fun w => (2 * Real.pi * I : ℂ)⁻¹ * |
| 78 | ∮ v in C(0, R), f v / (v - w)) z |
| 79 | simp only [div_eq_inv_mul] |
| 80 | convert (hp.analyticOnNhd z hz').differentiableAt using 1; rfl |
| 81 | |
| 82 | def positiveLaurentPart (f : ℂ → ℂ) (z : ℂ) : ℂ := |
| 83 | CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform f (‖z‖ + 1) z |
| 84 | |
| 85 | theorem positiveLaurentPart_eq_contour {f : ℂ → ℂ} |
| 86 | (hf : DifferentiableOn ℂ f (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ)) |
| 87 | {R : ℝ} {z : ℂ} (hz : ‖z‖ < R) : |
| 88 | positiveLaurentPart f z = CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform f R z := by |
| 89 | have hnorm : ‖z‖ < ‖z‖ + 1 := lt_add_one _ |
| 90 | have hpos : 0 < ‖z‖ + 1 := (norm_nonneg z).trans_lt hnorm |
| 91 | rcases le_total (‖z‖ + 1) R with h | h |
| 92 | · exact (CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform_radius_eq hf hpos h (Or.inl hnorm)).symm |
| 93 | · exact CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform_radius_eq hf ((norm_nonneg z).trans_lt hz) h (Or.inl hz) |
| 94 | |
| 95 | theorem positiveLaurentPart_entire {f : ℂ → ℂ} |
| 96 | (hf : DifferentiableOn ℂ f (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ)) : |
| 97 | Differentiable ℂ (positiveLaurentPart f) := by |
| 98 | intro z |
| 99 | let R := ‖z‖ + 1 |
| 100 | have hz : ‖z‖ < R := lt_add_one _ |
| 101 | have hR : 0 < R := (norm_nonneg z).trans_lt hz |
| 102 | have hlocal : positiveLaurentPart f =ᶠ[𝓝 z] CauchyAnnulusInvariance.Dolbeault.cauchyCircleTransform f R := by |
| 103 | filter_upwards [isOpen_ball.mem_nhds (show z ∈ ball 0 R by |
| 104 | simpa only [mem_ball, dist_zero_right] using hz)] with w hw |
| 105 | exact positiveLaurentPart_eq_contour hf (by simpa only [mem_ball, dist_zero_right] using hw) |
| 106 | exact (cauchyCircleTransform_holomorphic hR |
| 107 | ((punctured_holomorphic_continuousOn_sphere hf hR).circleIntegrable hR.le) hz).congr_of_eventuallyEq hlocal |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Comparison.Betti.AnnularCauchyFormula.Dolbeault |