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.ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.LocalAdjoint |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.LocalAdjointForm |
| 4 | |
| 5 | /-! # Holomorphic Integration By Parts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicIntegrationByParts.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Integration by parts for actual complex directional derivatives and |
| 14 | compactly supported smooth scalar tests. -/ |
| 15 | |
| 16 | open _root_.MeasureTheory |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 21 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 22 | |
| 23 | omit [FiniteDimensional ℝ E] in |
| 24 | theorem smooth_mul_compact_integrable (w g : E → ℂ) |
| 25 | (hw : ContDiff ℝ ∞ w) (hg : ContDiff ℝ ∞ g) (hgc : HasCompactSupport g) : |
| 26 | Integrable (fun x => w x * g x) μ := |
| 27 | (hw.continuous.mul hg.continuous).integrable_of_hasCompactSupport hgc.mul_left |
| 28 | |
| 29 | theorem integral_mul_directional (w g : E → ℂ) |
| 30 | (hw : ContDiff ℝ ∞ w) (hg : ContDiff ℝ ∞ g) (hgc : HasCompactSupport g) (u : E) : |
| 31 | (∫ x, w x * fderiv ℝ g x u ∂μ) = -(∫ x, fderiv ℝ w x u * g x ∂μ) := |
| 32 | integral_mul_fderiv_eq_neg_fderiv_mul_of_integrable |
| 33 | (smooth_mul_compact_integrable μ _ g (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative w hw u) hg hgc) |
| 34 | (smooth_mul_compact_integrable μ w _ hw (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg u) |
| 35 | (hgc.fderiv_apply ℝ u)) |
| 36 | (smooth_mul_compact_integrable μ w g hw hg hgc) |
| 37 | (fun x _ => (hw.differentiable (by simp)).differentiableAt) |
| 38 | (fun x _ => (hg.differentiable (by simp)).differentiableAt) |
| 39 | |
| 40 | variable [NormedSpace ℂ E] |
| 41 | |
| 42 | theorem integral_mul_holomorphicDirectionalDerivative (w g : E → ℂ) |
| 43 | (hw : ContDiff ℝ ∞ w) (hg : ContDiff ℝ ∞ g) (hgc : HasCompactSupport g) (u : E) : |
| 44 | (∫ x, w x * MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u ∂μ) = |
| 45 | -(∫ x, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative w x u * g x ∂μ) := by |
| 46 | have hL (v : E) := smooth_mul_compact_integrable μ w _ hw |
| 47 | (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg v) (hgc.fderiv_apply ℝ v) |
| 48 | have hR (v : E) := smooth_mul_compact_integrable μ _ g |
| 49 | (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative w hw v) hg hgc |
| 50 | have hLf (x : E) : w x * MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u = |
| 51 | (1 / 2 : ℂ) * (w x * fderiv ℝ g x u - Complex.I * (w x * fderiv ℝ g x (Complex.I • u))) := by |
| 52 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative] |
| 53 | ring |
| 54 | have hRf (x : E) : MetricDerivative.CM.Construction.holomorphicDirectionalDerivative w x u * g x = |
| 55 | (1 / 2 : ℂ) * (fderiv ℝ w x u * g x - Complex.I * (fderiv ℝ w x (Complex.I • u) * g x)) := by |
| 56 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative] |
| 57 | ring |
| 58 | simp_rw [hLf, hRf] |
| 59 | rw [integral_const_mul, integral_const_mul, |
| 60 | integral_sub (hL u) ((hL (Complex.I • u)).const_mul Complex.I), integral_const_mul, |
| 61 | integral_sub (hR u) ((hR (Complex.I • u)).const_mul Complex.I), integral_const_mul, |
| 62 | integral_mul_directional μ w g hw hg hgc u, |
| 63 | integral_mul_directional μ w g hw hg hgc (Complex.I • u)] |
| 64 | ring |
| 65 | |
| 66 | end |
| 67 | |
| 68 | /-! Holomorphic integration by parts for coefficients smooth only on the |
| 69 | actual chart domain; compact test support removes every boundary term. -/ |
| 70 | |
| 71 | open _root_.MeasureTheory Filter |
| 72 | open scoped ContDiff _root_.Topology |
| 73 | |
| 74 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 75 | |
| 76 | theorem smooth_mul_test (w g : E → ℂ) {U : Set E} (hU : IsOpen U) |
| 77 | (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) (hs : tsupport g ⊆ U) : |
| 78 | ContDiff ℝ ∞ (fun x => w x * g x) := by |
| 79 | apply contDiff_iff_contDiffAt.mpr |
| 80 | intro x |
| 81 | by_cases hx : x ∈ U |
| 82 | · exact (hw.contDiffAt (hU.mem_nhds hx)).mul hg.contDiffAt |
| 83 | · have hz : g =ᶠ[𝓝 x] 0 := notMem_tsupport_iff_eventuallyEq.mp (fun h => hx (hs h)) |
| 84 | apply contDiffAt_const.congr_of_eventuallyEq |
| 85 | filter_upwards [hz] with y hy |
| 86 | rw [hy, Pi.zero_apply, mul_zero] |
| 87 | |
| 88 | variable [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 89 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 90 | |
| 91 | omit [FiniteDimensional ℝ E] in |
| 92 | theorem smooth_mul_test_integrable (w g : E → ℂ) {U : Set E} (hU : IsOpen U) |
| 93 | (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 94 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) : |
| 95 | Integrable (fun x => w x * g x) μ := |
| 96 | (smooth_mul_test w g hU hw hg hs).continuous.integrable_of_hasCompactSupport hgc.mul_left |
| 97 | |
| 98 | theorem integral_mul_directional_on (w g : E → ℂ) {U : Set E} (hU : IsOpen U) |
| 99 | (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 100 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) (u : E) : |
| 101 | (∫ x, w x * fderiv ℝ g x u ∂μ) = -(∫ x, fderiv ℝ w x u * g x ∂μ) := |
| 102 | integral_mul_fderiv_eq_neg_fderiv_mul_of_integrable |
| 103 | (smooth_mul_test_integrable μ _ g hU (Analysis.HodgeTheory.Decomposition.LocalAdjointForm.Constructions.smoothOn_directional_derivative w hU hw u) hg hgc hs) |
| 104 | (smooth_mul_test_integrable μ w _ hU hw (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg u) |
| 105 | (hgc.fderiv_apply ℝ u) ((tsupport_fderiv_apply_subset ℝ u).trans hs)) |
| 106 | (smooth_mul_test_integrable μ w g hU hw hg hgc hs) |
| 107 | (fun x hx => (hw.contDiffAt (hU.mem_nhds (hs hx))).differentiableAt (by simp)) |
| 108 | (fun x _ => (hg.differentiable (by simp)).differentiableAt) |
| 109 | |
| 110 | variable [NormedSpace ℂ E] |
| 111 | |
| 112 | theorem integral_mul_holomorphicDirectionalDerivative_on (w g : E → ℂ) {U : Set E} |
| 113 | (hU : IsOpen U) (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 114 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) (u : E) : |
| 115 | (∫ x, w x * MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u ∂μ) = |
| 116 | -(∫ x, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative w x u * g x ∂μ) := by |
| 117 | have hL (v : E) := smooth_mul_test_integrable μ w _ hU hw |
| 118 | (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg v) (hgc.fderiv_apply ℝ v) |
| 119 | ((tsupport_fderiv_apply_subset ℝ v).trans hs) |
| 120 | have hR (v : E) := smooth_mul_test_integrable μ _ g hU |
| 121 | (Analysis.HodgeTheory.Decomposition.LocalAdjointForm.Constructions.smoothOn_directional_derivative w hU hw v) hg hgc hs |
| 122 | have hLf (x : E) : w x * MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u = |
| 123 | (1 / 2 : ℂ) * (w x * fderiv ℝ g x u - Complex.I * (w x * fderiv ℝ g x (Complex.I • u))) := by |
| 124 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative] |
| 125 | ring |
| 126 | have hRf (x : E) : MetricDerivative.CM.Construction.holomorphicDirectionalDerivative w x u * g x = |
| 127 | (1 / 2 : ℂ) * (fderiv ℝ w x u * g x - Complex.I * (fderiv ℝ w x (Complex.I • u) * g x)) := by |
| 128 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative] |
| 129 | ring |
| 130 | simp_rw [hLf, hRf] |
| 131 | rw [integral_const_mul, integral_const_mul, |
| 132 | integral_sub (hL u) ((hL (Complex.I • u)).const_mul Complex.I), integral_const_mul, |
| 133 | integral_sub (hR u) ((hR (Complex.I • u)).const_mul Complex.I), integral_const_mul, |
| 134 | integral_mul_directional_on μ w g hU hw hg hgc hs u, |
| 135 | integral_mul_directional_on μ w g hU hw hg hgc hs (Complex.I • u)] |
| 136 | ring |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicIntegrationByParts.CM.Construction |