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.ThetaCoordinates |
| 2 | import Mathlib.LinearAlgebra.Matrix.PosDef |
| 3 | import Mathlib.LinearAlgebra.Matrix.Symmetric |
| 4 | |
| 5 | /-! # CM Siegel Matrix -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Siegel matrices and the explicit coordinate theta series |
| 13 | |
| 14 | A symmetric complex matrix with positive definite imaginary part gives |
| 15 | the positive bilinear phase used in the analytic construction. This |
| 16 | identifies the terms with the usual matrix exponential formula and |
| 17 | applies the proved gradient-spanning theorem in its full cotangent space. |
| 18 | -/ |
| 19 | |
| 20 | open scoped Classical _root_.Matrix |
| 21 | |
| 22 | variable {ι : Type*} [Fintype ι] |
| 23 | |
| 24 | def siegelMatrixForm (Z : Matrix ι ι ℂ) : (ι → ℝ) →L[ℝ] (ι → ℝ) →L[ℝ] ℂ := |
| 25 | ∑ i : ι, ∑ j : ι, |
| 26 | (ContinuousLinearMap.proj i : (ι → ℝ) →L[ℝ] ℝ).smulRight |
| 27 | ((ContinuousLinearMap.proj j : (ι → ℝ) →L[ℝ] ℝ).smulRight (Z i j)) |
| 28 | |
| 29 | theorem siegelMatrixForm_apply (Z : Matrix ι ι ℂ) (x y : ι → ℝ) : |
| 30 | siegelMatrixForm Z x y = ∑ i, ∑ j, (x i : ℂ) * ((y j : ℂ) * Z i j) := by |
| 31 | simp [siegelMatrixForm, Complex.real_smul] |
| 32 | |
| 33 | theorem siegelMatrixForm_symmetric (Z : Matrix ι ι ℂ) (hZ : Z.IsSymm) (x y : ι → ℝ) : |
| 34 | siegelMatrixForm Z x y = siegelMatrixForm Z y x := by |
| 35 | simp only [siegelMatrixForm_apply] |
| 36 | rw [Finset.sum_comm] |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro i _ |
| 39 | apply Finset.sum_congr rfl |
| 40 | intro j _ |
| 41 | rw [hZ.apply i j] |
| 42 | ring |
| 43 | |
| 44 | theorem siegelMatrixForm_im (Z : Matrix ι ι ℂ) (x y : ι → ℝ) : |
| 45 | (siegelMatrixForm Z x y).im = x ⬝ᵥ ((fun i j => (Z i j).im) *ᵥ y) := by |
| 46 | simp [siegelMatrixForm_apply, dotProduct, Matrix.mulVec, Finset.mul_sum, |
| 47 | mul_comm, mul_left_comm] |
| 48 | |
| 49 | /-- The standard Siegel positivity hypotheses, stated directly on a matrix. -/ |
| 50 | structure SiegelMatrix (ι : Type*) [Fintype ι] where |
| 51 | matrix : Matrix ι ι ℂ |
| 52 | symmetric : matrix.IsSymm |
| 53 | imaginary_posDef : Matrix.PosDef (fun i j => (matrix i j).im) |
| 54 | |
| 55 | namespace SiegelMatrix |
| 56 | |
| 57 | variable (Z : SiegelMatrix ι) |
| 58 | |
| 59 | def phase : CMSiegelPhase.CM.SiegelPhase (ι → ℝ) where |
| 60 | form := siegelMatrixForm Z.matrix |
| 61 | symmetric := siegelMatrixForm_symmetric Z.matrix Z.symmetric |
| 62 | positive x hx := by |
| 63 | rw [siegelMatrixForm_im] |
| 64 | simpa only [star_trivial] using Z.imaginary_posDef.dotProduct_mulVec_pos hx |
| 65 | |
| 66 | theorem thetaTerm_formula (x : ι → ℝ) (z : ι → ℂ) : |
| 67 | Z.phase.thetaTerm (ThetaCoordinates.CM.thetaCoordinatePairing ι) x z = |
| 68 | Complex.exp ((Real.pi : ℂ) * Complex.I * |
| 69 | (∑ i, ∑ j, (x i : ℂ) * ((x j : ℂ) * Z.matrix i j)) + |
| 70 | (2 * (Real.pi : ℂ) * Complex.I) * (∑ i, (x i : ℂ) * z i)) := by |
| 71 | simp only [CMSiegelPhase.CM.SiegelPhase.thetaTerm, SiegelMatrix.phase, siegelMatrixForm_apply, ThetaCoordinates.CM.thetaCoordinatePairing_apply] |
| 72 | |
| 73 | /-- For every genuine Siegel matrix, actual first derivatives of the |
| 74 | positive-degree sparse coordinate theta series span the whole cotangent space. -/ |
| 75 | theorem span_sparseThetaGradients_eq_top : |
| 76 | Submodule.span ℂ (Set.range (fun an : ThetaCoordinates.CM.thetaCoordinateLattice ι × ℕ => |
| 77 | Z.phase.sparseThetaGradient (ThetaCoordinates.CM.thetaCoordinatePairing ι) (ThetaCoordinates.CM.thetaCoordinateLattice ι) |
| 78 | an.1 an.2)) = ⊤ := |
| 79 | ThetaCoordinates.CM.span_coordinate_sparseThetaGradients_eq_top ι Z.phase |
| 80 | |
| 81 | end SiegelMatrix |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM |