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.Analysis.InnerProductSpace.Adjoint |
| 2 | |
| 3 | /-! # Connection Energy Matrix -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ConnectionEnergyMatrix |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact real Hilbert matrix expansion of a first-order connection energy. -/ |
| 10 | |
| 11 | variable {F G : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 12 | [NormedAddCommGroup G] [InnerProductSpace ℝ G] [CompleteSpace G] |
| 13 | |
| 14 | def connectionPrincipalMatrix (A S : G →L[ℝ] G) : G →L[ℝ] G := S.adjoint.comp (A.comp S) |
| 15 | |
| 16 | def connectionValueGradientMatrix (A S : G →L[ℝ] G) (K : F →L[ℝ] G) : F →L[ℝ] G := |
| 17 | S.adjoint.comp (A.comp K) |
| 18 | |
| 19 | def connectionGradientValueMatrix (A S : G →L[ℝ] G) (K : F →L[ℝ] G) : G →L[ℝ] F := |
| 20 | K.adjoint.comp (A.comp S) |
| 21 | |
| 22 | def connectionValueMatrix (A : G →L[ℝ] G) (K : F →L[ℝ] G) : F →L[ℝ] F := K.adjoint.comp (A.comp K) |
| 23 | |
| 24 | theorem connectionEnergy_matrix_expansion (A S : G →L[ℝ] G) (K : F →L[ℝ] G) |
| 25 | (v w : G) (a c : F) : |
| 26 | inner ℝ (A (S v + K a)) (S w + K c) = |
| 27 | inner ℝ (connectionPrincipalMatrix A S v) w + |
| 28 | inner ℝ (connectionValueGradientMatrix A S K a) w + |
| 29 | inner ℝ (connectionGradientValueMatrix A S K v) c + |
| 30 | inner ℝ (connectionValueMatrix A K a) c := by |
| 31 | simp only [map_add, inner_add_left, inner_add_right, connectionPrincipalMatrix, |
| 32 | connectionValueGradientMatrix, connectionGradientValueMatrix, connectionValueMatrix, |
| 33 | ContinuousLinearMap.comp_apply, ContinuousLinearMap.adjoint_inner_left] |
| 34 | ring |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ConnectionEnergyMatrix |