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.AlgebraicGeometry.HilbertScheme.Presentations.Localized.DegreePieces |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Decomposition |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 4 | |
| 5 | /-! # Tensor Graded Action -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorGradedAction.GradedModules |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Tensoring a graded module with an arbitrary coefficient module preserves the original graded polynomial action. -/ |
| 12 | |
| 13 | open TensorProduct DirectSum |
| 14 | |
| 15 | universe u v w t |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] |
| 18 | variable {M : Type w} [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] |
| 19 | variable (𝒜 : ℤ → Submodule R A) [GradedAlgebra 𝒜] |
| 20 | variable (ℳ : ℤ → Submodule R M) [SetLike.GradedSMul 𝒜 ℳ] |
| 21 | variable (S : Type t) [AddCommGroup S] [Module R S] |
| 22 | |
| 23 | omit [GradedAlgebra 𝒜] in |
| 24 | theorem decomposeTensor_gradedSMul : SetLike.GradedSMul 𝒜 (decomposeTensor ℳ S) := by |
| 25 | constructor |
| 26 | intro i j a x ha hx |
| 27 | change a • x ∈ decomposeTensor ℳ S (i + j) |
| 28 | obtain ⟨y, rfl⟩ := hx |
| 29 | induction y using TensorProduct.inductionOn with |
| 30 | | tmul m s => |
| 31 | refine ⟨(⟨a • m.val, SetLike.GradedSMul.smul_mem ha m.property⟩ : ℳ (i + j)) ⊗ₜ[R] s, ?_⟩ |
| 32 | rfl |
| 33 | | add y z hy hz => |
| 34 | simp only [map_add, smul_add] |
| 35 | exact Submodule.add_mem _ hy hz |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorGradedAction.GradedModules |