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.LinearAlgebra.TensorProduct.Basic |
| 2 | import Mathlib.LinearAlgebra.BilinearMap |
| 3 | import Mathlib.Algebra.Algebra.Basic |
| 4 | |
| 5 | /-! # Compatible Scalar Tensor Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleScalarTensorMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A coefficient-compatible ring action extends a linear map canonically to a tensor-product map. -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R B V G : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 16 | variable [AddCommGroup V] [Module R V] [AddCommGroup G] [Module R G] |
| 17 | variable (ρ : B →+* Module.End R G) |
| 18 | variable (hρ : ∀ (r : R) (x : G), ρ (algebraMap R B r) x = r • x) |
| 19 | |
| 20 | def compatibleScalarActionLinearMap : B →ₗ[R] G →ₗ[R] G where |
| 21 | toFun := ρ |
| 22 | map_add' := ρ.map_add |
| 23 | map_smul' r b := by |
| 24 | rw [Algebra.smul_def, map_mul] |
| 25 | apply LinearMap.ext |
| 26 | intro x |
| 27 | exact hρ r (ρ b x) |
| 28 | |
| 29 | def compatibleScalarTensorMap (a : V →ₗ[R] G) : TensorProduct R B V →ₗ[R] G := |
| 30 | TensorProduct.lift ((compatibleScalarActionLinearMap ρ hρ).compl₂ a) |
| 31 | |
| 32 | theorem compatibleScalarTensorMap_tmul (a : V →ₗ[R] G) (b : B) (v : V) : |
| 33 | compatibleScalarTensorMap ρ hρ a (b ⊗ₜ[R] v) = ρ b (a v) := rfl |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleScalarTensorMap |