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.Hecke.RadialDilation.SiegelFrame |
| 2 | |
| 3 | /-! # Positive Graph -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.PositiveGraph.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Constructing a Siegel matrix from a positive isotropic period frame. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Matrix |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 15 | |
| 16 | def standardFramePairing (p q : ι → ℂ) : ℂ := |
| 17 | ∑ i, (p i * star (q i) - q i * star (p i)) |
| 18 | |
| 19 | theorem positive_frame_lower_det |
| 20 | (P Q : Matrix ι ι ℂ) |
| 21 | (hpositive : ∀ v : ι → ℂ, v ≠ 0 → |
| 22 | 0 < (standardFramePairing (P *ᵥ v) (Q *ᵥ v)).im) : |
| 23 | Q.det ≠ 0 := by |
| 24 | apply isUnit_iff_ne_zero.mp |
| 25 | apply (Matrix.isUnit_iff_isUnit_det Q).mp |
| 26 | apply Matrix.mulVec_injective_iff_isUnit.mp |
| 27 | intro x y hxy |
| 28 | by_contra hne |
| 29 | have hv : Q *ᵥ (x - y) = 0 := by rw [Matrix.mulVec_sub, hxy, sub_self] |
| 30 | have hp := hpositive (x - y) (sub_ne_zero.mpr hne) |
| 31 | simp [hv, standardFramePairing] at hp |
| 32 | |
| 33 | theorem isotropic_frame_graph_symmetric |
| 34 | (P Q : Matrix ι ι ℂ) (hQ : Q.det ≠ 0) |
| 35 | (hisotropic : P.transpose * Q = Q.transpose * P) : |
| 36 | (P * Q⁻¹).IsSymm := by |
| 37 | have hQi := Matrix.mul_nonsing_inv Q (isUnit_iff_ne_zero.mpr hQ) |
| 38 | have ht : Q⁻¹ᵀ * Q.transpose = 1 := by |
| 39 | simpa only [Matrix.transpose_mul, Matrix.transpose_one] using congrArg Matrix.transpose hQi |
| 40 | change (P * Q⁻¹).transpose = P * Q⁻¹ |
| 41 | calc |
| 42 | _ = Q⁻¹ᵀ * P.transpose := Matrix.transpose_mul _ _ |
| 43 | _ = (Q⁻¹ᵀ * P.transpose) * (Q * Q⁻¹) := by rw [hQi, Matrix.mul_one] |
| 44 | _ = Q⁻¹ᵀ * (P.transpose * Q) * Q⁻¹ := by simp only [Matrix.mul_assoc] |
| 45 | _ = Q⁻¹ᵀ * (Q.transpose * P) * Q⁻¹ := by rw [hisotropic] |
| 46 | _ = (Q⁻¹ᵀ * Q.transpose) * P * Q⁻¹ := by simp only [Matrix.mul_assoc] |
| 47 | _ = P * Q⁻¹ := by rw [ht, Matrix.one_mul] |
| 48 | |
| 49 | omit [DecidableEq ι] in |
| 50 | theorem graph_pairing_im (Z : Matrix ι ι ℂ) (w : ι → ℝ) : |
| 51 | (standardFramePairing (Z *ᵥ (fun i => (w i : ℂ))) (fun i => (w i : ℂ))).im = |
| 52 | 2 * (w ⬝ᵥ ((fun i j => (Z i j).im) *ᵥ w)) := by |
| 53 | simp only [standardFramePairing, Complex.im_sum, Complex.sub_im, Complex.mul_im, |
| 54 | Complex.star_def, Complex.conj_re, Complex.conj_im, Complex.ofReal_re, Complex.ofReal_im, |
| 55 | mul_zero, zero_mul, zero_add, add_zero, neg_zero] |
| 56 | simp only [Matrix.mulVec, dotProduct, Complex.im_sum, Complex.mul_im, |
| 57 | Complex.ofReal_re, Complex.ofReal_im, mul_zero, zero_add] |
| 58 | rw [Finset.mul_sum] |
| 59 | apply Finset.sum_congr rfl |
| 60 | intro i _ |
| 61 | ring |
| 62 | |
| 63 | /-- The upper-half-space point is constructed from the frame, rather than |
| 64 | postulated independently of the positive Lagrangian. -/ |
| 65 | def siegelOfPositiveFrame (P Q : Matrix ι ι ℂ) |
| 66 | (hisotropic : P.transpose * Q = Q.transpose * P) |
| 67 | (hpositive : ∀ v : ι → ℂ, v ≠ 0 → |
| 68 | 0 < (standardFramePairing (P *ᵥ v) (Q *ᵥ v)).im) : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι where |
| 69 | matrix := P * Q⁻¹ |
| 70 | symmetric := isotropic_frame_graph_symmetric P Q (positive_frame_lower_det P Q hpositive) hisotropic |
| 71 | imaginary_posDef := by |
| 72 | apply Matrix.PosDef.of_dotProduct_mulVec_pos |
| 73 | · apply Matrix.isHermitian_iff_isSymm.mpr |
| 74 | exact (isotropic_frame_graph_symmetric P Q (positive_frame_lower_det P Q hpositive) hisotropic).map Complex.im |
| 75 | · intro w hw |
| 76 | let wc : ι → ℂ := fun i => (w i : ℂ) |
| 77 | let v := Q⁻¹ *ᵥ wc |
| 78 | have hQ := positive_frame_lower_det P Q hpositive |
| 79 | have hQv : Q *ᵥ v = wc := by |
| 80 | rw [Matrix.mulVec_mulVec, Matrix.mul_nonsing_inv _ (isUnit_iff_ne_zero.mpr hQ), |
| 81 | Matrix.one_mulVec] |
| 82 | have hv : v ≠ 0 := by |
| 83 | intro hv |
| 84 | have he : wc = 0 := by rw [← hQv, hv, Matrix.mulVec_zero] |
| 85 | apply hw |
| 86 | funext i |
| 87 | have hi : (w i : ℂ) = 0 := congrFun he i |
| 88 | exact_mod_cast hi |
| 89 | have hp := hpositive v hv |
| 90 | have hPv : P *ᵥ v = (P * Q⁻¹) *ᵥ wc := Matrix.mulVec_mulVec _ _ _ |
| 91 | rw [hQv, hPv, graph_pairing_im] at hp |
| 92 | simp only [star_trivial] at * |
| 93 | linarith |
| 94 | |
| 95 | theorem siegelOfPositiveFrame_columns (P Q : Matrix ι ι ℂ) |
| 96 | (hisotropic : P.transpose * Q = Q.transpose * P) |
| 97 | (hpositive : ∀ v : ι → ℂ, v ≠ 0 → |
| 98 | 0 < (standardFramePairing (P *ᵥ v) (Q *ᵥ v)).im) : |
| 99 | (siegelOfPositiveFrame P Q hisotropic hpositive).matrix * Q = P := by |
| 100 | change P * Q⁻¹ * Q = P |
| 101 | rw [Matrix.mul_assoc, Matrix.nonsing_inv_mul _ |
| 102 | (isUnit_iff_ne_zero.mpr (positive_frame_lower_det P Q hpositive)), Matrix.mul_one] |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.RepresentationTheory.Hecke.RadialDilation.PositiveGraph.Realization |