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.NumberTheory.ArithmeticGroups.Lattices.Compact.InvariantGram |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ExponentialIntegration |
| 3 | |
| 4 | /-! # Invariant Form Derivative -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFormDerivative.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Differentiating invariance of a bilinear form along actual matrix |
| 11 | group exponential curves. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix.Norms.Operator |
| 14 | open _root_.Matrix NormedSpace |
| 15 | |
| 16 | def matrixTransposeCLM {n : ℕ} : |
| 17 | Matrix (Fin n) (Fin n) ℝ →L[ℝ] Matrix (Fin n) (Fin n) ℝ := |
| 18 | (show Matrix (Fin n) (Fin n) ℝ →ₗ[ℝ] Matrix (Fin n) (Fin n) ℝ from |
| 19 | { toFun := Matrix.transpose |
| 20 | map_add' := Matrix.transpose_add |
| 21 | map_smul' := fun c A => Matrix.transpose_smul c A }).toContinuousLinearMap |
| 22 | |
| 23 | theorem matrix_congruence_exponential_hasDerivAt {n : ℕ} |
| 24 | (A Q : Matrix (Fin n) (Fin n) ℝ) : |
| 25 | HasDerivAt (fun t : ℝ => (exp (t • A)).transpose * Q * exp (t • A)) |
| 26 | (A.transpose * Q + Q * A) 0 := by |
| 27 | have hd : HasDerivAt (fun t : ℝ => exp (t • A)) A 0 := by |
| 28 | convert! hasDerivAt_exp_smul_const A (0 : ℝ) using 1 |
| 29 | simp only [zero_smul, exp_zero, Matrix.one_mul] |
| 30 | have ht := (matrixTransposeCLM (n := n)).hasFDerivAt.comp_hasDerivAt 0 hd |
| 31 | have hm := (ht.mul_const Q).mul hd |
| 32 | convert! hm using 1 |
| 33 | simp [matrixTransposeCLM] |
| 34 | rfl |
| 35 | |
| 36 | theorem invariant_form_infinitesimal {n : ℕ} |
| 37 | (G : Algebraic.MatrixAlgebraicGroup ℝ n) (Q : Matrix (Fin n) (Fin n) ℝ) |
| 38 | (hQ : ∀ g : G.RationalPoints, |
| 39 | (g.val : Matrix (Fin n) (Fin n) ℝ).transpose * Q * |
| 40 | (g.val : Matrix (Fin n) (Fin n) ℝ) = Q) |
| 41 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : A.val.transpose * Q + Q * A.val = 0 := by |
| 42 | have he : (fun t : ℝ => (exp (t • A.val)).transpose * Q * exp (t • A.val)) = |
| 43 | fun _ => Q := by |
| 44 | funext t |
| 45 | exact hQ (ExponentialIntegration.Construction.infinitesimalExponential G A t) |
| 46 | have hd := matrix_congruence_exponential_hasDerivAt A.val Q |
| 47 | rw [he] at hd |
| 48 | exact hd.unique (hasDerivAt_const 0 Q) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFormDerivative.Construction |