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.AbelianModuli.HilbertConstruction.SplitModuleCoordinates |
| 2 | |
| 3 | /-! # Module Coordinate Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite matrix equations for a kernel commute with extension of the coefficient ring. -/ |
| 10 | |
| 11 | open TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] |
| 16 | variable {M N : Type u} [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 17 | variable {μ ν : Type u} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 18 | variable (A : Type u) [CommRing A] [Algebra R A] |
| 19 | |
| 20 | def SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange (P : SplitModuleKernel.SplitModuleEmbedding R M (μ → R)) : |
| 21 | SplitModuleKernel.SplitModuleEmbedding A (A ⊗[R] M) (μ → A) := |
| 22 | (P.baseChange A).changeAmbient (TensorProduct.piScalarRight R A A μ) |
| 23 | |
| 24 | omit [Fintype ν] [DecidableEq ν] in |
| 25 | theorem SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange_projection_single |
| 26 | (P : SplitModuleKernel.SplitModuleEmbedding R M (μ → R)) (j : μ) : |
| 27 | (P.coordinateBaseChange A).projection (Pi.single j 1) = 1 ⊗ₜ[R] P.projection (Pi.single j 1) := by |
| 28 | change P.projection.baseChange A |
| 29 | ((TensorProduct.piScalarRight R A A μ).symm (Pi.single j 1)) = _ |
| 30 | rw [TensorProduct.piScalarRight_symm_single, LinearMap.baseChange_tmul] |
| 31 | |
| 32 | omit [Fintype ν] [DecidableEq ν] in |
| 33 | theorem SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange_inclusion_tmul |
| 34 | (P : SplitModuleKernel.SplitModuleEmbedding R M (μ → R)) (x : M) (i : μ) : |
| 35 | (P.coordinateBaseChange A).inclusion (1 ⊗ₜ[R] x) i = algebraMap R A (P.inclusion x i) := by |
| 36 | change TensorProduct.piScalarRight R A A μ (P.inclusion.baseChange A (1 ⊗ₜ[R] x)) i = _ |
| 37 | simp only [LinearMap.baseChange_tmul, TensorProduct.piScalarRight_apply, |
| 38 | TensorProduct.piScalarRightHom_tmul, Algebra.smul_def, mul_one] |
| 39 | |
| 40 | theorem ModuleCoordinateBaseChange.splitModuleKernelMatrix_baseChange (P : SplitModuleKernel.SplitModuleEmbedding R M (μ → R)) |
| 41 | (Q : SplitModuleKernel.SplitModuleEmbedding R N (ν → R)) (f : M →ₗ[R] N) : |
| 42 | SplitModuleCoordinates.splitModuleKernelMatrix (P.coordinateBaseChange A) (Q.coordinateBaseChange A) (f.baseChange A) = |
| 43 | (SplitModuleCoordinates.splitModuleKernelMatrix P Q f).map (algebraMap R A) := by |
| 44 | ext i j |
| 45 | cases i with |
| 46 | | inl i => |
| 47 | simp only [SplitModuleCoordinates.splitModuleKernelMatrix_inl, Matrix.map_apply, |
| 48 | SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange_projection_single, |
| 49 | LinearMap.baseChange_tmul, SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange_inclusion_tmul] |
| 50 | | inr i => |
| 51 | simp only [SplitModuleCoordinates.splitModuleKernelMatrix_inr, Matrix.map_apply, |
| 52 | SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange_projection_single, |
| 53 | SplitModuleKernel.SplitModuleEmbedding.coordinateBaseChange_inclusion_tmul, map_sub] |
| 54 | congr 1 |
| 55 | by_cases h : i = j <;> simp only [Pi.single_apply, h, ite_true, ite_false, map_one, map_zero] |
| 56 | |
| 57 | def ModuleCoordinateBaseChange.splitModuleKernelMatrixBaseChangeEquiv (P : SplitModuleKernel.SplitModuleEmbedding R M (μ → R)) |
| 58 | (Q : SplitModuleKernel.SplitModuleEmbedding R N (ν → R)) (f : M →ₗ[R] N) : |
| 59 | (f.baseChange A).ker ≃ₗ[A] |
| 60 | (Matrix.toLin' ((SplitModuleCoordinates.splitModuleKernelMatrix P Q f).map (algebraMap R A))).ker := |
| 61 | (SplitModuleCoordinates.splitModuleKernelMatrixEquiv (P.coordinateBaseChange A) (Q.coordinateBaseChange A) |
| 62 | (f.baseChange A)).trans |
| 63 | (LinearEquiv.ofEq _ _ (congrArg (fun B : Matrix (ν ⊕ μ) μ A => (Matrix.toLin' B).ker) |
| 64 | (ModuleCoordinateBaseChange.splitModuleKernelMatrix_baseChange A P Q f))) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |