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.PolynomialDivisionKernel |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt |
| 3 | |
| 4 | /-! # Division Formula -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.DivisionFormula.Weierstrass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact holomorphic division by a polynomial with no boundary zeros. |
| 11 | The quotient and the strictly bounded remainder are actual contour integrals. -/ |
| 12 | |
| 13 | open Set Filter _root_.Metric _root_.Complex _root_.Polynomial |
| 14 | open scoped _root_.Topology BigOperators |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder |
| 17 | |
| 18 | def divisionQuotient (P : Polynomial ℂ) (g : ℂ → ℂ) (c : ℂ) (R : ℝ) (w : ℂ) : ℂ := |
| 19 | (2 * Real.pi * I : ℂ)⁻¹ * ∮ z in C(c, R), g z / (P.eval z * (z - w)) |
| 20 | |
| 21 | theorem remainderPolynomial_coeff_zero (P : Polynomial ℂ) (g : ℂ → ℂ) (c : ℂ) (R : ℝ) |
| 22 | (k : ℕ) (hk : P.natDegree ≤ k) : |
| 23 | (ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderPolynomial P.natDegree P g c R).coeff k = 0 := by |
| 24 | rw [ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderPolynomial_coeff] |
| 25 | split_ifs |
| 26 | · have he : (fun z => g z / P.eval z * ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff P.natDegree P z k) = 0 := by |
| 27 | funext z |
| 28 | rw [ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff_eq P rfl, PolynomialDivisionKernel.Weierstrass.division_kernel_coeff_zero P z k hk, mul_zero] |
| 29 | rfl |
| 30 | unfold ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderCoeff |
| 31 | rw [he] |
| 32 | simp [circleIntegral] |
| 33 | · rfl |
| 34 | |
| 35 | theorem continuous_division_kernel (P : Polynomial ℂ) (w : ℂ) : |
| 36 | Continuous (fun z => (P /ₘ (X - C z)).eval w) := by |
| 37 | have he : (fun z => (P /ₘ (X - C z)).eval w) = |
| 38 | fun z => ∑ k ∈ Finset.range (P.natDegree + 1), ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff P.natDegree P z k * w ^ k := by |
| 39 | funext z |
| 40 | exact ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernel_eval_eq P rfl z w |
| 41 | rw [he] |
| 42 | exact continuous_finsetSum _ (fun k _ => (ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.continuous_kernelCoeff P.natDegree P k).mul_const _) |
| 43 | |
| 44 | theorem remainderPolynomial_eval_integral (P : Polynomial ℂ) (g : ℂ → ℂ) |
| 45 | (c : ℂ) (R : ℝ) (w : ℂ) (hR : 0 ≤ R) (hg : ContinuousOn g (sphere c R)) |
| 46 | (hP : ∀ z ∈ sphere c R, P.eval z ≠ 0) : |
| 47 | (ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderPolynomial P.natDegree P g c R).eval w = |
| 48 | (2 * Real.pi * I : ℂ)⁻¹ * ∮ z in C(c, R), g z / P.eval z * (P /ₘ (X - C z)).eval w := by |
| 49 | have hc (k : ℕ) : CircleIntegrable |
| 50 | (fun z => g z / P.eval z * ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff P.natDegree P z k * w ^ k) c R := |
| 51 | (((hg.div P.continuous.continuousOn hP).mul |
| 52 | (ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.continuous_kernelCoeff P.natDegree P k).continuousOn).mul_const _).circleIntegrable hR |
| 53 | calc |
| 54 | _ = ∑ k ∈ Finset.range (P.natDegree + 1), ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderCoeff P.natDegree P g c R k * w ^ k := by |
| 55 | simp only [ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderPolynomial, eval_finsetSum, eval_monomial] |
| 56 | _ = (2 * Real.pi * I : ℂ)⁻¹ * ∑ k ∈ Finset.range (P.natDegree + 1), |
| 57 | (∮ z in C(c, R), g z / P.eval z * ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff P.natDegree P z k * w ^ k) := by |
| 58 | simp only [ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderCoeff, Finset.mul_sum] |
| 59 | apply Finset.sum_congr rfl |
| 60 | intro k _ |
| 61 | have h := circleIntegral.integral_smul_const |
| 62 | (fun z => g z / P.eval z * ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff P.natDegree P z k) (w ^ k) c R |
| 63 | simp only [smul_eq_mul] at h |
| 64 | rw [h, mul_assoc] |
| 65 | _ = (2 * Real.pi * I : ℂ)⁻¹ * (∮ z in C(c, R), |
| 66 | ∑ k ∈ Finset.range (P.natDegree + 1), g z / P.eval z * ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernelCoeff P.natDegree P z k * w ^ k) := by |
| 67 | rw [circleIntegral.integral_fun_sum (fun k _ => hc k)] |
| 68 | _ = _ := by |
| 69 | congr 1 |
| 70 | apply circleIntegral.integral_congr hR |
| 71 | intro z _ |
| 72 | dsimp only |
| 73 | rw [ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.kernel_eval_eq P rfl] |
| 74 | simp only [Finset.mul_sum, mul_assoc] |
| 75 | |
| 76 | theorem holomorphic_division_formula (P : Polynomial ℂ) (g : ℂ → ℂ) |
| 77 | (c : ℂ) (R : ℝ) (w : ℂ) (hR : 0 < R) |
| 78 | (hg : DifferentiableOn ℂ g (closedBall c R)) |
| 79 | (hP : ∀ z ∈ sphere c R, P.eval z ≠ 0) (hw : w ∈ ball c R) : |
| 80 | g w = (ComplexGroups.HolomorphicAlgebraicity.ContourRemainderAt.Constructions.ContourRemainder.remainderPolynomial P.natDegree P g c R).eval w + P.eval w * divisionQuotient P g c R w := by |
| 81 | have hzw (z : ℂ) (hz : z ∈ sphere c R) : z - w ≠ 0 := by |
| 82 | intro h |
| 83 | have h' := sub_eq_zero.mp h |
| 84 | exact (ne_of_lt (mem_ball.mp hw)) (h' ▸ mem_sphere.mp hz) |
| 85 | have hgc : ContinuousOn g (sphere c R) := hg.continuousOn.mono sphere_subset_closedBall |
| 86 | have hA : CircleIntegrable (fun z => g z / P.eval z * (P /ₘ (X - C z)).eval w) c R := |
| 87 | ((hgc.div P.continuous.continuousOn hP).mul (continuous_division_kernel P w).continuousOn).circleIntegrable hR.le |
| 88 | have hQ : CircleIntegrable (fun z => g z / (P.eval z * (z - w))) c R := |
| 89 | (hgc.div (P.continuous.continuousOn.mul (continuous_id.sub continuous_const).continuousOn) |
| 90 | (fun z hz => mul_ne_zero (hP z hz) (hzw z hz))).circleIntegrable hR.le |
| 91 | have hC := hg.circleIntegral_sub_inv_smul hw |
| 92 | simp only [smul_eq_mul] at hC |
| 93 | rw [remainderPolynomial_eval_integral P g c R w hR.le hgc hP] |
| 94 | unfold divisionQuotient |
| 95 | have hi : (∮ z in C(c, R), g z / P.eval z * (P /ₘ (X - C z)).eval w) + |
| 96 | P.eval w * (∮ z in C(c, R), g z / (P.eval z * (z - w))) = |
| 97 | ∮ z in C(c, R), (z - w)⁻¹ * g z := by |
| 98 | have hB : CircleIntegrable (fun z => P.eval w * (g z / (P.eval z * (z - w)))) c R := by |
| 99 | simpa only [smul_eq_mul] using hQ.const_fun_smul (a := P.eval w) |
| 100 | rw [← circleIntegral.integral_const_mul, ← circleIntegral.integral_add hA hB] |
| 101 | apply circleIntegral.integral_congr hR.le |
| 102 | intro z hz |
| 103 | simpa only [smul_eq_mul, div_eq_mul_inv, mul_comm] using |
| 104 | PolynomialDivisionKernel.Weierstrass.polynomial_division_kernel_fraction P (g z) z w (hP z hz) (hzw z hz) |
| 105 | calc |
| 106 | g w = (2 * Real.pi * I : ℂ)⁻¹ * (∮ z in C(c, R), (z - w)⁻¹ * g z) := by |
| 107 | rw [hC, ← mul_assoc, inv_mul_cancel₀ two_pi_I_ne_zero, one_mul] |
| 108 | _ = _ := by rw [← hi]; ring |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.DivisionFormula.Weierstrass |