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.HodgeConjecture.HeckeCycles.GeometricSource |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.TensorSpace |
| 3 | |
| 4 | /-! # Ball Action Matrix -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallActionMatrix.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: the actual rational principal action preserves the complex |
| 11 | Hermitian form after extending scalars. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Matrix OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | |
| 16 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 17 | |
| 18 | def ballActionMatrix (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) : Matrix (Fin 3) (Fin 3) ℂ := |
| 19 | (LinearMap.toMatrix' g.toLinearMap).map K.subtype |
| 20 | |
| 21 | def ballHermitianMatrix (B : HeckeCycles.GeometricSource.CM.BallDatum K) : Matrix (Fin 3) (Fin 3) ℂ := |
| 22 | Matrix.diagonal (fun j => if j = 2 then (B.b : ℂ) else 1) |
| 23 | |
| 24 | theorem ball_action_matrix_unitary (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 25 | (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) : |
| 26 | (ballActionMatrix K g).conjTranspose * ballHermitianMatrix K B * ballActionMatrix K g = |
| 27 | ballHermitianMatrix K B := by |
| 28 | ext i j |
| 29 | have hs : HeckeCycles.GeometricSource.CM.hermitian K B.b (Pi.single j 1) (Pi.single i 1) = |
| 30 | if i = j then (if i = 2 then B.b else 1) else 0 := by |
| 31 | simp [HeckeCycles.GeometricSource.CM.hermitian, Pi.single_apply, eq_comm] |
| 32 | have hc (x : K) : K.subtype (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K x) = star (K.subtype x) := ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe K x |
| 33 | have h := congrArg K.subtype (hg (Pi.single j 1) (Pi.single i 1)) |
| 34 | rw [hs] at h |
| 35 | simp only [HeckeCycles.GeometricSource.CM.hermitian, map_sum, map_mul, hc, apply_ite K.subtype, map_one, map_zero] at h |
| 36 | simp only [show K.subtype B.b = (B.b : ℂ) from rfl] at h |
| 37 | change (∑ k, ((ballActionMatrix K g).conjTranspose * ballHermitianMatrix K B) i k * |
| 38 | ballActionMatrix K g k j) = _ |
| 39 | simp only [ballHermitianMatrix, Matrix.mul_diagonal, ballActionMatrix, |
| 40 | Matrix.conjTranspose_apply, Matrix.map_apply, Matrix.diagonal_apply, |
| 41 | LinearMap.toMatrix'_apply, LinearEquiv.coe_coe] |
| 42 | convert h using 1 |
| 43 | apply Finset.sum_congr rfl |
| 44 | intro k _ |
| 45 | ring |
| 46 | |
| 47 | theorem ball_hermitian_real (B : HeckeCycles.GeometricSource.CM.BallDatum K) (x : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 48 | (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (ballHermitianMatrix K B) x x).re = |
| 49 | Complex.normSq (x 0) + Complex.normSq (x 1) + (B.b : ℂ).re * Complex.normSq (x 2) := by |
| 50 | simp [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue, ballHermitianMatrix, Matrix.mulVec, dotProduct, |
| 51 | Fin.sum_univ_succ, Complex.mul_re, Complex.mul_im, Complex.normSq_apply] |
| 52 | ring |
| 53 | |
| 54 | theorem ball_action_preserves_real_form (B : HeckeCycles.GeometricSource.CM.BallDatum K) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) |
| 55 | (hg : ∀ x y, HeckeCycles.GeometricSource.CM.hermitian K B.b (g x) (g y) = HeckeCycles.GeometricSource.CM.hermitian K B.b x y) (x : HeckeCycles.GeometricSource.CM.Vec ℂ) : |
| 56 | let y := (ballActionMatrix K g).mulVec x |
| 57 | Complex.normSq (y 0) + Complex.normSq (y 1) + (B.b : ℂ).re * Complex.normSq (y 2) = |
| 58 | Complex.normSq (x 0) + Complex.normSq (x 1) + (B.b : ℂ).re * Complex.normSq (x 2) := by |
| 59 | dsimp only |
| 60 | rw [← ball_hermitian_real K B, ← ball_hermitian_real K B, |
| 61 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue_change, |
| 62 | ball_action_matrix_unitary K B g hg, ball_hermitian_real] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.BallActionMatrix.CM |