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.DivisorClass.Chern.CauchyPolarIntegral |
| 2 | |
| 3 | /-! # Parametric Cauchy F -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ParametricCauchyF |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Actual Cauchy primitives depending smoothly on parameters on an open domain. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory _root_.Complex Set |
| 14 | open scoped ContDiff Convolution |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 21 | |
| 22 | def parametricCauchyTransform (g : P → ℂ → ℂ) (q : P × ℂ) : ℂ := CauchyKernel.cauchyTransform (g q.1) q.2 |
| 23 | |
| 24 | theorem parametricCauchyTransform_smooth {g : P → ℂ → ℂ} {S : Set P} {K : Set ℂ} |
| 25 | (hS : IsOpen S) (hK : IsCompact K) |
| 26 | (hsupp : ∀ p w, p ∈ S → w ∉ K → g p w = 0) |
| 27 | (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ univ)) : |
| 28 | ContDiffOn ℝ ∞ (parametricCauchyTransform g) (S ×ˢ univ) := |
| 29 | contDiffOn_convolution_right_with_param (ContinuousLinearMap.mul ℝ ℂ) |
| 30 | hS hK hsupp CauchyKernel.cauchyKernel_locallyIntegrable hg |
| 31 | |
| 32 | theorem parametricCauchyTransform_slice_primitive {g : P → ℂ → ℂ} {S : Set P} {K : Set ℂ} |
| 33 | (hK : IsCompact K) (hsupp : ∀ p w, p ∈ S → w ∉ K → g p w = 0) |
| 34 | (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ univ)) {p : P} (hp : p ∈ S) (z : ℂ) : |
| 35 | CauchyPolarCalculus.complexDbar (fun w => parametricCauchyTransform g (p, w)) z = g p z := by |
| 36 | have hcompact : HasCompactSupport (g p) := |
| 37 | exists_compact_iff_hasCompactSupport.mp ⟨K, hK, fun w hw => hsupp p w hp hw⟩ |
| 38 | have hsmooth : ContDiff ℝ ∞ (g p) := by |
| 39 | rw [← contDiffOn_univ] |
| 40 | exact hg.comp (contDiff_const.prodMk contDiff_id).contDiffOn (fun _ _ => ⟨hp, mem_univ _⟩) |
| 41 | exact CauchyPolarIntegral.complexDbar_cauchyTransform hsmooth hcompact z |
| 42 | |
| 43 | theorem parametricCauchyTransform_hasFDerivAt {g : P → ℂ → ℂ} {S : Set P} {K : Set ℂ} |
| 44 | (hS : IsOpen S) (hK : IsCompact K) |
| 45 | (hsupp : ∀ p w, p ∈ S → w ∉ K → g p w = 0) |
| 46 | (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ univ)) |
| 47 | (q : P × ℂ) (hq : q.1 ∈ S) : |
| 48 | HasFDerivAt (parametricCauchyTransform g) |
| 49 | ((CauchyKernel.cauchyKernel ⋆[(ContinuousLinearMap.mul ℝ ℂ).precompR (P × ℂ), volume] |
| 50 | fun w : ℂ => fderiv ℝ (Function.uncurry g) (q.1, w)) q.2) q := |
| 51 | hasFDerivAt_convolution_right_with_param (ContinuousLinearMap.mul ℝ ℂ) |
| 52 | hS hK hsupp CauchyKernel.cauchyKernel_locallyIntegrable (hg.of_le (by simp)) q hq |
| 53 | |
| 54 | end |
| 55 | |
| 56 | section |
| 57 | |
| 58 | /-! Differentiating the actual parameter-dependent Cauchy integral. -/ |
| 59 | |
| 60 | open _root_.MeasureTheory _root_.Complex Set Filter |
| 61 | open scoped ContDiff Convolution _root_.Topology |
| 62 | |
| 63 | set_option backward.isDefEq.respectTransparency false |
| 64 | set_option backward.isDefEq.respectTransparency.types false |
| 65 | set_option backward.defeqAttrib.useBackward true |
| 66 | |
| 67 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 68 | |
| 69 | theorem parametricDerivativeSlice_hasCompactSupport {g : P → ℂ → ℂ} {S : Set P} {K : Set ℂ} |
| 70 | (hS : IsOpen S) (hK : IsCompact K) |
| 71 | (hsupp : ∀ p w, p ∈ S → w ∉ K → g p w = 0) {p : P} (hp : p ∈ S) : |
| 72 | HasCompactSupport (fun w : ℂ => fderiv ℝ (Function.uncurry g) (p, w)) := by |
| 73 | apply exists_compact_iff_hasCompactSupport.mp |
| 74 | refine ⟨K, hK, fun w hw => ?_⟩ |
| 75 | have he : Function.uncurry g =ᶠ[𝓝 (p, w)] 0 := by |
| 76 | filter_upwards [(hS.prod hK.isClosed.isOpen_compl).mem_nhds ⟨hp, hw⟩] with q hq |
| 77 | exact hsupp q.1 q.2 hq.1 hq.2 |
| 78 | rw [he.fderiv_eq] |
| 79 | exact (hasFDerivAt_const (0 : ℂ) (p, w)).fderiv |
| 80 | |
| 81 | theorem parametricDerivativeSlice_continuous {g : P → ℂ → ℂ} {S : Set P} |
| 82 | (hS : IsOpen S) (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ univ)) |
| 83 | {p : P} (hp : p ∈ S) : |
| 84 | Continuous (fun w : ℂ => fderiv ℝ (Function.uncurry g) (p, w)) := by |
| 85 | have hd := hg.fderiv_of_isOpen (hS.prod isOpen_univ) (m := ∞) (by simp) |
| 86 | have hs : ContDiffOn ℝ ∞ (fun w : ℂ => fderiv ℝ (Function.uncurry g) (p, w)) univ := |
| 87 | hd.comp (contDiff_const.prodMk contDiff_id).contDiffOn (fun _ _ => ⟨hp, mem_univ _⟩) |
| 88 | exact (contDiffOn_univ.mp hs).continuous |
| 89 | |
| 90 | theorem parametricCauchyTransform_fderiv_apply {g : P → ℂ → ℂ} {S : Set P} {K : Set ℂ} |
| 91 | (hS : IsOpen S) (hK : IsCompact K) |
| 92 | (hsupp : ∀ p w, p ∈ S → w ∉ K → g p w = 0) |
| 93 | (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ univ)) |
| 94 | (q : P × ℂ) (hq : q.1 ∈ S) (v : P × ℂ) : |
| 95 | fderiv ℝ (parametricCauchyTransform g) q v = |
| 96 | ∫ w : ℂ, CauchyKernel.cauchyKernel w * fderiv ℝ (Function.uncurry g) (q.1, q.2 - w) v := by |
| 97 | rw [(parametricCauchyTransform_hasFDerivAt hS hK hsupp hg q hq).fderiv] |
| 98 | have hi := (parametricDerivativeSlice_hasCompactSupport hS hK hsupp hq).convolutionExists_right |
| 99 | ((ContinuousLinearMap.mul ℝ ℂ).precompR (P × ℂ)) CauchyKernel.cauchyKernel_locallyIntegrable |
| 100 | (parametricDerivativeSlice_continuous hS hg hq) q.2 |
| 101 | exact ContinuousLinearMap.integral_apply hi.integrable v |
| 102 | |
| 103 | variable [NormedSpace ℂ P] |
| 104 | |
| 105 | theorem parametricCauchyTransform_preserves_holomorphic_direction |
| 106 | {g : P → ℂ → ℂ} {S : Set P} {K : Set ℂ} |
| 107 | (hS : IsOpen S) (hK : IsCompact K) |
| 108 | (hsupp : ∀ p w, p ∈ S → w ∉ K → g p w = 0) |
| 109 | (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ univ)) |
| 110 | (q : P × ℂ) (hq : q.1 ∈ S) (v : P) |
| 111 | (hv : ∀ w : ℂ, fderiv ℝ (Function.uncurry g) (q.1, w) (I • v, 0) = |
| 112 | I * fderiv ℝ (Function.uncurry g) (q.1, w) (v, 0)) : |
| 113 | fderiv ℝ (parametricCauchyTransform g) q (I • v, 0) = |
| 114 | I * fderiv ℝ (parametricCauchyTransform g) q (v, 0) := by |
| 115 | rw [parametricCauchyTransform_fderiv_apply hS hK hsupp hg q hq, |
| 116 | parametricCauchyTransform_fderiv_apply hS hK hsupp hg q hq, ← integral_const_mul] |
| 117 | apply integral_congr_ae |
| 118 | filter_upwards with w |
| 119 | rw [hv] |
| 120 | ring |
| 121 | |
| 122 | end |
| 123 | |
| 124 | /-! Smooth cutoffs in the integration variable, preserving parameter derivatives. -/ |
| 125 | |
| 126 | open _root_.MeasureTheory _root_.Complex Set Filter |
| 127 | open scoped ContDiff _root_.Topology |
| 128 | |
| 129 | set_option backward.isDefEq.respectTransparency false |
| 130 | set_option backward.isDefEq.respectTransparency.types false |
| 131 | set_option backward.defeqAttrib.useBackward true |
| 132 | |
| 133 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 134 | |
| 135 | def cutoffCauchyInput (χ : ℂ → ℝ) (g : P → ℂ → ℂ) (p : P) (w : ℂ) : ℂ := χ w • g p w |
| 136 | |
| 137 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 138 | theorem cutoffCauchyInput_support (χ : ℂ → ℝ) (g : P → ℂ → ℂ) (p : P) (w : ℂ) |
| 139 | (hw : w ∉ tsupport χ) : cutoffCauchyInput χ g p w = 0 := by |
| 140 | unfold cutoffCauchyInput |
| 141 | rw [image_eq_zero_of_notMem_tsupport hw, zero_smul] |
| 142 | |
| 143 | theorem cutoffCauchyInput_smooth {χ : ℂ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 144 | {g : P → ℂ → ℂ} {S : Set P} {U : Set ℂ} (hS : IsOpen S) (hU : IsOpen U) |
| 145 | (hsub : tsupport χ ⊆ U) (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ U)) : |
| 146 | ContDiffOn ℝ ∞ (Function.uncurry (cutoffCauchyInput χ g)) (S ×ˢ univ) := by |
| 147 | intro q hq |
| 148 | apply ContDiffAt.contDiffWithinAt |
| 149 | by_cases hw : q.2 ∈ tsupport χ |
| 150 | · exact (hχ.comp contDiff_snd).contDiffAt.smul |
| 151 | (hg.contDiffAt ((hS.prod hU).mem_nhds ⟨hq.1, hsub hw⟩)) |
| 152 | · apply (contDiffAt_const (c := (0 : ℂ))).congr_of_eventuallyEq |
| 153 | filter_upwards [(notMem_tsupport_iff_eventuallyEq.mp hw).comp_tendsto |
| 154 | continuous_snd.continuousAt] with r hr |
| 155 | change χ r.2 • g r.1 r.2 = 0 |
| 156 | rw [show χ r.2 = 0 from hr, zero_smul] |
| 157 | |
| 158 | theorem cutoffCauchyInput_parameterDerivative {χ : ℂ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 159 | {g : P → ℂ → ℂ} {S : Set P} {U : Set ℂ} (hS : IsOpen S) (hU : IsOpen U) |
| 160 | (hg : ContDiffOn ℝ ∞ (Function.uncurry g) (S ×ˢ U)) |
| 161 | {p : P} (hp : p ∈ S) {w : ℂ} (hw : w ∈ U) (v : P) : |
| 162 | fderiv ℝ (Function.uncurry (cutoffCauchyInput χ g)) (p, w) (v, 0) = |
| 163 | χ w • fderiv ℝ (Function.uncurry g) (p, w) (v, 0) := by |
| 164 | have hcoeff := (hχ.differentiable (by simp) w).hasFDerivAt.comp (p, w) (hasFDerivAt_snd (𝕜 := ℝ) (p := (p, w))) |
| 165 | have hinput : DifferentiableAt ℝ (Function.uncurry g) (p, w) := |
| 166 | (hg.contDiffAt ((hS.prod hU).mem_nhds ⟨hp, hw⟩)).differentiableAt (by simp) |
| 167 | have hd := congrArg (fun D : (P × ℂ) →L[ℝ] ℂ => D (v, 0)) (hcoeff.smul hinput.hasFDerivAt).fderiv |
| 168 | change fderiv ℝ (Function.uncurry (cutoffCauchyInput χ g)) (p, w) (v, 0) = |
| 169 | χ w • fderiv ℝ (Function.uncurry g) (p, w) (v, 0) + |
| 170 | fderiv ℝ χ w 0 • g p w at hd |
| 171 | simpa only [map_zero, zero_smul, add_zero] using hd |
| 172 | |
| 173 | theorem cutoffCauchyInput_fderiv_zero {χ : ℂ → ℝ} {g : P → ℂ → ℂ} |
| 174 | {p : P} {w : ℂ} (hw : w ∉ tsupport χ) : |
| 175 | fderiv ℝ (Function.uncurry (cutoffCauchyInput χ g)) (p, w) = 0 := by |
| 176 | have he : Function.uncurry (cutoffCauchyInput χ g) =ᶠ[𝓝 (p, w)] 0 := by |
| 177 | filter_upwards [(notMem_tsupport_iff_eventuallyEq.mp hw).comp_tendsto |
| 178 | continuous_snd.continuousAt] with q hq |
| 179 | change χ q.2 • g q.1 q.2 = 0 |
| 180 | rw [show χ q.2 = 0 from hq, zero_smul] |
| 181 | rw [he.fderiv_eq] |
| 182 | exact (hasFDerivAt_const (0 : ℂ) (p, w)).fderiv |
| 183 | |
| 184 | end |
| 185 | |
| 186 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ParametricCauchyF |