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 |
| 2 | |
| 3 | /-! # Intrinsic Real Complexification -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicRealComplexification.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Matrix complexification and extension of a real-coordinate |
| 10 | identity to the actual complex linear maps. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | def complexifiedLinear {I J : Type} [Fintype I] [Fintype J] [DecidableEq I] |
| 15 | (e : (I → ℝ) →ₗ[ℝ] (J → ℝ)) : (I → ℂ) →ₗ[ℂ] (J → ℂ) := |
| 16 | Matrix.toLin' ((LinearMap.toMatrix' e).map Complex.ofRealHom) |
| 17 | |
| 18 | theorem complexifiedLinear_real {I J : Type} [Fintype I] [Fintype J] [DecidableEq I] |
| 19 | (e : (I → ℝ) →ₗ[ℝ] (J → ℝ)) (x : I → ℝ) : |
| 20 | complexifiedLinear e (fun i => (x i : ℂ)) = fun i => (e x i : ℂ) := by |
| 21 | funext i |
| 22 | exact (Complex.ofRealHom.map_mulVec (LinearMap.toMatrix' e) x i).symm.trans |
| 23 | (congrArg (fun r : ℝ => (r : ℂ)) (congrFun (LinearMap.toMatrix'_mulVec e x) i)) |
| 24 | |
| 25 | theorem complexLinear_ext_real {I V : Type} [Fintype I] [DecidableEq I] |
| 26 | [AddCommGroup V] [Module ℂ V] (f g : (I → ℂ) →ₗ[ℂ] V) |
| 27 | (h : ∀ x : I → ℝ, f (fun i => (x i : ℂ)) = g (fun i => (x i : ℂ))) : f = g := by |
| 28 | apply (Pi.basisFun ℂ I).ext |
| 29 | intro i |
| 30 | have hc : (fun j : I => ((Pi.single i (1 : ℝ) : I → ℝ) j : ℂ)) = |
| 31 | (Pi.single i (1 : ℂ) : I → ℂ) := by |
| 32 | funext j |
| 33 | by_cases hj : j = i <;> simp [hj] |
| 34 | have he := h (Pi.single i 1) |
| 35 | rw [hc] at he |
| 36 | simpa only [Pi.basisFun_apply] using he |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicRealComplexification.Intrinsic |