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.ProjectiveInverseTransport |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.TwoFormFluxAlgebra |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace |
| 4 | |
| 5 | /-! # Antiholomorphic Integration -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.AntiholomorphicIntegration.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Closed projective (1,1) forms with zero Hermitian trace have |
| 14 | divergence-free adjoint flux in the actual metric and volume density. -/ |
| 15 | |
| 16 | open Filter |
| 17 | open scoped ContDiff _root_.Topology ComplexOrder |
| 18 | |
| 19 | def varietyInverseHermitianMatrix (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 20 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 21 | Matrix (Fin V.complexDimension) (Fin V.complexDimension) ℂ := |
| 22 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))⁻¹ |
| 23 | |
| 24 | def varietyConjugateTwoMatrix (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 25 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 26 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 27 | Matrix (Fin V.complexDimension) (Fin V.complexDimension) ℂ := |
| 28 | Matrix.of fun i j => star (TwoFormChartCoefficients.CM.Construction.varietyTwoFormMixedCoefficient V e a i j z) |
| 29 | |
| 30 | def varietyMixedTwoAdjointFlux (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 31 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 32 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) (j d : Fin V.complexDimension) : |
| 33 | EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ := |
| 34 | TwoFormFluxAlgebra.CM.Construction.raisedTwoFlux (fun z => (Metric.CM.Construction.varietyMetricDensity V e z : ℂ)) |
| 35 | (varietyInverseHermitianMatrix V e) (varietyConjugateTwoMatrix V e a) j d |
| 36 | |
| 37 | theorem varietyInverseHermitianMatrix_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 38 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 39 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (i j : Fin V.complexDimension) : |
| 40 | ContDiffOn ℝ ∞ (fun z => varietyInverseHermitianMatrix V e z i j) |
| 41 | (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 42 | (HermitianCoefficientSmooth.CM.Construction.varietyHermitianMatrix_inverse_smooth V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) i j).comp |
| 43 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).contDiff.restrict_scalars ℝ).contDiffOn |
| 44 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates_mapsTo V e) |
| 45 | |
| 46 | theorem varietyConjugateTwoMatrix_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 47 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 48 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 49 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) (i j : Fin V.complexDimension) : |
| 50 | ContDiffOn ℝ ∞ (fun z => varietyConjugateTwoMatrix V e a z i j) |
| 51 | (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 52 | Complex.conjCLE.contDiff.comp_contDiffOn (TwoFormChartCoefficients.CM.Construction.varietyTwoFormMixedCoefficient_smooth V e he a i j) |
| 53 | |
| 54 | theorem varietyMixedTwoAdjointFlux_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 55 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 56 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 57 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) (j d : Fin V.complexDimension) : |
| 58 | ContDiffOn ℝ ∞ (varietyMixedTwoAdjointFlux V e a j d) (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := by |
| 59 | unfold varietyMixedTwoAdjointFlux TwoFormFluxAlgebra.CM.Construction.raisedTwoFlux |
| 60 | apply ContDiffOn.sum |
| 61 | intro r _ |
| 62 | apply ContDiffOn.sum |
| 63 | intro k _ |
| 64 | exact (((Complex.ofRealCLM.contDiff.comp_contDiffOn (Metric.CM.Construction.varietyMetricDensity_smooth V e he)).mul |
| 65 | (varietyInverseHermitianMatrix_smooth V e he r d)).mul |
| 66 | (varietyInverseHermitianMatrix_smooth V e he j k)).mul |
| 67 | (varietyConjugateTwoMatrix_smooth V e he a r k) |
| 68 | |
| 69 | theorem variety_raised_two_trace_conjugate (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 70 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 71 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 72 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) |
| 73 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 74 | TwoFormFluxAlgebra.CM.Construction.raisedTwoTrace (varietyInverseHermitianMatrix V e) (varietyConjugateTwoMatrix V e a) z = |
| 75 | star (HolomorphicExteriorTrace.CM.Construction.varietyTwoFormTrace V e a z) := by |
| 76 | simp only [TwoFormFluxAlgebra.CM.Construction.raisedTwoTrace, HolomorphicExteriorTrace.CM.Construction.varietyTwoFormTrace, star_sum] |
| 77 | apply Finset.sum_congr rfl |
| 78 | intro j _ |
| 79 | apply Finset.sum_congr rfl |
| 80 | intro k _ |
| 81 | have hP := (HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_posDef V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hz).isHermitian.inv.apply j k |
| 82 | change _ = star (_ * TwoFormChartCoefficients.CM.Construction.varietyTwoFormMixedCoefficient V e a j k z) |
| 83 | rw [star_mul, hP] |
| 84 | exact mul_comm _ _ |
| 85 | |
| 86 | theorem variety_closed_two_conjugate_derivative (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 87 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 88 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 89 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) |
| 90 | (ha : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace 1 1 a.val) |
| 91 | (hc : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a = 0) |
| 92 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 93 | (d r k : Fin V.complexDimension) : |
| 94 | AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => varietyConjugateTwoMatrix V e a y r k) z |
| 95 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d) = |
| 96 | AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => varietyConjugateTwoMatrix V e a y r d) z |
| 97 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ k) := by |
| 98 | change AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => star (TwoFormChartCoefficients.CM.Construction.varietyTwoFormMixedCoefficient V e a r k y)) z _ = |
| 99 | AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => star (TwoFormChartCoefficients.CM.Construction.varietyTwoFormMixedCoefficient V e a r d y)) z _ |
| 100 | rw [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative_star, AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative_star] |
| 101 | exact congrArg (star : ℂ → ℂ) (TwoFormChartCoefficients.CM.Construction.variety_closed_type11_holomorphic_derivative V e he a ha hc hz d r k) |
| 102 | |
| 103 | theorem variety_closed_trace_zero_two_flux_divergence (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 104 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 105 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 106 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) |
| 107 | (ha : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace 1 1 a.val) |
| 108 | (hc : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d a = 0) |
| 109 | (ht : ∀ z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e, HolomorphicExteriorTrace.CM.Construction.varietyTwoFormTrace V e a z = 0) |
| 110 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) (j : Fin V.complexDimension) : |
| 111 | (∑ d, AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (varietyMixedTwoAdjointFlux V e a j d) z |
| 112 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d)) = 0 := by |
| 113 | let P := varietyInverseHermitianMatrix V e |
| 114 | let S := varietyConjugateTwoMatrix V e a |
| 115 | let ρ := fun y => (Metric.CM.Construction.varietyMetricDensity V e y : ℂ) |
| 116 | have hρ : DifferentiableAt ℝ ρ z := |
| 117 | ((Complex.ofRealCLM.contDiff.comp_contDiffOn (Metric.CM.Construction.varietyMetricDensity_smooth V e he)).contDiffAt |
| 118 | ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 119 | have hP (r k : Fin V.complexDimension) : DifferentiableAt ℝ (fun y => P y r k) z := |
| 120 | ((varietyInverseHermitianMatrix_smooth V e he r k).contDiffAt |
| 121 | ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 122 | have hS (r k : Fin V.complexDimension) : DifferentiableAt ℝ (fun y => S y r k) z := |
| 123 | ((varietyConjugateTwoMatrix_smooth V e he a r k).contDiffAt |
| 124 | ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 125 | have hzero : TwoFormFluxAlgebra.CM.Construction.raisedTwoTrace P S =ᶠ[𝓝 z] (fun _ => (0 : ℂ)) := by |
| 126 | filter_upwards [(EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz] with y hy |
| 127 | exact (variety_raised_two_trace_conjugate V e he a hy).trans (by rw [ht y hy, star_zero]) |
| 128 | have hd (d : Fin V.complexDimension) : AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (TwoFormFluxAlgebra.CM.Construction.raisedTwoTrace P S) z |
| 129 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d) = 0 := by |
| 130 | rw [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative_congr hzero] |
| 131 | simp only [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative, fderiv_const_apply, zero_apply, mul_zero, add_zero] |
| 132 | have h := TwoFormFluxAlgebra.CM.Construction.raisedTwoFlux_divergence_trace ρ P S hρ hP hS |
| 133 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ) |
| 134 | (AntiholomorphicDivergence.CM.Construction.varietyEuclideanMetric_weighted_inverse_antiholomorphic_divergence V e he hz) |
| 135 | (ProjectiveInverseTransport.CM.Construction.varietyEuclideanInverse_antiholomorphic_transport V e he hz) |
| 136 | (variety_closed_two_conjugate_derivative V e he a ha hc hz) j |
| 137 | exact h.trans (by simp only [hd, mul_zero, Finset.sum_const_zero]) |
| 138 | |
| 139 | end |
| 140 | |
| 141 | /-! Antiholomorphic integration by parts and the vanishing of a |
| 142 | divergence-free flux against compactly supported scalar derivatives. -/ |
| 143 | |
| 144 | open _root_.MeasureTheory |
| 145 | open scoped ContDiff |
| 146 | |
| 147 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 148 | |
| 149 | theorem antiholomorphicDirectionalDerivative_smoothOn (w : E → ℂ) {U : Set E} (hU : IsOpen U) |
| 150 | (hw : ContDiffOn ℝ ∞ w U) (u : E) : |
| 151 | ContDiffOn ℝ ∞ (fun x => AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative w x u) U := by |
| 152 | exact contDiffOn_const.mul |
| 153 | ((Analysis.HodgeTheory.Decomposition.LocalAdjointForm.Constructions.smoothOn_directional_derivative w hU hw u).add |
| 154 | (contDiffOn_const.mul (Analysis.HodgeTheory.Decomposition.LocalAdjointForm.Constructions.smoothOn_directional_derivative w hU hw (Complex.I • u)))) |
| 155 | |
| 156 | variable [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 157 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] |
| 158 | |
| 159 | theorem integral_mul_antiholomorphicDirectionalDerivative_on (w g : E → ℂ) {U : Set E} |
| 160 | (hU : IsOpen U) (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 161 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) (u : E) : |
| 162 | (∫ x, w x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative g x u ∂μ) = |
| 163 | -(∫ x, AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative w x u * g x ∂μ) := by |
| 164 | have hL (v : E) := HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable μ w _ hU hw |
| 165 | (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg v) (hgc.fderiv_apply ℝ v) |
| 166 | ((tsupport_fderiv_apply_subset ℝ v).trans hs) |
| 167 | have hR (v : E) := HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable μ _ g hU |
| 168 | (Analysis.HodgeTheory.Decomposition.LocalAdjointForm.Constructions.smoothOn_directional_derivative w hU hw v) hg hgc hs |
| 169 | have hLf (x : E) : w x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative g x u = |
| 170 | (1 / 2 : ℂ) * (w x * fderiv ℝ g x u + Complex.I * (w x * fderiv ℝ g x (Complex.I • u))) := by |
| 171 | rw [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative] |
| 172 | ring |
| 173 | have hRf (x : E) : AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative w x u * g x = |
| 174 | (1 / 2 : ℂ) * (fderiv ℝ w x u * g x + Complex.I * (fderiv ℝ w x (Complex.I • u) * g x)) := by |
| 175 | rw [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative] |
| 176 | ring |
| 177 | simp_rw [hLf, hRf] |
| 178 | rw [integral_const_mul, integral_const_mul, |
| 179 | integral_add (hL u) ((hL (Complex.I • u)).const_mul Complex.I), integral_const_mul, |
| 180 | integral_add (hR u) ((hR (Complex.I • u)).const_mul Complex.I), integral_const_mul, |
| 181 | HolomorphicIntegrationByParts.CM.Construction.integral_mul_directional_on μ w g hU hw hg hgc hs u, |
| 182 | HolomorphicIntegrationByParts.CM.Construction.integral_mul_directional_on μ w g hU hw hg hgc hs (Complex.I • u)] |
| 183 | ring |
| 184 | |
| 185 | omit [FiniteDimensional ℝ E] in |
| 186 | theorem antiholomorphic_test_product_integrable (w g : E → ℂ) {U : Set E} |
| 187 | (hU : IsOpen U) (hw : ContDiffOn ℝ ∞ w U) (hg : ContDiff ℝ ∞ g) |
| 188 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) (u : E) : |
| 189 | Integrable (fun x => w x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative g x u) μ := by |
| 190 | have h (v : E) := HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable μ w _ hU hw |
| 191 | (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.smooth_directional_derivative g hg v) (hgc.fderiv_apply ℝ v) |
| 192 | ((tsupport_fderiv_apply_subset ℝ v).trans hs) |
| 193 | convert ((h u).add ((h (Complex.I • u)).const_mul Complex.I)).const_mul (1 / 2 : ℂ) using 1 |
| 194 | funext x |
| 195 | change w x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative g x u = |
| 196 | (1 / 2 : ℂ) * (w x * fderiv ℝ g x u + Complex.I * (w x * fderiv ℝ g x (Complex.I • u))) |
| 197 | rw [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative] |
| 198 | ring |
| 199 | |
| 200 | theorem integral_divergence_free_antiholomorphic_flux {ι : Type*} [Fintype ι] |
| 201 | (w : ι → E → ℂ) (v : ι → E) (g : E → ℂ) {U : Set E} (hU : IsOpen U) |
| 202 | (hw : ∀ i, ContDiffOn ℝ ∞ (w i) U) (hg : ContDiff ℝ ∞ g) |
| 203 | (hgc : HasCompactSupport g) (hs : tsupport g ⊆ U) |
| 204 | (hdiv : ∀ x ∈ U, (∑ i, AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (w i) x (v i)) = 0) : |
| 205 | (∫ x, ∑ i, w i x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative g x (v i) ∂μ) = 0 := by |
| 206 | have hL (i : ι) := antiholomorphic_test_product_integrable μ (w i) g hU (hw i) hg hgc hs (v i) |
| 207 | have hR (i : ι) := HolomorphicIntegrationByParts.CM.Construction.smooth_mul_test_integrable μ _ g hU |
| 208 | (antiholomorphicDirectionalDerivative_smoothOn (w i) hU (hw i) (v i)) hg hgc hs |
| 209 | have hzero (x : E) : (∑ i, AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (w i) x (v i) * g x) = 0 := by |
| 210 | rw [← Finset.sum_mul] |
| 211 | by_cases hx : x ∈ U |
| 212 | · rw [hdiv x hx, zero_mul] |
| 213 | · rw [image_eq_zero_of_notMem_tsupport (fun ht => hx (hs ht)), mul_zero] |
| 214 | rw [integral_finsetSum _ (fun i _ => hL i)] |
| 215 | simp_rw [integral_mul_antiholomorphicDirectionalDerivative_on μ _ g hU (hw _) hg hgc hs] |
| 216 | rw [Finset.sum_neg_distrib, ← integral_finsetSum _ (fun i _ => hR i)] |
| 217 | simp only [hzero, integral_zero, neg_zero] |
| 218 | |
| 219 | end |
| 220 | |
| 221 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.AntiholomorphicIntegration.CM.Construction |