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.Crystalline.Cohomology.Koszul.Tensor |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Associator |
| 3 | |
| 4 | /-! # Tensor Degree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.TensorDegree.TensorDegreeZero |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # The degree-zero tensor term and its coefficient module -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R σ M : Type u) [CommRing R] [AddCommGroup M] [Module R M] |
| 17 | |
| 18 | def equiv : Koszul.Tensor.KoszulTensor.Term R σ M 0 ≃ₗ[R] M := |
| 19 | (TensorProduct.congr (LinearEquiv.refl R M) (exteriorPower.zeroEquiv R (σ →₀ R))).trans |
| 20 | (TensorProduct.rid R M) |
| 21 | |
| 22 | theorem equiv_tmul (m : M) (ω : ⋀[R]^0 (σ →₀ R)) : |
| 23 | equiv R σ M (m ⊗ₜ[R] ω) = exteriorPower.zeroEquiv R (σ →₀ R) ω • m := rfl |
| 24 | |
| 25 | theorem equiv_symm (m : M) : |
| 26 | (equiv R σ M).symm m = m ⊗ₜ[R] (exteriorPower.zeroEquiv R (σ →₀ R)).symm 1 := by |
| 27 | apply (equiv R σ M).injective |
| 28 | rw [LinearEquiv.apply_symm_apply, equiv_tmul, LinearEquiv.apply_symm_apply, one_smul] |
| 29 | |
| 30 | theorem conjugate (f : Module.End R M) : |
| 31 | ((equiv R σ M).symm.toLinearMap.comp f).comp (equiv R σ M).toLinearMap = |
| 32 | TensorProduct.map f LinearMap.id := by |
| 33 | apply TensorProduct.ext |
| 34 | apply LinearMap.ext |
| 35 | intro m |
| 36 | apply LinearMap.ext |
| 37 | intro ω |
| 38 | change (equiv R σ M).symm (f (equiv R σ M (m ⊗ₜ[R] ω))) = f m ⊗ₜ[R] ω |
| 39 | apply (equiv R σ M).injective |
| 40 | rw [LinearEquiv.apply_symm_apply, equiv_tmul, equiv_tmul, map_smul] |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.TensorDegree.TensorDegreeZero |