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.RepresentationTheory.Weil.Local.SiegelGaussian |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix |
| 3 | |
| 4 | /-! # Positive Siegel Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PositiveSiegelFrame.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: each actual Siegel matrix gives the native positive Lagrangian |
| 11 | frame [1;Z], with its literal Gaussian quadratic matrix. -/ |
| 12 | |
| 13 | open scoped Classical MatrixOrder ComplexOrder |
| 14 | open _root_.Matrix OAI.RepresentationTheory.Weil.Local.SiegelGaussian.Construction |
| 15 | |
| 16 | theorem positive_real_matrix_complexification {I : Type*} [Fintype I] [DecidableEq I] |
| 17 | (Y : Matrix I I ℝ) (hY : Y.PosDef) : (Y.map Complex.ofRealHom).PosDef := by |
| 18 | obtain ⟨P, hP⟩ := CStarAlgebra.nonneg_iff_eq_star_mul_self.mp hY.posSemidef.nonneg |
| 19 | have hPY : P.transpose * P = Y := by |
| 20 | simpa only [Matrix.star_eq_conjTranspose, Matrix.conjTranspose_eq_transpose_of_trivial] using hP.symm |
| 21 | have hdet : P.det ≠ 0 := by |
| 22 | intro hz |
| 23 | have hy := hY.det_pos |
| 24 | rw [← hPY, Matrix.det_mul, Matrix.det_transpose, hz, zero_mul] at hy |
| 25 | exact (lt_irrefl 0) hy |
| 26 | have hunit : IsUnit (P.map Complex.ofRealHom) := by |
| 27 | apply (Matrix.isUnit_iff_isUnit_det _).mpr |
| 28 | change IsUnit (Complex.ofRealHom.mapMatrix P).det |
| 29 | rw [← RingHom.map_det] |
| 30 | exact (isUnit_iff_ne_zero.mpr hdet).map Complex.ofRealHom |
| 31 | have hconj : (P.map Complex.ofRealHom).conjTranspose = P.transpose.map Complex.ofRealHom := by |
| 32 | ext i j |
| 33 | exact Complex.conj_ofReal _ |
| 34 | rw [← hPY, Matrix.map_mul, ← hconj] |
| 35 | exact Matrix.PosDef.conjTranspose_mul_self _ (Matrix.mulVec_injective_of_isUnit hunit) |
| 36 | |
| 37 | def siegelPositiveFrame {N : ℕ} (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : RepresentationTheory.Weil.Local.SiegelGaussian.Construction.PositiveLagrangianFrame N where |
| 38 | matrix := Matrix.fromRows 1 Z.matrix |
| 39 | isotropic := by |
| 40 | simp only [Matrix.transpose_fromRows, Matrix.transpose_one, Matrix.J, Matrix.mul_assoc, |
| 41 | Matrix.fromBlocks_mul_fromRows, Matrix.fromCols_mul_fromRows, zero_mul, neg_mul, |
| 42 | one_mul, mul_one, zero_add, add_zero, Z.symmetric.eq, neg_add_cancel] |
| 43 | positive := by |
| 44 | convert! (positive_real_matrix_complexification _ Z.imaginary_posDef).smul |
| 45 | (by norm_num : (0 : ℝ) < 2) using 1 |
| 46 | simp only [Matrix.conjTranspose_fromRows_eq_fromCols_conjTranspose, Matrix.conjTranspose_one, |
| 47 | Matrix.J, Matrix.mul_assoc, Matrix.fromBlocks_mul_fromRows, Matrix.fromCols_mul_fromRows, |
| 48 | zero_mul, neg_mul, one_mul, mul_one, zero_add, add_zero] |
| 49 | rw [add_comm, ← sub_eq_add_neg] |
| 50 | exact RepresentationTheory.Weil.Local.SiegelGaussian.Construction.symmetric_complex_imaginary_gram Z.matrix Z.symmetric |
| 51 | |
| 52 | theorem siegel_positive_frame_position {N : ℕ} (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : |
| 53 | (siegelPositiveFrame Z).position = 1 := rfl |
| 54 | |
| 55 | theorem siegel_positive_frame_momentum {N : ℕ} (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : |
| 56 | (siegelPositiveFrame Z).momentum = Z.matrix := rfl |
| 57 | |
| 58 | theorem siegel_positive_frame_quadratic {N : ℕ} (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Fin N)) : |
| 59 | (siegelPositiveFrame Z).quadraticMatrix = Z.matrix := by |
| 60 | change Z.matrix * (1 : Matrix (Fin N) (Fin N) ℂ)⁻¹ = Z.matrix |
| 61 | rw [inv_one, mul_one] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PositiveSiegelFrame.CM |