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.MetricDerivative |
| 2 | import Mathlib.LinearAlgebra.Matrix.Trace |
| 3 | |
| 4 | /-! # Inverse Coefficient Cancellation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.InverseCoefficientCancellation.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Kähler coefficient symmetry cancels the trace and inverse-matrix |
| 11 | derivative terms in the weighted inverse-metric divergence. -/ |
| 12 | |
| 13 | theorem kahler_inverse_coefficient_cancellation {ι R : Type*} [Fintype ι] [DecidableEq ι] |
| 14 | [CommRing R] (P : Matrix ι ι R) (A : ι → Matrix ι ι R) |
| 15 | (hA : ∀ i j k, A i j k = A k j i) (k : ι) : |
| 16 | ∑ i, ((P * A i).trace * P i k - (P * A i * P) i k) = 0 := by |
| 17 | have hsum : (∑ i, (P * A i * P) i k) = ∑ i, (P * A i).trace * P i k := by |
| 18 | calc |
| 19 | _ = ∑ i, ∑ a, ∑ b, P i b * A a b i * P a k := by |
| 20 | simp only [Matrix.mul_apply, Finset.sum_mul] |
| 21 | apply Finset.sum_congr rfl |
| 22 | intro i _ |
| 23 | apply Finset.sum_congr rfl |
| 24 | intro a _ |
| 25 | apply Finset.sum_congr rfl |
| 26 | intro b _ |
| 27 | rw [hA i b a] |
| 28 | _ = ∑ a, ∑ i, ∑ b, P i b * A a b i * P a k := Finset.sum_comm |
| 29 | _ = _ := by simp only [Matrix.trace, Matrix.diag_apply, Matrix.mul_apply, Finset.sum_mul] |
| 30 | rw [Finset.sum_sub_distrib, ← hsum, sub_self] |
| 31 | |
| 32 | def varietyHermitianMatrix (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 33 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 34 | {ι : Type*} (v : ι → V.analyticModel) (y : V.analyticModel) : Matrix ι ι ℂ := |
| 35 | fun i j => Analysis.HodgeTheory.Decomposition.KahlerMetric.Constructions.metricHermitianPair (KahlerDifferential.CM.Construction.varietyMetricInChart V e y) (v i) (v j) |
| 36 | |
| 37 | def varietyHermitianMatrixDerivative (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 38 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 39 | {ι : Type*} (v : ι → V.analyticModel) (y : V.analyticModel) (i : ι) : Matrix ι ι ℂ := |
| 40 | fun j k => MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun z => varietyHermitianMatrix V e v z j k) y (v i) |
| 41 | |
| 42 | theorem varietyHermitian_inverse_coefficient_cancellation (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 43 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 44 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 45 | {ι : Type*} [Fintype ι] [DecidableEq ι] (v : ι → V.analyticModel) |
| 46 | {y : V.analyticModel} (hy : y ∈ e.target) (k : ι) : |
| 47 | ∑ i, (((varietyHermitianMatrix V e v y)⁻¹ * varietyHermitianMatrixDerivative V e v y i).trace * |
| 48 | (varietyHermitianMatrix V e v y)⁻¹ i k - |
| 49 | ((varietyHermitianMatrix V e v y)⁻¹ * varietyHermitianMatrixDerivative V e v y i * |
| 50 | (varietyHermitianMatrix V e v y)⁻¹) i k) = 0 := by |
| 51 | apply kahler_inverse_coefficient_cancellation |
| 52 | intro i j l |
| 53 | exact MetricDerivative.CM.Construction.varietyHermitian_holomorphic_derivative V e he hy (v i) (v j) (v l) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.InverseCoefficientCancellation.CM.Construction |