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.CMSymplecticSiegel |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.ThetaCovariance |
| 3 | |
| 4 | /-! # Symplectic Theta Completion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion and first-coefficient covariance in symplectic coordinates |
| 12 | |
| 13 | The Jacobi substitution is the actual matrix `J⁻ᵀ`, with `J = CZ + D`. |
| 14 | The proved inverse-imaginary-matrix identity cancels the quadratic factor |
| 15 | `exp (π i zᵗ J⁻¹ C z)`. The only remaining premise of the covariance |
| 16 | deductions is the uncompleted functional equation for the stated pair of |
| 17 | inputs. This file does not assert that equation or congruence descent. |
| 18 | -/ |
| 19 | |
| 20 | open scoped Classical _root_.Matrix |
| 21 | open _root_.Matrix |
| 22 | |
| 23 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 24 | |
| 25 | def SymplecticThetaCompletion.CM.complexMatrixBilinear (M : Matrix ι ι ℂ) : (ι → ℂ) →L[ℂ] (ι → ℂ) →L[ℂ] ℂ := |
| 26 | ∑ i : ι, ∑ j : ι, |
| 27 | (ContinuousLinearMap.proj i : (ι → ℂ) →L[ℂ] ℂ).smulRight |
| 28 | ((ContinuousLinearMap.proj j : (ι → ℂ) →L[ℂ] ℂ).smulRight (M i j)) |
| 29 | |
| 30 | omit [DecidableEq ι] in |
| 31 | theorem SymplecticThetaCompletion.CM.complexMatrixBilinear_apply (M : Matrix ι ι ℂ) (z w : ι → ℂ) : |
| 32 | SymplecticThetaCompletion.CM.complexMatrixBilinear M z w = z ⬝ᵥ (M *ᵥ w) := by |
| 33 | simp [SymplecticThetaCompletion.CM.complexMatrixBilinear, dotProduct, Matrix.mulVec, Finset.mul_sum, mul_comm, mul_left_comm] |
| 34 | |
| 35 | theorem SymplecticThetaCompletion.CM.complexify_real_matrix_inv (M : Matrix ι ι ℝ) (hM : IsUnit M.det) : |
| 36 | (M.map (algebraMap ℝ ℂ))⁻¹ = M⁻¹.map (algebraMap ℝ ℂ) := by |
| 37 | apply Matrix.inv_eq_right_inv |
| 38 | change ((algebraMap ℝ ℂ).mapMatrix M) * ((algebraMap ℝ ℂ).mapMatrix M⁻¹) = 1 |
| 39 | rw [← map_mul, Matrix.mul_nonsing_inv _ hM, map_one] |
| 40 | |
| 41 | theorem CMSiegelMatrix.CM.SiegelMatrix.completionForm_quadratic (Z : CMSiegelMatrix.CM.SiegelMatrix ι) (z w : ι → ℂ) : |
| 42 | Z.completionForm z w = ((Real.pi : ℂ) / 2) * (z ⬝ᵥ ((CMSymplecticSiegel.CM.matrixImaginary Z.matrix)⁻¹ *ᵥ w)) := by |
| 43 | cases Subsingleton.elim (inferInstance : DecidableEq ι) (Classical.typeDecidableEq ι) |
| 44 | let Y : Matrix ι ι ℝ := fun i j => (Z.matrix i j).im |
| 45 | have hY : IsUnit Y.det := (Matrix.isUnit_iff_isUnit_det _).mp Z.imaginary_posDef.isUnit |
| 46 | have hinv : (CMSymplecticSiegel.CM.matrixImaginary Z.matrix)⁻¹ = Y⁻¹.map (algebraMap ℝ ℂ) := |
| 47 | SymplecticThetaCompletion.CM.complexify_real_matrix_inv Y hY |
| 48 | rw [hinv] |
| 49 | simpa only [dotProduct, Matrix.mulVec, Finset.mul_sum, Matrix.map_apply, |
| 50 | Complex.coe_algebraMap, mul_assoc] using! Z.completionForm_apply z w |
| 51 | |
| 52 | omit [DecidableEq ι] in |
| 53 | theorem SymplecticThetaCompletion.CM.bilinear_matrix_pullback (K M : Matrix ι ι ℂ) (z : ι → ℂ) : |
| 54 | (K *ᵥ z) ⬝ᵥ (M *ᵥ (K *ᵥ z)) = z ⬝ᵥ ((Kᵀ * M * K) *ᵥ z) := by |
| 55 | symm |
| 56 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, dotProduct_transpose_mulVec, dotProduct_comm] |
| 57 | |
| 58 | variable (g : CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) (Z : CMSiegelMatrix.CM.SiegelMatrix ι) |
| 59 | |
| 60 | def CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange : (ι → ℂ) →L[ℂ] (ι → ℂ) := |
| 61 | ((g.complexify.denominator Z.matrix)⁻¹ᵀ).mulVecLin.toContinuousLinearMap |
| 62 | |
| 63 | theorem CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply (z : ι → ℂ) : |
| 64 | g.jacobiChange Z z = (g.complexify.denominator Z.matrix)⁻¹ᵀ *ᵥ z := rfl |
| 65 | |
| 66 | def CMSymplecticSiegel.CM.SymplecticBlocks.thetaCorrectionForm : (ι → ℂ) →L[ℂ] (ι → ℂ) →L[ℂ] ℂ := |
| 67 | ((Real.pi : ℂ) * Complex.I) • |
| 68 | SymplecticThetaCompletion.CM.complexMatrixBilinear ((g.complexify.denominator Z.matrix)⁻¹ * g.complexify.C) |
| 69 | |
| 70 | theorem CMSymplecticSiegel.CM.SymplecticBlocks.thetaCorrectionForm_apply (z w : ι → ℂ) : |
| 71 | g.thetaCorrectionForm Z z w = (Real.pi : ℂ) * Complex.I * |
| 72 | (z ⬝ᵥ (((g.complexify.denominator Z.matrix)⁻¹ * g.complexify.C) *ᵥ w)) := by |
| 73 | simp only [CMSymplecticSiegel.CM.SymplecticBlocks.thetaCorrectionForm, _root_.smul_apply, SymplecticThetaCompletion.CM.complexMatrixBilinear_apply, smul_eq_mul] |
| 74 | |
| 75 | /-- The actual completed exponent transforms by the negative of the |
| 76 | quadratic exponent in the classical theta functional equation. -/ |
| 77 | theorem CMSymplecticSiegel.CM.SymplecticBlocks.completion_correction_identity (z : ι → ℂ) : |
| 78 | (g.transformSiegel Z).completionForm (g.jacobiChange Z z) (g.jacobiChange Z z) + |
| 79 | g.thetaCorrectionForm Z z z = Z.completionForm z z := by |
| 80 | have hpull : |
| 81 | (g.jacobiChange Z z) ⬝ᵥ ((CMSymplecticSiegel.CM.matrixImaginary (g.transformSiegel Z).matrix)⁻¹ *ᵥ |
| 82 | (g.jacobiChange Z z)) = |
| 83 | z ⬝ᵥ ((CMSymplecticSiegel.CM.matrixImaginary Z.matrix)⁻¹ *ᵥ z) - (2 * Complex.I) * |
| 84 | (z ⬝ᵥ (((g.complexify.denominator Z.matrix)⁻¹ * g.complexify.C) *ᵥ z)) := by |
| 85 | rw [g.jacobiChange_apply, SymplecticThetaCompletion.CM.bilinear_matrix_pullback, transpose_transpose] |
| 86 | change z ⬝ᵥ (((g.complexify.denominator Z.matrix)⁻¹ * |
| 87 | (CMSymplecticSiegel.CM.matrixImaginary (g.complexify.fractional Z.matrix))⁻¹ * |
| 88 | (g.complexify.denominator Z.matrix)⁻¹ᵀ) *ᵥ z) = _ |
| 89 | rw [g.inverse_imaginary_pullback_siegel Z, Matrix.sub_mulVec, Matrix.smul_mulVec, |
| 90 | dotProduct_sub, dotProduct_smul, smul_eq_mul] |
| 91 | rw [CMSiegelMatrix.CM.SiegelMatrix.completionForm_quadratic, Z.completionForm_quadratic, |
| 92 | g.thetaCorrectionForm_apply, hpull] |
| 93 | ring |
| 94 | |
| 95 | theorem CMSymplecticSiegel.CM.SymplecticBlocks.completedThetaSeries_covariance (S T : Set (ThetaCoordinates.CM.thetaCoordinateLattice ι)) (c : ℂ) |
| 96 | (htransform : ∀ z, |
| 97 | (g.transformSiegel Z).phase.thetaSeriesOn (ThetaCoordinates.CM.thetaCoordinatePairing ι) (ThetaCoordinates.CM.thetaCoordinateLattice ι) |
| 98 | T (g.jacobiChange Z z) = |
| 99 | c * (ThetaCompletion.CM.thetaCompletionFactor (g.thetaCorrectionForm Z) z * |
| 100 | Z.phase.thetaSeriesOn (ThetaCoordinates.CM.thetaCoordinatePairing ι) (ThetaCoordinates.CM.thetaCoordinateLattice ι) S z)) |
| 101 | (z : ι → ℂ) : |
| 102 | (g.transformSiegel Z).completedThetaSeriesOn T (g.jacobiChange Z z) = |
| 103 | c * Z.completedThetaSeriesOn S z := |
| 104 | ThetaCovariance.CM.theta_completion_covariance (g.jacobiChange Z) Z.completionForm |
| 105 | (g.transformSiegel Z).completionForm (g.thetaCorrectionForm Z) c _ _ htransform |
| 106 | (g.completion_correction_identity Z) z |
| 107 | |
| 108 | theorem CMSymplecticSiegel.CM.SymplecticBlocks.firstThetaCoefficient_symplectic_covariance |
| 109 | (S T : Set (ThetaCoordinates.CM.thetaCoordinateLattice ι)) (c : ℂ) |
| 110 | (htransform : ∀ z, |
| 111 | (g.transformSiegel Z).phase.thetaSeriesOn (ThetaCoordinates.CM.thetaCoordinatePairing ι) (ThetaCoordinates.CM.thetaCoordinateLattice ι) |
| 112 | T (g.jacobiChange Z z) = |
| 113 | c * (ThetaCompletion.CM.thetaCompletionFactor (g.thetaCorrectionForm Z) z * |
| 114 | Z.phase.thetaSeriesOn (ThetaCoordinates.CM.thetaCoordinatePairing ι) (ThetaCoordinates.CM.thetaCoordinateLattice ι) S z)) : |
| 115 | (CMSiegelMatrix.CM.SiegelMatrix.firstThetaCoefficient T (g.transformSiegel Z).matrix).comp (g.jacobiChange Z) = |
| 116 | c • CMSiegelMatrix.CM.SiegelMatrix.firstThetaCoefficient S Z.matrix := |
| 117 | Z.firstThetaCoefficient_covariance (g.transformSiegel Z) S T |
| 118 | (g.jacobiChange Z) (g.thetaCorrectionForm Z) c htransform |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.ComplexMultiplication |