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.VectorCauchyRightInverse |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.VectorAntiholomorphicDerivative |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 4 | |
| 5 | /-! # Cauchy Holomorphic Locus -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.CauchyHolomorphicLocus.Dolbeault |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual Cauchy primitive is holomorphic wherever its smooth |
| 14 | input vanishes. This permits polynomial corrections away from the |
| 15 | support when constructing global primitives. -/ |
| 16 | |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 20 | [IsScalarTower ℝ ℂ F] |
| 21 | |
| 22 | theorem differentiableAt_complex_of_vectorDbar_zero {g : ℂ → F} {z : ℂ} |
| 23 | (hg : DifferentiableAt ℝ g z) (hd : VectorDbar.Dolbeault.vectorDbar g z = 0) : DifferentiableAt ℂ g z := by |
| 24 | let D := fderiv ℝ g z |
| 25 | have ha : OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM ℂ F D = 0 := by |
| 26 | ext w |
| 27 | change OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM ℂ F D w = 0 |
| 28 | have h := OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM_apply_smul ℂ F D w 1 |
| 29 | change OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM ℂ F D 1 = 0 at hd |
| 30 | simpa only [smul_eq_mul, mul_one, hd, smul_zero] using h |
| 31 | have he : OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM ℂ F D = D := by |
| 32 | simpa only [ha, add_zero] using OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexDerivativeParts_add ℂ F D |
| 33 | let L : ℂ →L[ℂ] F := |
| 34 | { toFun := OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM ℂ F D |
| 35 | map_add' := (OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM ℂ F D).map_add |
| 36 | map_smul' := OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM_apply_smul ℂ F D |
| 37 | cont := (OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM ℂ F D).cont } |
| 38 | have hL : L.restrictScalars ℝ = D := by |
| 39 | ext w |
| 40 | exact congrArg (fun A : ℂ →L[ℝ] F => A w) he |
| 41 | exact (hasFDerivAt_of_restrictScalars ℝ hg.hasFDerivAt hL).differentiableAt |
| 42 | |
| 43 | theorem vectorCauchyTransform_holomorphic_on_zero [CompleteSpace F] {g : ℂ → F} |
| 44 | (hg : ContDiff ℝ ∞ g) (hc : HasCompactSupport g) {U : Set ℂ} |
| 45 | (hzero : ∀ z ∈ U, g z = 0) : DifferentiableOn ℂ (VectorCauchyTransform.Dolbeault.vectorCauchyTransform g) U := by |
| 46 | intro z hz |
| 47 | apply DifferentiableAt.differentiableWithinAt |
| 48 | apply differentiableAt_complex_of_vectorDbar_zero |
| 49 | ((VectorCauchyTransform.Dolbeault.vectorCauchyTransform_smooth hc hg).differentiable (by simp) z) |
| 50 | exact (VectorCauchyRightInverse.Dolbeault.vectorDbar_cauchyTransform hg hc z).trans (hzero z hz) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-! The actual antiholomorphic derivative respects finite sums, |
| 55 | differences and germs, and vanishes on holomorphic functions. -/ |
| 56 | |
| 57 | open scoped _root_.Topology |
| 58 | |
| 59 | variable {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 60 | [IsScalarTower ℝ ℂ F] |
| 61 | |
| 62 | theorem vectorDbar_add {g h : ℂ → F} {z : ℂ} |
| 63 | (hg : DifferentiableAt ℝ g z) (hh : DifferentiableAt ℝ h z) : |
| 64 | VectorDbar.Dolbeault.vectorDbar (fun w => g w + h w) z = VectorDbar.Dolbeault.vectorDbar g z + VectorDbar.Dolbeault.vectorDbar h z := by |
| 65 | simp only [VectorDbar.Dolbeault.vectorDbar, fderiv_fun_add hg hh, map_add, add_apply] |
| 66 | |
| 67 | theorem vectorDbar_sub {g h : ℂ → F} {z : ℂ} |
| 68 | (hg : DifferentiableAt ℝ g z) (hh : DifferentiableAt ℝ h z) : |
| 69 | VectorDbar.Dolbeault.vectorDbar (fun w => g w - h w) z = VectorDbar.Dolbeault.vectorDbar g z - VectorDbar.Dolbeault.vectorDbar h z := by |
| 70 | simp only [VectorDbar.Dolbeault.vectorDbar, fderiv_fun_sub hg hh, map_sub, sub_apply] |
| 71 | |
| 72 | theorem vectorDbar_sum {ι : Type*} (s : Finset ι) {g : ι → ℂ → F} {z : ℂ} |
| 73 | (hg : ∀ i ∈ s, DifferentiableAt ℝ (g i) z) : |
| 74 | VectorDbar.Dolbeault.vectorDbar (fun w => ∑ i ∈ s, g i w) z = ∑ i ∈ s, VectorDbar.Dolbeault.vectorDbar (g i) z := by |
| 75 | simp only [VectorDbar.Dolbeault.vectorDbar, fderiv_fun_sum hg, map_sum, sum_apply] |
| 76 | |
| 77 | theorem vectorDbar_congr {g h : ℂ → F} {z : ℂ} (he : g =ᶠ[𝓝 z] h) : |
| 78 | VectorDbar.Dolbeault.vectorDbar g z = VectorDbar.Dolbeault.vectorDbar h z := by |
| 79 | unfold VectorDbar.Dolbeault.vectorDbar |
| 80 | rw [he.fderiv_eq] |
| 81 | |
| 82 | theorem vectorDbar_zero_of_holomorphic {g : ℂ → F} {z : ℂ} |
| 83 | (hg : DifferentiableAt ℂ g z) : VectorDbar.Dolbeault.vectorDbar g z = 0 := by |
| 84 | rw [VectorDbar.Dolbeault.vectorDbar, hg.fderiv_restrictScalars ℝ, OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM_apply] |
| 85 | change (1 / 2 : ℂ) • |
| 86 | (fderiv ℂ g z 1 + Complex.I • fderiv ℂ g z (Complex.I • (1 : ℂ))) = 0 |
| 87 | rw [map_smul, smul_smul, Complex.I_mul_I, neg_one_smul, add_neg_cancel, smul_zero] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Comparison.Betti.CauchyHolomorphicLocus.Dolbeault |