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.MetricCoefficientDivergence |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Star |
| 3 | |
| 4 | /-! # Antiholomorphic Divergence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The conjugate coefficient identity uses the opposite directional |
| 11 | derivative and the transposed inverse-Hermitian indices. -/ |
| 12 | |
| 13 | open Filter |
| 14 | open scoped _root_.Topology ComplexOrder |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 17 | |
| 18 | def antiholomorphicDirectionalDerivative (f : E → ℂ) (x u : E) : ℂ := |
| 19 | (1 / 2 : ℂ) * (fderiv ℝ f x u + Complex.I * fderiv ℝ f x (Complex.I • u)) |
| 20 | |
| 21 | theorem antiholomorphicDirectionalDerivative_congr {f g : E → ℂ} {x : E} |
| 22 | (h : f =ᶠ[𝓝 x] g) (u : E) : |
| 23 | antiholomorphicDirectionalDerivative f x u = antiholomorphicDirectionalDerivative g x u := by |
| 24 | rw [antiholomorphicDirectionalDerivative, antiholomorphicDirectionalDerivative, h.fderiv_eq] |
| 25 | |
| 26 | theorem antiholomorphicDirectionalDerivative_star (f : E → ℂ) (x u : E) : |
| 27 | antiholomorphicDirectionalDerivative (fun y => star (f y)) x u = |
| 28 | star (MetricDerivative.CM.Construction.holomorphicDirectionalDerivative f x u) := by |
| 29 | have hD (v : E) : fderiv ℝ (fun y => star (f y)) x v = star (fderiv ℝ f x v) := by |
| 30 | exact congrArg (fun L : E →L[ℝ] ℂ => L v) (fderiv_star (𝕜 := ℝ) (f := f) (x := x)) |
| 31 | rw [antiholomorphicDirectionalDerivative, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, hD, hD] |
| 32 | simp only [star_mul, star_sub, star_div₀, star_one, star_ofNat, |
| 33 | Complex.star_def, Complex.conj_I] |
| 34 | ring |
| 35 | |
| 36 | theorem varietyEuclideanMetric_weighted_inverse_antiholomorphic_divergence |
| 37 | (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 38 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 39 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 40 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 41 | (k : Fin V.complexDimension) : |
| 42 | ∑ i, antiholomorphicDirectionalDerivative |
| 43 | (fun w => (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * |
| 44 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) |
| 45 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))⁻¹ k i) |
| 46 | z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ i) = 0 := by |
| 47 | let M := fun w => InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) |
| 48 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w) |
| 49 | have hstar := congrArg (star : ℂ → ℂ) |
| 50 | (MetricCoefficientDivergence.CM.Construction.varietyEuclideanMetric_weighted_inverse_divergence V e he hz k) |
| 51 | rw [star_sum, star_zero] at hstar |
| 52 | have hi (i : Fin V.complexDimension) : |
| 53 | (fun w => (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * (M w)⁻¹ k i) =ᶠ[𝓝 z] |
| 54 | (fun w => star ((Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * (M w)⁻¹ i k)) := by |
| 55 | filter_upwards [(EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz] with w hw |
| 56 | have hP := (HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_posDef V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hw).isHermitian.inv.apply k i |
| 57 | rw [star_mul, show star (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) = |
| 58 | (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) from Complex.conj_ofReal _] |
| 59 | exact (congrArg ((Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * ·) hP.symm).trans (mul_comm _ _) |
| 60 | calc |
| 61 | _ = ∑ i, star (MetricDerivative.CM.Construction.holomorphicDirectionalDerivative |
| 62 | (fun w => (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * (M w)⁻¹ i k) |
| 63 | z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ i)) := by |
| 64 | apply Finset.sum_congr rfl |
| 65 | intro i _ |
| 66 | rw [antiholomorphicDirectionalDerivative_congr (hi i), antiholomorphicDirectionalDerivative_star] |
| 67 | _ = 0 := hstar |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction |