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.Algebra.DirectSum.Decomposition |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Map |
| 3 | |
| 4 | /-! # Tensor Inclusions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.TensorInclusions.GradedModules |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A homogeneous component is a split submodule, so its inclusion stays injective after tensoring. -/ |
| 11 | |
| 12 | open DirectSum |
| 13 | |
| 14 | universe u v w t |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {δ : Type v} [DecidableEq δ] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module R M] |
| 18 | variable (ℳ : δ → Submodule R M) [Decomposition ℳ] |
| 19 | |
| 20 | def homogeneousComponentProjection (d : δ) : M →ₗ[R] ℳ d := |
| 21 | (DirectSum.component R δ (fun i => ℳ i) d).comp (decomposeLinearEquiv ℳ).toLinearMap |
| 22 | |
| 23 | theorem homogeneousComponentProjection_subtype (d : δ) : |
| 24 | (homogeneousComponentProjection ℳ d).comp (ℳ d).subtype = LinearMap.id := by |
| 25 | apply LinearMap.ext |
| 26 | intro m |
| 27 | apply Subtype.ext |
| 28 | exact decompose_of_mem_same ℳ m.property |
| 29 | |
| 30 | theorem homogeneousSubtype_lTensor_injective (d : δ) |
| 31 | (S : Type t) [AddCommGroup S] [Module R S] : |
| 32 | Function.Injective ((ℳ d).subtype.lTensor S) := by |
| 33 | have h : ((homogeneousComponentProjection ℳ d).lTensor S).comp ((ℳ d).subtype.lTensor S) = |
| 34 | LinearMap.id := by |
| 35 | rw [← LinearMap.lTensor_comp, homogeneousComponentProjection_subtype, LinearMap.lTensor_id] |
| 36 | intro x y hxy |
| 37 | have he := congrArg ((homogeneousComponentProjection ℳ d).lTensor S) hxy |
| 38 | exact (DFunLike.congr_fun h x).symm.trans (he.trans (DFunLike.congr_fun h y)) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.TensorInclusions.GradedModules |