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.InverseCoefficientCancellation |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.MetricFiber |
| 3 | import Mathlib.Analysis.InnerProductSpace.GramMatrix |
| 4 | |
| 5 | /-! # Hermitian Matrix Positive -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HermitianMatrixPositive.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Positive definiteness of the actual Hermitian metric matrix in a complex basis. -/ |
| 12 | |
| 13 | open scoped ComplexOrder |
| 14 | |
| 15 | theorem varietyHermitianMatrix_eq_gram (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 16 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 17 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 18 | {ι : Type*} (v : ι → V.analyticModel) {y : V.analyticModel} (hy : y ∈ e.target) : |
| 19 | InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e v y = Matrix.gram ℂ |
| 20 | (fun i => (OAI.Analysis.HodgeTheory.Decomposition.MetricFiber.Constructions.projectiveMetricFiberEquiv V e he y hy).symm (v i)) := by |
| 21 | ext i j |
| 22 | rw [Matrix.gram_apply, OAI.Analysis.HodgeTheory.Decomposition.MetricFiber.Constructions.projectiveMetricFiber_inner] |
| 23 | simp only [ContinuousLinearEquiv.apply_symm_apply] |
| 24 | rfl |
| 25 | |
| 26 | theorem varietyHermitianMatrix_posDef (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 27 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 28 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 29 | {ι : Type*} [Finite ι] (v : Module.Basis ι ℂ V.analyticModel) |
| 30 | {y : V.analyticModel} (hy : y ∈ e.target) : |
| 31 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e v y).PosDef := by |
| 32 | rw [varietyHermitianMatrix_eq_gram V e he v hy] |
| 33 | exact Matrix.posDef_gram_of_linearIndependent |
| 34 | (v.map (OAI.Analysis.HodgeTheory.Decomposition.MetricFiber.Constructions.projectiveMetricFiberEquiv V e he y hy).symm.toLinearEquiv).linearIndependent |
| 35 | |
| 36 | theorem varietyHermitianMatrix_det_isUnit (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 37 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 38 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 39 | {ι : Type*} [Fintype ι] [DecidableEq ι] (v : Module.Basis ι ℂ V.analyticModel) |
| 40 | {y : V.analyticModel} (hy : y ∈ e.target) : |
| 41 | IsUnit (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e v y).det := |
| 42 | isUnit_iff_ne_zero.mpr (varietyHermitianMatrix_posDef V e he v hy).det_pos.ne' |
| 43 | |
| 44 | theorem varietyHermitianMatrix_differentiableAt (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 45 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 46 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 47 | {ι : Type*} (v : ι → V.analyticModel) {y : V.analyticModel} (hy : y ∈ e.target) (i j : ι) : |
| 48 | DifferentiableAt ℝ (fun z => InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e v z i j) y := |
| 49 | ((OAI.Analysis.HodgeTheory.Decomposition.Hermitian.Constructions.projectiveMetricHermitian_smooth V e he (v i) (v j)).contDiffAt |
| 50 | (e.open_target.mem_nhds hy)).differentiableAt (by simp) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HermitianMatrixPositive.CM.Construction |