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.Analysis.HodgeTheory.Decomposition.CovectorConnection |
| 2 | import Mathlib.LinearAlgebra.Matrix.Trace |
| 3 | |
| 4 | /-! # Connection Trace -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.ConnectionTrace.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The trace covector of a symmetric connection and the cancellation of |
| 11 | its alternated action on covectors. -/ |
| 12 | |
| 13 | variable {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 14 | [Fintype ι] [DecidableEq ι] |
| 15 | |
| 16 | theorem symmetricConnection_trace_covector (b : Module.Basis ι ℝ E) |
| 17 | (Γ : E →L[ℝ] E →L[ℝ] E) (hΓ : ∀ u v, Γ u v = Γ v u) : |
| 18 | (∑ i, (LinearMap.toMatrix b b (Γ (b i)).toLinearMap).trace • (b.coord i).toContinuousLinearMap) = |
| 19 | ∑ i, (b.coord i).toContinuousLinearMap.comp (Γ (b i)) := by |
| 20 | let τ := ∑ i, (b.coord i).toContinuousLinearMap.comp (Γ (b i)) |
| 21 | have ht (i : ι) : τ (b i) = (LinearMap.toMatrix b b (Γ (b i)).toLinearMap).trace := by |
| 22 | simp only [τ, sum_apply, ContinuousLinearMap.comp_apply, Matrix.trace, Matrix.diag_apply, |
| 23 | LinearMap.toMatrix_apply] |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro j _ |
| 26 | change b.repr (Γ (b j) (b i)) j = b.repr (Γ (b i) (b j)) j |
| 27 | rw [hΓ] |
| 28 | calc |
| 29 | _ = ∑ i, τ (b i) • (b.coord i).toContinuousLinearMap := by simp only [ht] |
| 30 | _ = τ := by |
| 31 | ext v |
| 32 | simp only [sum_apply, smul_apply, smul_eq_mul] |
| 33 | change (∑ i, τ (b i) * b.repr v i) = τ v |
| 34 | have h := congrArg τ (b.sum_repr v) |
| 35 | simp only [map_sum, map_smul, smul_eq_mul] at h |
| 36 | simpa only [mul_comm] using h |
| 37 | |
| 38 | omit [DecidableEq ι] in |
| 39 | theorem symmetricConnection_alternated_action (b : Module.Basis ι ℝ E) (n : ℕ) |
| 40 | (Γ : E →L[ℝ] E →L[ℝ] E) (hΓ : ∀ u v, Γ u v = Γ v u) (a : DifferentialForms.Manifold.Basic.FormValue E n) : |
| 41 | (∑ i, SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord i).toContinuousLinearMap |
| 42 | (CovectorConnection.Constructions.covectorInfinitesimalAction n (Γ (b i)) a)) = 0 := by |
| 43 | let L := (a.fderivCompContinuousLinearMap (ContinuousLinearMap.id ℝ E)).comp Γ |
| 44 | have hexp := congrArg (ContinuousAlternatingMap.alternatizeUncurryFinCLM ℝ E ℂ) |
| 45 | (SymbolDifferential.Constructions.derivative_basis_expansion b n L) |
| 46 | rw [map_sum] at hexp |
| 47 | have hz := ContinuousAlternatingMap.alternatizeUncurryFin_fderivCompContinuousLinearMap_eq_zero |
| 48 | a (ContinuousLinearMap.id ℝ E) hΓ |
| 49 | exact hexp.symm.trans hz |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.Analysis.HodgeTheory.Decomposition.ConnectionTrace.Constructions |