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.CMExtraction.ReindexedTheta |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.SiegelFrame |
| 3 | |
| 4 | /-! # Reindexed Frame Gradient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ReindexedFrameGradient.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The first coefficient in two frames related by a reindexing and a |
| 11 | diagonal column scaling. The formula uses the actual matrix inverses. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open _root_.Matrix OAI.RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization |
| 15 | |
| 16 | variable {I J : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] |
| 17 | variable (e : I ≃ J) |
| 18 | |
| 19 | omit [Fintype I] [Fintype J] in |
| 20 | theorem gradientVector_reindexed (l : (I → ℂ) →L[ℂ] ℂ) (i : I) : |
| 21 | RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ)) (e i) = RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector l i := by |
| 22 | change l (ReindexedTheta.TestTransport.positionReindexLinear e ℂ (Pi.single (e i) 1)) = l (Pi.single i 1) |
| 23 | congr 1 |
| 24 | funext j |
| 25 | change (Pi.single (e i) (1 : ℂ) : J → ℂ) (e j) = |
| 26 | (Pi.single i (1 : ℂ) : I → ℂ) j |
| 27 | simp only [Pi.single_apply, e.injective.eq_iff] |
| 28 | |
| 29 | theorem inverse_frame_reindexed (M : (Matrix J J ℂ)ˣ) (c : I → ℂ) |
| 30 | (L : Matrix I I ℂ) (hL : M.val.submatrix e e * Matrix.diagonal c = L) |
| 31 | (hdet : L.det ≠ 0) : |
| 32 | M.inv.submatrix e e = Matrix.diagonal c * L⁻¹ := by |
| 33 | have hmul : M.inv.submatrix e e * L = Matrix.diagonal c := by |
| 34 | rw [← hL, ← Matrix.mul_assoc, Matrix.submatrix_mul_equiv, M.inv_val] |
| 35 | simp only [Matrix.submatrix_one_equiv, Matrix.one_mul] |
| 36 | calc |
| 37 | M.inv.submatrix e e = M.inv.submatrix e e * (L * L⁻¹) := by |
| 38 | rw [Matrix.mul_nonsing_inv L (isUnit_iff_ne_zero.mpr hdet), Matrix.mul_one] |
| 39 | _ = (M.inv.submatrix e e * L) * L⁻¹ := (Matrix.mul_assoc _ _ _).symm |
| 40 | _ = Matrix.diagonal c * L⁻¹ := by rw [hmul] |
| 41 | |
| 42 | theorem frameGradient_reindexed_scaled (M : (Matrix J J ℂ)ˣ) (c : I → ℂ) |
| 43 | (L : Matrix I I ℂ) (hL : M.val.submatrix e e * Matrix.diagonal c = L) |
| 44 | (hdet : L.det ≠ 0) (l : (I → ℂ) →L[ℂ] ℂ) (i : I) : |
| 45 | (M.inv *ᵥ RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ))) (e i) = |
| 46 | c i * RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.frameGradient L l i := by |
| 47 | have hreindex : (M.inv *ᵥ RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ))) (e i) = |
| 48 | (M.inv.submatrix e e *ᵥ RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector l) i := by |
| 49 | change (∑ j : J, M.inv (e i) j * |
| 50 | RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ)) j) = |
| 51 | ∑ j : I, M.inv (e i) (e j) * RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector l j |
| 52 | rw [← e.sum_comp (fun j : J => M.inv (e i) j * |
| 53 | RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradientVector (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ)) j)] |
| 54 | simp only [gradientVector_reindexed] |
| 55 | rw [hreindex, inverse_frame_reindexed e M c L hL hdet, ← Matrix.mulVec_mulVec, |
| 56 | Matrix.mulVec_diagonal] |
| 57 | rfl |
| 58 | |
| 59 | theorem frameCovector_reindexed_scaled (M : (Matrix J J ℂ)ˣ) (c : I → ℂ) |
| 60 | (L : Matrix I I ℂ) (hL : M.val.submatrix e e * Matrix.diagonal c = L) |
| 61 | (hdet : L.det ≠ 0) (l : (I → ℂ) →L[ℂ] ℂ) (i : I) : |
| 62 | (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ)) (M.invᵀ *ᵥ Pi.single (e i) 1) = |
| 63 | c i * RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.frameGradient L l i := by |
| 64 | have h := congrFun (RepresentationTheory.Hecke.RadialDilation.SiegelFrame.Realization.gradient_precompose (l.comp (ReindexedTheta.TestTransport.positionReindexLinear e ℂ)) M.invᵀ) (e i) |
| 65 | rw [Matrix.transpose_transpose] at h |
| 66 | exact h.trans (frameGradient_reindexed_scaled e M c L hL hdet l i) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ReindexedFrameGradient.TestTransport |