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.Smooth.ContourDerivative |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 3 | |
| 4 | /-! # Cauchy Parameter Coefficients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.CauchyParameterCoefficients.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth dependence and the actual parameter derivative of the |
| 11 | coefficients of the original Cauchy power series. -/ |
| 12 | |
| 13 | open Set _root_.Metric _root_.Complex |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 18 | |
| 19 | def cauchyParameterCoefficient (g : P × ℂ → F) (c : ℂ) (r : ℝ) (n : ℕ) (p : P) : F := |
| 20 | (2 * Real.pi * I : ℂ)⁻¹ • |
| 21 | circleIntegral (fun z => (z - c)⁻¹ ^ n • (z - c)⁻¹ • g (p, z)) c r |
| 22 | |
| 23 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedSpace ℝ F] [IsScalarTower ℝ ℂ F] in |
| 24 | theorem cauchyPowerSeries_eq_parameterCoefficient (g : P × ℂ → F) |
| 25 | (c : ℂ) (r : ℝ) (n : ℕ) (p : P) (w : ℂ) : |
| 26 | cauchyPowerSeries (fun z => g (p, z)) c r n (fun _ => w) = |
| 27 | w ^ n • cauchyParameterCoefficient g c r n p := by |
| 28 | simp only [cauchyPowerSeries, ContinuousMultilinearMap.mkPiRing_apply, |
| 29 | Fin.prod_const, cauchyParameterCoefficient] |
| 30 | |
| 31 | variable [FiniteDimensional ℝ P] |
| 32 | |
| 33 | theorem cauchyParameterCoefficient_smooth {g : P × ℂ → F} {W : Set (P × ℂ)} |
| 34 | (hW : IsOpen W) (hg : ContDiffOn ℝ ∞ g W) {S : Set P} (hS : IsOpen S) |
| 35 | {c : ℂ} {r : ℝ} (hr : 0 < r) (hSW : S ×ˢ sphere c r ⊆ W) (n : ℕ) : |
| 36 | ContDiffOn ℝ ∞ (cauchyParameterCoefficient g c r n) S := by |
| 37 | let V : Set (P × ℂ) := W ∩ {q | q.2 - c ≠ 0} |
| 38 | have hV : IsOpen V := hW.inter (isOpen_ne_fun (continuous_snd.sub continuous_const) continuous_const) |
| 39 | have hi : ContDiffOn ℝ ∞ (fun q : P × ℂ => (q.2 - c)⁻¹) V := |
| 40 | (contDiffOn_snd.sub contDiffOn_const).inv (fun q hq => hq.2) |
| 41 | have hG : ContDiffOn ℝ ∞ (fun q : P × ℂ => |
| 42 | (q.2 - c)⁻¹ ^ n • (q.2 - c)⁻¹ • g q) V := |
| 43 | (hi.pow n).smul (hi.smul (hg.mono inter_subset_left)) |
| 44 | have hSV : S ×ˢ sphere c r ⊆ V := by |
| 45 | intro q hq |
| 46 | refine ⟨hSW hq, ?_⟩ |
| 47 | intro he |
| 48 | have hqc := sub_eq_zero.mp he |
| 49 | have hz := hq.2 |
| 50 | rw [hqc, mem_sphere, dist_self] at hz |
| 51 | exact (ne_of_gt hr) hz.symm |
| 52 | exact (Smooth.ContourDerivative.Dolbeault.contDiffOn_circleIntegral_smooth hV hG hS hr.le hSV).const_smul _ |
| 53 | |
| 54 | theorem hasFDerivAt_cauchyParameterCoefficient {g : P × ℂ → F} {W : Set (P × ℂ)} |
| 55 | (hW : IsOpen W) (hg : ContDiffOn ℝ ∞ g W) {S : Set P} (hS : IsOpen S) |
| 56 | {p : P} (hp : p ∈ S) {c : ℂ} {r : ℝ} (hr : 0 < r) |
| 57 | (hSW : S ×ˢ sphere c r ⊆ W) (n : ℕ) : |
| 58 | HasFDerivAt (cauchyParameterCoefficient g c r n) |
| 59 | (cauchyParameterCoefficient (Smooth.ContourDerivative.Dolbeault.circleParameterDerivative g) c r n p) p := by |
| 60 | have hi : ContinuousOn (fun q : P × ℂ => (q.2 - c)⁻¹) (S ×ˢ sphere c r) := by |
| 61 | apply (continuousOn_snd.sub continuousOn_const).inv₀ |
| 62 | intro q hq he |
| 63 | have hz := hq.2 |
| 64 | rw [sub_eq_zero.mp he, mem_sphere, dist_self] at hz |
| 65 | exact (ne_of_gt hr) hz.symm |
| 66 | have hG := (hi.pow n).smul (hi.smul (hg.continuousOn.mono hSW)) |
| 67 | have hG' := (hi.pow n).smul |
| 68 | (hi.smul ((Smooth.ContourDerivative.Dolbeault.circleParameterDerivative_smooth hW hg).continuousOn.mono hSW)) |
| 69 | have hD : HasFDerivAt |
| 70 | (fun q => circleIntegral (fun z => (z - c)⁻¹ ^ n • (z - c)⁻¹ • g (q, z)) c r) |
| 71 | (circleIntegral (fun z => |
| 72 | (z - c)⁻¹ ^ n • (z - c)⁻¹ • Smooth.ContourDerivative.Dolbeault.circleParameterDerivative g (p, z)) c r) p := by |
| 73 | apply Smooth.ParameterCircleIntegral.Dolbeault.hasFDerivAt_parameter_circleIntegral |
| 74 | (g := fun q z => (z - c)⁻¹ ^ n • (z - c)⁻¹ • g (q, z)) |
| 75 | (g' := fun q z => (z - c)⁻¹ ^ n • (z - c)⁻¹ • Smooth.ContourDerivative.Dolbeault.circleParameterDerivative g (q, z)) |
| 76 | hS hp hr.le hG hG' |
| 77 | intro q hq z hz |
| 78 | have hqz : (q, z) ∈ W := hSW ⟨hq, hz⟩ |
| 79 | have hd : HasFDerivAt (fun x => g (x, z)) (Smooth.ContourDerivative.Dolbeault.circleParameterDerivative g (q, z)) q := |
| 80 | ((hg.contDiffAt (hW.mem_nhds hqz)).differentiableAt (by simp)).hasFDerivAt.comp q |
| 81 | (hasFDerivAt_prodMk_left (𝕜 := ℝ) q z) |
| 82 | exact (hd.const_smul (z - c)⁻¹).const_smul ((z - c)⁻¹ ^ n) |
| 83 | exact hD.const_smul (2 * Real.pi * I : ℂ)⁻¹ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Comparison.Betti.CauchyParameterCoefficients.Dolbeault |