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.ComplexGroups.HolomorphicAlgebraicity.HolomorphicRegularity |
| 2 | import Mathlib.Analysis.Calculus.ParametricIntervalIntegral |
| 3 | |
| 4 | /-! # Parametric Integral At -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametricIntegralAt.Constructions.ParametricIntegral |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Holomorphic parameter dependence of contour integrals |
| 12 | |
| 13 | Continuous parameter derivatives admit a uniform bound on a compact |
| 14 | parameter ball times the integration interval. This supplies the domination |
| 15 | needed to differentiate under the integral. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Complex _root_.MeasureTheory |
| 19 | open scoped _root_.Topology Interval |
| 20 | |
| 21 | theorem differentiableAt_intervalIntegral |
| 22 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 23 | {F : E → ℝ → ℂ} {F' : E → ℝ → E →L[ℂ] ℂ} {U : Set E} |
| 24 | (hU : IsOpen U) {x : E} (hx : x ∈ U) {a b : ℝ} |
| 25 | (hF : ContinuousOn (Function.uncurry F) (U ×ˢ uIcc a b)) |
| 26 | (hF' : ContinuousOn (Function.uncurry F') (U ×ˢ uIcc a b)) |
| 27 | (hd : ∀ y ∈ U, ∀ t ∈ uIcc a b, HasFDerivAt (fun z => F z t) (F' y t) y) : |
| 28 | DifferentiableAt ℂ (fun y => ∫ t in a..b, F y t) x := by |
| 29 | let : ProperSpace E := FiniteDimensional.proper ℂ E |
| 30 | obtain ⟨r, hr, hball⟩ := nhds_basis_closedBall.mem_iff.mp (hU.mem_nhds hx) |
| 31 | have hc : IsCompact (closedBall x r ×ˢ uIcc a b) := |
| 32 | (isCompact_closedBall x r).prod isCompact_uIcc |
| 33 | obtain ⟨C, hC⟩ := hc.exists_bound_of_continuousOn |
| 34 | (hF'.mono (prod_mono hball Subset.rfl)) |
| 35 | have hFc (y : E) (hy : y ∈ U) : ContinuousOn (F y) (uIcc a b) := |
| 36 | hF.comp (continuous_const.prodMk continuous_id).continuousOn (fun t ht => ⟨hy, ht⟩) |
| 37 | have hF'c : ContinuousOn (F' x) (uIcc a b) := |
| 38 | hF'.comp (continuous_const.prodMk continuous_id).continuousOn (fun t ht => ⟨hx, ht⟩) |
| 39 | apply (intervalIntegral.hasFDerivAt_integral_of_dominated_of_fderiv_le |
| 40 | (𝕜 := ℂ) (μ := volume) (F := F) (F' := F') |
| 41 | (s := ball x r) (bound := fun _ => C) (ball_mem_nhds x hr) ?_ |
| 42 | (hFc x hx).intervalIntegrable ?_ ?_ intervalIntegrable_const ?_).differentiableAt |
| 43 | · filter_upwards [hU.mem_nhds hx] with y hy |
| 44 | exact ((hFc y hy).mono uIoc_subset_uIcc).aestronglyMeasurable measurableSet_uIoc |
| 45 | · exact (hF'c.mono uIoc_subset_uIcc).aestronglyMeasurable measurableSet_uIoc |
| 46 | · exact Filter.Eventually.of_forall fun t ht y hy => |
| 47 | hC (y, t) ⟨ball_subset_closedBall hy, uIoc_subset_uIcc ht⟩ |
| 48 | · exact Filter.Eventually.of_forall fun t ht y hy => |
| 49 | hd y (hball (ball_subset_closedBall hy)) t (uIoc_subset_uIcc ht) |
| 50 | |
| 51 | theorem differentiableAt_circleIntegral |
| 52 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 53 | {F : E → ℂ → ℂ} {F' : E → ℂ → E →L[ℂ] ℂ} {U : Set E} |
| 54 | (hU : IsOpen U) {x : E} (hx : x ∈ U) {c : ℂ} {R : ℝ} (hR : 0 ≤ R) |
| 55 | (hF : ContinuousOn (Function.uncurry F) (U ×ˢ sphere c R)) |
| 56 | (hF' : ContinuousOn (Function.uncurry F') (U ×ˢ sphere c R)) |
| 57 | (hd : ∀ y ∈ U, ∀ z ∈ sphere c R, HasFDerivAt (fun p => F p z) (F' y z) y) : |
| 58 | DifferentiableAt ℂ (fun y => ∮ z in C(c, R), F y z) x := by |
| 59 | let G : E → ℝ → ℂ := fun y t => deriv (circleMap c R) t • F y (circleMap c R t) |
| 60 | let G' : E → ℝ → E →L[ℂ] ℂ := fun y t => |
| 61 | deriv (circleMap c R) t • F' y (circleMap c R t) |
| 62 | have hmap : Continuous (fun p : E × ℝ => (p.1, circleMap c R p.2)) := |
| 63 | continuous_fst.prodMk ((continuous_circleMap c R).comp continuous_snd) |
| 64 | have hmaps : MapsTo (fun p : E × ℝ => (p.1, circleMap c R p.2)) |
| 65 | (U ×ˢ uIcc 0 (2 * Real.pi)) (U ×ˢ sphere c R) := |
| 66 | fun p hp => ⟨hp.1, circleMap_mem_sphere c hR p.2⟩ |
| 67 | have hder : Continuous (fun p : E × ℝ => deriv (circleMap c R) p.2) := by |
| 68 | simp only [deriv_circleMap] |
| 69 | exact ((continuous_circleMap 0 R).comp continuous_snd).mul_const I |
| 70 | have hGc : ContinuousOn (Function.uncurry G) (U ×ˢ uIcc 0 (2 * Real.pi)) := |
| 71 | hder.continuousOn.smul (hF.comp hmap.continuousOn hmaps) |
| 72 | have hG'c : ContinuousOn (Function.uncurry G') (U ×ˢ uIcc 0 (2 * Real.pi)) := |
| 73 | hder.continuousOn.smul (hF'.comp hmap.continuousOn hmaps) |
| 74 | have hGd : ∀ y ∈ U, ∀ t ∈ uIcc 0 (2 * Real.pi), |
| 75 | HasFDerivAt (fun p => G p t) (G' y t) y := by |
| 76 | intro y hy t _ |
| 77 | exact (hd y hy _ (circleMap_mem_sphere c hR t)).const_smul |
| 78 | (deriv (circleMap c R) t) |
| 79 | exact differentiableAt_intervalIntegral hU hx hGc hG'c hGd |
| 80 | |
| 81 | /-- A fixed continuous weight on the circle preserves holomorphic parameter |
| 82 | dependence of the integral of a jointly holomorphic function. -/ |
| 83 | theorem differentiableAt_weighted_circleIntegral |
| 84 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 85 | {F : E × ℂ → ℂ} {W : Set (E × ℂ)} (hW : IsOpen W) |
| 86 | (hF : DifferentiableOn ℂ F W) {U : Set E} (hU : IsOpen U) |
| 87 | {x : E} (hx : x ∈ U) {c : ℂ} {R : ℝ} (hR : 0 ≤ R) |
| 88 | (hUW : U ×ˢ sphere c R ⊆ W) {w : ℂ → ℂ} (hw : ContinuousOn w (sphere c R)) : |
| 89 | DifferentiableAt ℂ (fun y => ∮ z in C(c, R), w z * F (y, z)) x := by |
| 90 | let D : E → ℂ → E →L[ℂ] ℂ := fun y z => |
| 91 | w z • (fderiv ℂ F (y, z)).comp (ContinuousLinearMap.inl ℂ E ℂ) |
| 92 | have hwc : ContinuousOn (fun p : E × ℂ => w p.2) (U ×ˢ sphere c R) := |
| 93 | hw.comp continuous_snd.continuousOn (fun _ hp => hp.2) |
| 94 | have hcd := HolomorphicRegularity.Constructions.Regularity.contDiffOn_one_of_differentiableOn_finiteDimensional hW hF |
| 95 | have hD : ContinuousOn (Function.uncurry D) (U ×ˢ sphere c R) := |
| 96 | hwc.smul (((hcd.continuousOn_fderiv_of_isOpen hW le_rfl).mono hUW).clm_comp |
| 97 | continuousOn_const) |
| 98 | apply differentiableAt_circleIntegral (F := fun y z => w z * F (y, z)) (F' := D) hU hx hR |
| 99 | (hwc.fun_mul (hF.continuousOn.mono hUW)) hD |
| 100 | intro y hy z hz |
| 101 | exact ((hF.differentiableAt (hW.mem_nhds (hUW ⟨hy, hz⟩))).hasFDerivAt.comp y |
| 102 | (hasFDerivAt_prodMk_left y z)).const_smul (w z) |
| 103 | |
| 104 | /-- Applying a holomorphic map's derivative to a fixed direction remains |
| 105 | holomorphic; Cauchy's derivative formula reduces this to a parameter integral. -/ |
| 106 | theorem differentiableAt_fderiv_apply |
| 107 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 108 | {f : E → ℂ} {U : Set E} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) |
| 109 | {x : E} (hx : x ∈ U) (v : E) : |
| 110 | DifferentiableAt ℂ (fun y => fderiv ℂ f y v) x := by |
| 111 | obtain ⟨R, hR, V, hV, hxV, hball⟩ := HolomorphicRegularity.Constructions.Regularity.exists_disk_neighborhood hU hx v |
| 112 | let W : Set (E × ℂ) := (fun p => p.1 + p.2 • v) ⁻¹' U |
| 113 | have hmap : Differentiable ℂ (fun p : E × ℂ => p.1 + p.2 • v) := |
| 114 | differentiable_fst.add (differentiable_snd.smul_const v) |
| 115 | have hW : IsOpen W := hU.preimage hmap.continuous |
| 116 | have hfw : DifferentiableOn ℂ (fun p : E × ℂ => f (p.1 + p.2 • v)) W := |
| 117 | hf.comp hmap.differentiableOn (fun _ hp => hp) |
| 118 | have hw : ContinuousOn (fun z : ℂ => (z ^ 2)⁻¹) (sphere 0 R) := by |
| 119 | apply (continuous_id.pow 2).continuousOn.inv₀ |
| 120 | intro z hz |
| 121 | apply pow_ne_zero |
| 122 | intro hz0 |
| 123 | change z = 0 at hz0 |
| 124 | have hnorm : ‖z‖ = R := by simpa only [mem_sphere_iff_norm, sub_zero] using hz |
| 125 | rw [hz0, norm_zero] at hnorm |
| 126 | exact hR.ne' hnorm.symm |
| 127 | have hint := differentiableAt_weighted_circleIntegral hW hfw hV hxV hR.le |
| 128 | (fun p hp => hball p.1 hp.1 p.2 (sphere_subset_closedBall hp.2)) hw |
| 129 | have heq : (fun y => fderiv ℂ f y v) =ᶠ[𝓝 x] |
| 130 | (fun y => (2 * Real.pi * I : ℂ)⁻¹ * |
| 131 | ∮ z in C(0, R), (z ^ 2)⁻¹ * f (y + z • v)) := by |
| 132 | filter_upwards [hV.mem_nhds hxV] with y hy |
| 133 | exact HolomorphicRegularity.Constructions.Regularity.fderiv_apply_eq_circleIntegral hU hf y v hR (hball y hy) |
| 134 | exact (hint.const_mul _).congr_of_eventuallyEq heq |
| 135 | |
| 136 | theorem differentiableOn_fderiv_apply |
| 137 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 138 | {f : E → ℂ} {U : Set E} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) (v : E) : |
| 139 | DifferentiableOn ℂ (fun y => fderiv ℂ f y v) U := |
| 140 | fun _ hx => (differentiableAt_fderiv_apply hU hf hx v).differentiableWithinAt |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametricIntegralAt.Constructions.ParametricIntegral |