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 Mathlib |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix |
| 3 | |
| 4 | /-! # Intrinsic Siegel Restriction -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicSiegelRestriction.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Generic matrix algebra adapted from the committed SiegelRestriction, |
| 11 | with only its direct matrix dependencies. Restricting a positive Siegel quadratic form along an injective real |
| 12 | linear map produces the actual positive Gaussian form on that subspace. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | open _root_.Matrix OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM |
| 17 | |
| 18 | variable {I J : Type} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] |
| 19 | |
| 20 | def realCongruence (T : Matrix I J ℝ) (Z : Matrix I I ℂ) : Matrix J J ℂ := |
| 21 | (T.map Complex.ofRealHom).transpose * Z * T.map Complex.ofRealHom |
| 22 | |
| 23 | omit [Fintype J] [DecidableEq I] [DecidableEq J] in |
| 24 | theorem realCongruence_symmetric (T : Matrix I J ℝ) (Z : Matrix I I ℂ) (hZ : Z.IsSymm) : |
| 25 | (realCongruence T Z).IsSymm := by |
| 26 | change (realCongruence T Z).transpose = realCongruence T Z |
| 27 | simp only [realCongruence, Matrix.transpose_mul, Matrix.transpose_transpose, |
| 28 | hZ.eq, Matrix.mul_assoc] |
| 29 | |
| 30 | omit [Fintype J] [DecidableEq I] [DecidableEq J] in |
| 31 | theorem realCongruence_imaginary (T : Matrix I J ℝ) (Z : Matrix I I ℂ) : |
| 32 | (fun i j => (realCongruence T Z i j).im) = |
| 33 | T.transpose * (show Matrix I I ℝ from fun i j => (Z i j).im) * T := by |
| 34 | ext i j |
| 35 | simp only [realCongruence, Matrix.mul_apply, Matrix.transpose_apply, Matrix.map_apply, |
| 36 | Complex.ofRealHom_eq_coe, Complex.im_sum, Complex.mul_im, Complex.ofReal_re, |
| 37 | Complex.ofReal_im, mul_zero, zero_mul, add_zero, zero_add] |
| 38 | rfl |
| 39 | |
| 40 | def restrictedSiegel (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (T : Matrix I J ℝ) |
| 41 | (hT : Function.Injective T.mulVec) : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix J where |
| 42 | matrix := realCongruence T Z.matrix |
| 43 | symmetric := realCongruence_symmetric T Z.matrix Z.symmetric |
| 44 | imaginary_posDef := by |
| 45 | rw [realCongruence_imaginary] |
| 46 | simpa only [Matrix.conjTranspose_eq_transpose_of_trivial] using |
| 47 | Z.imaginary_posDef.conjTranspose_mul_mul_same hT |
| 48 | |
| 49 | theorem realCongruence_form (T : Matrix I J ℝ) (Z : Matrix I I ℂ) (x y : J → ℝ) : |
| 50 | AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm (realCongruence T Z) x y = AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm Z (T.mulVec x) (T.mulVec y) := by |
| 51 | have hb {L : Type} [Fintype L] [DecidableEq L] (M : Matrix L L ℂ) (u v : L → ℝ) : |
| 52 | AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm M u v = M.toBilin' (fun i => (u i : ℂ)) (fun i => (v i : ℂ)) := by |
| 53 | simp only [AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.siegelMatrixForm_apply, Matrix.toBilin'_apply] |
| 54 | apply Finset.sum_congr rfl |
| 55 | intro i _ |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro j _ |
| 58 | ring |
| 59 | have hT (u : J → ℝ) : (T.map Complex.ofRealHom).mulVec (fun i => (u i : ℂ)) = |
| 60 | fun i => (T.mulVec u i : ℂ) := by |
| 61 | funext i |
| 62 | exact (Complex.ofRealHom.map_mulVec T u i).symm |
| 63 | rw [hb, hb, realCongruence, ← Matrix.toBilin'_comp] |
| 64 | change Z.toBilin' ((T.map Complex.ofRealHom).mulVec (fun i => (x i : ℂ))) |
| 65 | ((T.map Complex.ofRealHom).mulVec (fun i => (y i : ℂ))) = _ |
| 66 | rw [hT, hT] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicSiegelRestriction.Intrinsic |