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.HermitianCoefficientSmooth |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicTestDifferential |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicIntegrationByParts |
| 4 | |
| 5 | /-! # Holomorphic Adjoint Flux -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicAdjointFlux.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Smooth fixed-coordinate fluxes for the actual adjoint on holomorphic |
| 14 | one-forms. The coordinate formulas use the genuine metric and volume. -/ |
| 15 | |
| 16 | open _root_.MeasureTheory |
| 17 | open scoped ContDiff SchwartzMap |
| 18 | |
| 19 | def varietyOneFormComplexCoefficient (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 20 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 21 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 22 | (k : Fin V.complexDimension) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : ℂ := |
| 23 | a.val.inChart e (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) (fun _ => HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V k) |
| 24 | |
| 25 | theorem varietyOneFormComplexCoefficient_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 26 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 27 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 28 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) (k : Fin V.complexDimension) : |
| 29 | ContDiffOn ℝ ∞ (varietyOneFormComplexCoefficient V e a k) |
| 30 | (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) := by |
| 31 | have hraw : ContDiffOn ℝ ∞ (a.val.inChart e) e.target := by |
| 32 | simpa only [Analysis.DifferentialForms.Manifold.Algebra.manifoldFormChartDomain, Set.preimage_univ, Set.inter_univ] using a.smooth e he |
| 33 | have hv := Analysis.HodgeTheory.Decomposition.MetricCoefficients.Constructions.smooth_fixed_form_evaluation 1 |
| 34 | (fun _ => HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V k) hraw |
| 35 | exact hv.comp ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).contDiff.restrict_scalars ℝ).contDiffOn |
| 36 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates_mapsTo V e) |
| 37 | |
| 38 | def varietyHolomorphicAdjointFlux (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 39 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 40 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 41 | (j : Fin V.complexDimension) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : ℂ := |
| 42 | ∑ k, star (varietyOneFormComplexCoefficient V e a k z) * HermitianCoefficientSmooth.CM.Construction.varietyWeightedHermitianInverse V e z j k |
| 43 | |
| 44 | theorem varietyHolomorphicAdjointFlux_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 45 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 46 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 47 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) (j : Fin V.complexDimension) : |
| 48 | ContDiffOn ℝ ∞ (varietyHolomorphicAdjointFlux V e a j) |
| 49 | (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) := by |
| 50 | apply ContDiffOn.sum |
| 51 | intro k _ |
| 52 | exact (Complex.conjCLE.contDiff.comp_contDiffOn |
| 53 | (varietyOneFormComplexCoefficient_smooth V e he a k)).mul |
| 54 | (HermitianCoefficientSmooth.CM.Construction.varietyWeightedHermitianInverse_smooth V e he j k) |
| 55 | |
| 56 | theorem holomorphicDirectionalDerivative_zero_off_support {E : Type*} |
| 57 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 58 | (g : E → ℂ) {x : E} (hx : x ∉ tsupport g) (u : E) : |
| 59 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u = 0 := by |
| 60 | have hD : fderiv ℝ g x = 0 := by |
| 61 | rw [(notMem_tsupport_iff_eventuallyEq.mp hx).fderiv_eq] |
| 62 | exact fderiv_const_apply 0 |
| 63 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, hD] |
| 64 | simp only [zero_apply, mul_zero, sub_zero] |
| 65 | |
| 66 | theorem projectiveL2Pair_holomorphic_flux_test (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 67 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 68 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 69 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 70 | (ha : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace 1 0 a.val) |
| 71 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 72 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 73 | Analysis.HodgeTheory.Decomposition.Form.Constructions.projectiveL2Pair V 1 a |
| 74 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg)) = |
| 75 | 2 * ∫ z, ∑ j, varietyHolomorphicAdjointFlux V e a j z * |
| 76 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j) := by |
| 77 | rw [HolomorphicTestDifferential.CM.Construction.projectiveL2Pair_holomorphic_chart_test V e he a ha g hgc hg] |
| 78 | have hi (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 79 | (Metric.CM.Construction.varietyMetricDensity V e z : ℂ) * |
| 80 | (2 * ∑ j, ∑ k, star (varietyOneFormComplexCoefficient V e a k z) * |
| 81 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))⁻¹ j k * |
| 82 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j)) = |
| 83 | 2 * ∑ j, varietyHolomorphicAdjointFlux V e a j z * |
| 84 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j) := by |
| 85 | simp only [varietyHolomorphicAdjointFlux, HermitianCoefficientSmooth.CM.Construction.varietyWeightedHermitianInverse, |
| 86 | Matrix.smul_apply, smul_eq_mul, Finset.sum_mul, Finset.mul_sum] |
| 87 | apply Finset.sum_congr rfl |
| 88 | intro j _ |
| 89 | apply Finset.sum_congr rfl |
| 90 | intro k _ |
| 91 | ring |
| 92 | change (∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 93 | (Metric.CM.Construction.varietyMetricDensity V e z : ℂ) * (2 * ∑ j, ∑ k, |
| 94 | star (varietyOneFormComplexCoefficient V e a k z) * |
| 95 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))⁻¹ j k * |
| 96 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j))) = _ |
| 97 | simp_rw [hi] |
| 98 | rw [integral_const_mul] |
| 99 | congr 1 |
| 100 | apply setIntegral_eq_integral_of_forall_compl_eq_zero |
| 101 | intro z hz |
| 102 | apply Finset.sum_eq_zero |
| 103 | intro j _ |
| 104 | rw [holomorphicDirectionalDerivative_zero_off_support g (fun h => hz (hg h)), mul_zero] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | /-! Integration of the actual holomorphic one-form flux against compact |
| 109 | tests gives its coordinate divergence, with no boundary term. -/ |
| 110 | |
| 111 | open _root_.MeasureTheory |
| 112 | open scoped ContDiff SchwartzMap |
| 113 | |
| 114 | section Integrability |
| 115 | |
| 116 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 117 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 118 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 119 | |
| 120 | omit [FiniteDimensional ℝ E] in |
| 121 | theorem holomorphic_test_product_integrable (w g : E → ℂ) {U : Set E} |
| 122 | (hU : IsOpen U) (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 123 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) (u : E) : |
| 124 | Integrable (fun x => w x * MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u) μ := by |
| 125 | have hL (v : E) := HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable μ w _ hU hw |
| 126 | (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg v) (hgc.fderiv_apply ℝ v) |
| 127 | ((tsupport_fderiv_apply_subset ℝ v).trans hs) |
| 128 | convert ((hL u).sub ((hL (Complex.I • u)).const_mul Complex.I)).const_mul (1 / 2 : ℂ) using 1 |
| 129 | funext x |
| 130 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative] |
| 131 | simp only [Pi.sub_apply] |
| 132 | ring |
| 133 | |
| 134 | omit [FiniteDimensional ℝ E] in |
| 135 | theorem holomorphic_flux_product_integrable (w g : E → ℂ) {U : Set E} |
| 136 | (hU : IsOpen U) (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 137 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) (u : E) : |
| 138 | Integrable (fun x => MetricDerivative.CM.Construction.holomorphicDirectionalDerivative w x u * g x) μ := by |
| 139 | have hR (v : E) := HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable μ _ g hU |
| 140 | (Analysis.HodgeTheory.Decomposition.LocalAdjointForm.Constructions.smoothOn_directional_derivative w hU hw v) hg hgc hs |
| 141 | convert ((hR u).sub ((hR (Complex.I • u)).const_mul Complex.I)).const_mul (1 / 2 : ℂ) using 1 |
| 142 | funext x |
| 143 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative] |
| 144 | simp only [Pi.sub_apply] |
| 145 | ring |
| 146 | |
| 147 | end Integrability |
| 148 | |
| 149 | def varietyHolomorphicFluxDivergence (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 150 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 151 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : ℂ := |
| 152 | ∑ j, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (varietyHolomorphicAdjointFlux V e a j) z |
| 153 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j) |
| 154 | |
| 155 | theorem projectiveL2Pair_holomorphic_flux_divergence (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 156 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 157 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 158 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 159 | (ha : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace 1 0 a.val) |
| 160 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 161 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 162 | Analysis.HodgeTheory.Decomposition.Form.Constructions.projectiveL2Pair V 1 a |
| 163 | (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg)) = |
| 164 | -(2 * ∫ z, varietyHolomorphicFluxDivergence V e a z * g z) := by |
| 165 | have hL (j : Fin V.complexDimension) := holomorphic_test_product_integrable volume |
| 166 | (varietyHolomorphicAdjointFlux V e a j) g (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen |
| 167 | (varietyHolomorphicAdjointFlux_smooth V e he a j) (g.smooth ⊤) hgc hg |
| 168 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j) |
| 169 | have hR (j : Fin V.complexDimension) := holomorphic_flux_product_integrable volume |
| 170 | (varietyHolomorphicAdjointFlux V e a j) g (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen |
| 171 | (varietyHolomorphicAdjointFlux_smooth V e he a j) (g.smooth ⊤) hgc hg |
| 172 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j) |
| 173 | rw [projectiveL2Pair_holomorphic_flux_test V e he a ha g hgc hg, |
| 174 | integral_finsetSum _ (fun j _ => hL j)] |
| 175 | have hi (j : Fin V.complexDimension) := HolomorphicIntegrationByParts.CM.Construction.integral_mul_holomorphicDirectionalDerivative_on volume |
| 176 | (varietyHolomorphicAdjointFlux V e a j) g (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen |
| 177 | (varietyHolomorphicAdjointFlux_smooth V e he a j) (g.smooth ⊤) hgc hg |
| 178 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ j) |
| 179 | simp_rw [hi] |
| 180 | simp only [varietyHolomorphicFluxDivergence, Finset.sum_mul] |
| 181 | rw [integral_finsetSum _ (fun j _ => hR j), Finset.sum_neg_distrib, mul_neg] |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicAdjointFlux.CM.Construction |