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.NumberTheory.PadicHodge.GeometricComparison.ScalarExtension |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | |
| 4 | /-! # Scalar Tower Subspace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarTowerSubspace.ScalarTowerComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical tensor associativity comparison preserves the actual scalar-extended operators and subspaces. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable (K A L : Type*) [Field K] [Field A] [Field L] |
| 15 | [Algebra K A] [Algebra K L] [Algebra A L] [IsScalarTower K A L] |
| 16 | {V W : Type*} [AddCommGroup V] [Module K V] [AddCommGroup W] [Module K W] |
| 17 | |
| 18 | def equiv (V : Type*) [AddCommGroup V] [Module K V] : |
| 19 | L ⊗[A] (A ⊗[K] V) ≃ₗ[L] L ⊗[K] V := |
| 20 | TensorProduct.AlgebraTensorModule.cancelBaseChange K A L L V |
| 21 | |
| 22 | theorem naturality (f : V →ₗ[K] W) : |
| 23 | (equiv K A L W).toLinearMap.comp ((f.baseChange A).baseChange L) = |
| 24 | (f.baseChange L).comp (equiv K A L V).toLinearMap := |
| 25 | (TensorProduct.AlgebraTensorModule.lTensor_comp_cancelBaseChange K A L (M := L) f).symm |
| 26 | |
| 27 | theorem subspace (P : Submodule K V) : |
| 28 | ((P.baseChange A).baseChange L).map (equiv K A L V).toLinearMap = P.baseChange L := by |
| 29 | have hP : (P.baseChange A).baseChange L = ((P.subtype.baseChange A).baseChange L).range := |
| 30 | ScalarExtension.ScalarExtensionRanges.range L (P.subtype.baseChange A) |
| 31 | rw [hP, ← LinearMap.range_comp, naturality] |
| 32 | exact LinearMap.range_comp_of_range_eq_top _ (LinearMap.range_eq_top.mpr (equiv K A L P).surjective) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarTowerSubspace.ScalarTowerComparison |