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.ModuleCoordinateBaseChange |
| 2 | |
| 3 | /-! # Projective Kernel Matrix -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProjectiveKernelMatrix |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every map between finite projective modules has one finite matrix that computes its kernel after every scalar extension. -/ |
| 10 | |
| 11 | open TensorProduct |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (M : Type u) [AddCommGroup M] [Module R M] |
| 16 | variable [Module.Finite R M] [Module.Projective R M] |
| 17 | |
| 18 | def finiteProjectiveCoordinateSize : ℕ := (SplitModuleKernel.finite_projective_exists_split (R := R) (M := M)).choose |
| 19 | |
| 20 | def finiteProjectiveCoordinateEmbedding : |
| 21 | SplitModuleKernel.SplitModuleEmbedding R M (ULift.{u} (Fin (finiteProjectiveCoordinateSize R M)) → R) := |
| 22 | (Classical.choice (SplitModuleKernel.finite_projective_exists_split (R := R) (M := M)).choose_spec).changeAmbient |
| 23 | (LinearEquiv.funCongrLeft R R Equiv.ulift) |
| 24 | |
| 25 | variable {R M} |
| 26 | variable {N : Type u} [AddCommGroup N] [Module R N] [Module.Finite R N] [Module.Projective R N] |
| 27 | |
| 28 | def finiteProjectiveKernelMatrix (f : M →ₗ[R] N) : |
| 29 | Matrix (ULift.{u} (Fin (finiteProjectiveCoordinateSize R N)) ⊕ |
| 30 | ULift.{u} (Fin (finiteProjectiveCoordinateSize R M))) |
| 31 | (ULift.{u} (Fin (finiteProjectiveCoordinateSize R M))) R := |
| 32 | SplitModuleCoordinates.splitModuleKernelMatrix (finiteProjectiveCoordinateEmbedding R M) |
| 33 | (finiteProjectiveCoordinateEmbedding R N) f |
| 34 | |
| 35 | def finiteProjectiveKernelMatrixBaseChangeEquiv (f : M →ₗ[R] N) |
| 36 | (A : Type u) [CommRing A] [Algebra R A] : |
| 37 | (f.baseChange A).ker ≃ₗ[A] |
| 38 | (Matrix.toLin' ((finiteProjectiveKernelMatrix f).map (algebraMap R A))).ker := |
| 39 | ModuleCoordinateBaseChange.splitModuleKernelMatrixBaseChangeEquiv A (finiteProjectiveCoordinateEmbedding R M) |
| 40 | (finiteProjectiveCoordinateEmbedding R N) f |
| 41 | |
| 42 | theorem finite_projective_kernel_has_uniform_matrix (f : M →ₗ[R] N) : |
| 43 | ∃ (m n : ℕ) (B : Matrix (ULift.{u} (Fin n) ⊕ ULift.{u} (Fin m)) (ULift.{u} (Fin m)) R), |
| 44 | ∀ (A : Type u) [CommRing A] [Algebra R A], |
| 45 | Nonempty ((f.baseChange A).ker ≃ₗ[A] (Matrix.toLin' (B.map (algebraMap R A))).ker) := |
| 46 | ⟨finiteProjectiveCoordinateSize R M, finiteProjectiveCoordinateSize R N, |
| 47 | finiteProjectiveKernelMatrix f, fun A _ _ => ⟨finiteProjectiveKernelMatrixBaseChangeEquiv f A⟩⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProjectiveKernelMatrix |