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.Line.RoughAnti |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.RoughIntegrability |
| 3 | |
| 4 | /-! # Rough Divergence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Line.RoughDivergence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Genuine full covariant energy and integrability of its compact chart pairings. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | open scoped ContDiff |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | attribute [local instance] HessianBilinear.tensorConnection_formNormed HessianBilinear.tensorConnection_formSpace |
| 21 | HessianBilinear.tensorConnection_oneNormed HessianBilinear.tensorConnection_oneSpace |
| 22 | RoughSmooth.roughSmooth_metricNormed RoughSmooth.roughSmooth_metricSpace RoughSmooth.roughSmooth_connectionNormed RoughSmooth.roughSmooth_connectionSpace |
| 23 | |
| 24 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 25 | [Fintype ι] [LinearOrder ι] |
| 26 | |
| 27 | omit [LinearOrder ι] in |
| 28 | theorem lineCovectorFullRoughLaplacian_divergence (b : Module.Basis ι ℝ E) (n : ℕ) |
| 29 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 30 | (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) {x : E} |
| 31 | (ha : DifferentiableAt ℝ (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x) : |
| 32 | RoughAnti.lineCovectorFullRoughLaplacian b n B G A a x = |
| 33 | -TensorMetricTest.lineCovectorTensorDivergence b n B G A (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x := by |
| 34 | simp only [RoughAnti.lineCovectorFullRoughLaplacian, TensorMetricTest.lineCovectorTensorDivergence, |
| 35 | HessianBilinear.lineCovectorTensorDerivative_hessian n G A a ha] |
| 36 | |
| 37 | def lineCovectorFullEnergy (b : Module.Basis ι ℝ E) (n : ℕ) |
| 38 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 39 | (w : E → ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x : E) : ℂ := |
| 40 | (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B x) : ℂ) * w x * CovectorTensorAlgebra.covectorTensorMetricPair b n (B x) |
| 41 | (ConnectionSymbols.lineCovectorConnectionDerivative n G A a x) (ConnectionSymbols.lineCovectorConnectionDerivative n G A a x) |
| 42 | |
| 43 | variable [MeasurableSpace E] [BorelSpace E] (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 44 | |
| 45 | theorem lineCovectorFullRoughPair_integrable (b : Module.Basis ι ℝ E) (n : ℕ) |
| 46 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 47 | (w : E → ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) {U : Set E} (hU : IsOpen U) |
| 48 | (hB : ContDiffOn ℝ ∞ B U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 49 | (hw : ContDiffOn ℝ ∞ w U) (ha : ContDiff ℝ ∞ a) (hac : HasCompactSupport a) (hs : tsupport a ⊆ U) |
| 50 | (hBs : ∀ x ∈ U, ∀ v t, B x v t = B x t v) |
| 51 | (hpos : ∀ x ∈ U, ∀ v : E, v ≠ 0 → 0 < B x v v) : |
| 52 | Integrable (TensorMetricTest.lineMetricTestPair b n B w (RoughAnti.lineCovectorFullRoughLaplacian b n B G A a) a) μ := by |
| 53 | have hN := CovectorConnectionSupport.lineCovectorConnectionDerivative_global_smooth n G A a hU hG hA ha hs |
| 54 | have heq : RoughAnti.lineCovectorFullRoughLaplacian b n B G A a = |
| 55 | fun x => -TensorMetricTest.lineCovectorTensorDivergence b n B G A (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x := |
| 56 | funext (fun x => lineCovectorFullRoughLaplacian_divergence b n B G A a (hN.differentiable (by simp) x)) |
| 57 | rw [heq] |
| 58 | exact TensorMetricTest.lineMetricTestPair_integrable μ b n B w _ a hU hB hw |
| 59 | (RoughSmooth.lineCovectorTensorDivergence_smoothOn b n B G A _ hU hB hG hA hN.contDiffOn hpos).neg ha hac hs hBs hpos |
| 60 | |
| 61 | theorem lineCovectorFullEnergy_integrable (b : Module.Basis ι ℝ E) (n : ℕ) |
| 62 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 63 | (w : E → ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) {U : Set E} (hU : IsOpen U) |
| 64 | (hB : ContDiffOn ℝ ∞ B U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 65 | (hw : ContDiffOn ℝ ∞ w U) (ha : ContDiff ℝ ∞ a) (hac : HasCompactSupport a) (hs : tsupport a ⊆ U) |
| 66 | (hBs : ∀ x ∈ U, ∀ v t, B x v t = B x t v) |
| 67 | (hpos : ∀ x ∈ U, ∀ v : E, v ≠ 0 → 0 < B x v v) : |
| 68 | Integrable (lineCovectorFullEnergy b n B G A w a) μ := by |
| 69 | let M := ConnectionSymbols.lineCovectorConnectionDerivative n G A a |
| 70 | have hM : ContDiff ℝ ∞ M := CovectorConnectionSupport.lineCovectorConnectionDerivative_global_smooth n G A a hU hG hA ha hs |
| 71 | have hS := Analysis.HodgeTheory.Decomposition.KoszulSmooth.Constructions.bilinearMetricSharp_smoothOn B hU hB hpos |
| 72 | have hi (i : ι) : Integrable (TensorMetricTest.lineMetricTestPair b n B w |
| 73 | (fun x => M x (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap)) (fun x => M x (b i))) μ := by |
| 74 | have ht := CovectorConnectionSupport.lineCovectorConnectionDerivative_column_tsupport n G A a (b i) |
| 75 | have hsi : ContDiffOn ℝ ∞ (fun x => Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap) U := |
| 76 | hS.clm_apply (contDiffOn_const (c := (b.coord i).toContinuousLinearMap)) |
| 77 | exact TensorMetricTest.lineMetricTestPair_integrable μ b n B w _ _ hU hB hw |
| 78 | (hM.contDiffOn.clm_apply hsi) (hM.clm_apply contDiff_const) |
| 79 | (hac.isCompact.of_isClosed_subset (isClosed_tsupport _) ht) (ht.trans hs) hBs hpos |
| 80 | have hsum := integrable_finsetSum Finset.univ (fun i _ => hi i) |
| 81 | unfold lineCovectorFullEnergy CovectorTensorAlgebra.covectorTensorMetricPair |
| 82 | simp only [Finset.mul_sum] |
| 83 | simpa only [TensorMetricTest.lineMetricTestPair, M] using hsum |
| 84 | |
| 85 | end |
| 86 | |
| 87 | section |
| 88 | |
| 89 | /-! Integration of the full covariant rough Laplacian gives the full original first-derivative energy. -/ |
| 90 | |
| 91 | open _root_.MeasureTheory |
| 92 | open scoped ContDiff ComplexConjugate |
| 93 | set_option backward.isDefEq.respectTransparency false |
| 94 | set_option backward.isDefEq.respectTransparency.types false |
| 95 | set_option backward.defeqAttrib.useBackward true |
| 96 | |
| 97 | attribute [local instance] HessianBilinear.tensorConnection_formNormed HessianBilinear.tensorConnection_formSpace |
| 98 | HessianBilinear.tensorConnection_oneNormed HessianBilinear.tensorConnection_oneSpace |
| 99 | RoughSmooth.roughSmooth_metricNormed RoughSmooth.roughSmooth_metricSpace RoughSmooth.roughSmooth_connectionNormed RoughSmooth.roughSmooth_connectionSpace |
| 100 | |
| 101 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 102 | [Fintype ι] [LinearOrder ι] |
| 103 | [MeasurableSpace E] [BorelSpace E] (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 104 | |
| 105 | theorem lineCovectorFullRoughLaplacian_integral_pair (b : Module.Basis ι ℝ E) (n : ℕ) |
| 106 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 107 | (w : E → ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) {U : Set E} (hU : IsOpen U) |
| 108 | (hB : ContDiffOn ℝ ∞ B U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 109 | (hw : ContDiffOn ℝ ∞ w U) (ha : ContDiff ℝ ∞ a) (hac : HasCompactSupport a) (hs : tsupport a ⊆ U) |
| 110 | (hBs : ∀ x ∈ U, ∀ v t, B x v t = B x t v) |
| 111 | (hpos : ∀ x ∈ U, ∀ v : E, v ≠ 0 → 0 < B x v v) |
| 112 | (hmetric : ∀ x ∈ U, ∀ v p q, B x (G x v p) q + B x p (G x v q) = fderiv ℝ B x v p q) |
| 113 | (hGs : ∀ x ∈ U, ∀ v t, G x v t = G x t v) |
| 114 | (hweight : ∀ x ∈ U, ∀ v, fderiv ℝ w x v = w x * (conj (A x v) + A x v)) : |
| 115 | (∫ x, TensorMetricTest.lineMetricTestPair b n B w (RoughAnti.lineCovectorFullRoughLaplacian b n B G A a) a x ∂μ) = |
| 116 | ∫ x, lineCovectorFullEnergy b n B G A w a x ∂μ := by |
| 117 | let N := ConnectionSymbols.lineCovectorConnectionDerivative n G A a |
| 118 | have hN : ContDiff ℝ ∞ N := CovectorConnectionSupport.lineCovectorConnectionDerivative_global_smooth n G A a hU hG hA ha hs |
| 119 | have hz := TensorIntegration.lineCovectorTensorDivergence_integral_zero μ b n B G A w N a hU hB hw hN.contDiffOn ha hac hs hBs hpos hmetric hGs hweight |
| 120 | have hL := lineCovectorFullRoughPair_integrable μ b n B G A w a hU hB hG hA hw ha hac hs hBs hpos |
| 121 | have hE := lineCovectorFullEnergy_integrable μ b n B G A w a hU hB hG hA hw ha hac hs hBs hpos |
| 122 | have heq (x : E) : |
| 123 | (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B x) : ℂ) * w x * |
| 124 | (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (TensorMetricTest.lineCovectorTensorDivergence b n B G A N x) (a x) + |
| 125 | ∑ i, Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) |
| 126 | (N x (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap)) |
| 127 | (ConnectionSymbols.lineCovectorConnectionDerivative n G A a x (b i))) = |
| 128 | -TensorMetricTest.lineMetricTestPair b n B w (RoughAnti.lineCovectorFullRoughLaplacian b n B G A a) a x + |
| 129 | lineCovectorFullEnergy b n B G A w a x := by |
| 130 | unfold TensorMetricTest.lineMetricTestPair |
| 131 | rw [lineCovectorFullRoughLaplacian_divergence b n B G A a (hN.differentiable (by simp) x)] |
| 132 | simp only [lineCovectorFullEnergy, |
| 133 | Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_neg_left, CovectorTensorAlgebra.covectorTensorMetricPair, N] |
| 134 | ring |
| 135 | simp_rw [heq] at hz |
| 136 | have hi := integral_add hL.neg hE |
| 137 | simp only [Pi.neg_apply] at hi |
| 138 | rw [hi, integral_neg] at hz |
| 139 | linear_combination -hz |
| 140 | |
| 141 | end |
| 142 | |
| 143 | /-! The full covariant derivative pairing for two independent compact chart fields. -/ |
| 144 | |
| 145 | open _root_.MeasureTheory |
| 146 | open scoped ContDiff |
| 147 | set_option backward.isDefEq.respectTransparency false |
| 148 | set_option backward.isDefEq.respectTransparency.types false |
| 149 | set_option backward.defeqAttrib.useBackward true |
| 150 | |
| 151 | attribute [local instance] HessianBilinear.tensorConnection_formNormed HessianBilinear.tensorConnection_formSpace |
| 152 | HessianBilinear.tensorConnection_oneNormed HessianBilinear.tensorConnection_oneSpace |
| 153 | RoughSmooth.roughSmooth_metricNormed RoughSmooth.roughSmooth_metricSpace RoughSmooth.roughSmooth_connectionNormed RoughSmooth.roughSmooth_connectionSpace |
| 154 | |
| 155 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 156 | [Fintype ι] [LinearOrder ι] |
| 157 | |
| 158 | def lineCovectorFullEnergyPair (b : Module.Basis ι ℝ E) (n : ℕ) |
| 159 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 160 | (w : E → ℂ) (a c : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x : E) : ℂ := |
| 161 | (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B x) : ℂ) * w x * CovectorTensorAlgebra.covectorTensorMetricPair b n (B x) |
| 162 | (ConnectionSymbols.lineCovectorConnectionDerivative n G A a x) (ConnectionSymbols.lineCovectorConnectionDerivative n G A c x) |
| 163 | |
| 164 | variable [MeasurableSpace E] [BorelSpace E] (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 165 | |
| 166 | theorem lineCovectorFullRoughCrossPair_integrable (b : Module.Basis ι ℝ E) (n : ℕ) |
| 167 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 168 | (w : E → ℂ) (a c : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) {U : Set E} (hU : IsOpen U) |
| 169 | (hB : ContDiffOn ℝ ∞ B U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 170 | (hw : ContDiffOn ℝ ∞ w U) (ha : ContDiff ℝ ∞ a) (hs : tsupport a ⊆ U) |
| 171 | (hc : ContDiff ℝ ∞ c) (hcc : HasCompactSupport c) (hcs : tsupport c ⊆ U) |
| 172 | (hBs : ∀ x ∈ U, ∀ v t, B x v t = B x t v) |
| 173 | (hpos : ∀ x ∈ U, ∀ v : E, v ≠ 0 → 0 < B x v v) : |
| 174 | Integrable (TensorMetricTest.lineMetricTestPair b n B w (RoughAnti.lineCovectorFullRoughLaplacian b n B G A a) c) μ := by |
| 175 | have hN := CovectorConnectionSupport.lineCovectorConnectionDerivative_global_smooth n G A a hU hG hA ha hs |
| 176 | have heq : RoughAnti.lineCovectorFullRoughLaplacian b n B G A a = |
| 177 | fun x => -TensorMetricTest.lineCovectorTensorDivergence b n B G A (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x := |
| 178 | funext (fun x => lineCovectorFullRoughLaplacian_divergence b n B G A a (hN.differentiable (by simp) x)) |
| 179 | rw [heq] |
| 180 | exact TensorMetricTest.lineMetricTestPair_integrable μ b n B w _ c hU hB hw |
| 181 | (RoughSmooth.lineCovectorTensorDivergence_smoothOn b n B G A _ hU hB hG hA hN.contDiffOn hpos).neg hc hcc hcs hBs hpos |
| 182 | |
| 183 | theorem lineCovectorFullEnergyPair_integrable (b : Module.Basis ι ℝ E) (n : ℕ) |
| 184 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 185 | (w : E → ℂ) (a c : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) {U : Set E} (hU : IsOpen U) |
| 186 | (hB : ContDiffOn ℝ ∞ B U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 187 | (hw : ContDiffOn ℝ ∞ w U) (ha : ContDiff ℝ ∞ a) (hs : tsupport a ⊆ U) |
| 188 | (hc : ContDiff ℝ ∞ c) (hcc : HasCompactSupport c) (hcs : tsupport c ⊆ U) |
| 189 | (hBs : ∀ x ∈ U, ∀ v t, B x v t = B x t v) |
| 190 | (hpos : ∀ x ∈ U, ∀ v : E, v ≠ 0 → 0 < B x v v) : |
| 191 | Integrable (lineCovectorFullEnergyPair b n B G A w a c) μ := by |
| 192 | let M := ConnectionSymbols.lineCovectorConnectionDerivative n G A a |
| 193 | let N := ConnectionSymbols.lineCovectorConnectionDerivative n G A c |
| 194 | have hM : ContDiff ℝ ∞ M := CovectorConnectionSupport.lineCovectorConnectionDerivative_global_smooth n G A a hU hG hA ha hs |
| 195 | have hN : ContDiff ℝ ∞ N := CovectorConnectionSupport.lineCovectorConnectionDerivative_global_smooth n G A c hU hG hA hc hcs |
| 196 | have hS := Analysis.HodgeTheory.Decomposition.KoszulSmooth.Constructions.bilinearMetricSharp_smoothOn B hU hB hpos |
| 197 | have hi (i : ι) : Integrable (TensorMetricTest.lineMetricTestPair b n B w |
| 198 | (fun x => M x (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap)) (fun x => N x (b i))) μ := by |
| 199 | have ht := CovectorConnectionSupport.lineCovectorConnectionDerivative_column_tsupport n G A c (b i) |
| 200 | have hsi : ContDiffOn ℝ ∞ (fun x => Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap) U := |
| 201 | hS.clm_apply (contDiffOn_const (c := (b.coord i).toContinuousLinearMap)) |
| 202 | exact TensorMetricTest.lineMetricTestPair_integrable μ b n B w _ _ hU hB hw |
| 203 | (hM.contDiffOn.clm_apply hsi) (hN.clm_apply contDiff_const) |
| 204 | (hcc.isCompact.of_isClosed_subset (isClosed_tsupport _) ht) (ht.trans hcs) hBs hpos |
| 205 | have hsum := integrable_finsetSum Finset.univ (fun i _ => hi i) |
| 206 | unfold lineCovectorFullEnergyPair CovectorTensorAlgebra.covectorTensorMetricPair |
| 207 | simp only [Finset.mul_sum] |
| 208 | simpa only [TensorMetricTest.lineMetricTestPair, M, N] using hsum |
| 209 | |
| 210 | end |
| 211 | |
| 212 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Line.RoughDivergence |