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.FormalGeometry.Completion.Finite.ProjectiveTensorDual |
| 2 | import Mathlib.LinearAlgebra.Quotient.Basic |
| 3 | import Mathlib.LinearAlgebra.SymmetricAlgebra.Basic |
| 4 | |
| 5 | /-! # Projective Kernel Algebra -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.ProjectiveKernelAlgebra.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The kernel of a map between finite projective modules, after every |
| 12 | base extension, is represented by the symmetric algebra of the dual cokernel. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u v w t |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | (P : Type v) [AddCommGroup P] [Module R P] [Module.Finite R P] [Module.Projective R P] |
| 19 | {Q : Type t} [AddCommGroup Q] [Module R Q] [Module.Finite R Q] [Module.Projective R Q] |
| 20 | (d : P →ₗ[R] Q) |
| 21 | |
| 22 | abbrev finiteProjectiveKernelDualModule := Module.Dual R P ⧸ LinearMap.range d.dualMap |
| 23 | |
| 24 | variable (M : Type w) [AddCommGroup M] [Module R M] |
| 25 | |
| 26 | def finiteProjectiveKernelToHom (x : LinearMap.ker (d.lTensor M)) : |
| 27 | finiteProjectiveKernelDualModule R P d →ₗ[R] M := |
| 28 | (LinearMap.range d.dualMap).liftQ (ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M x) (by |
| 29 | rintro φ ⟨ψ, rfl⟩ |
| 30 | exact (ProjectiveTensorDual.Construction.finiteProjectiveTensor_kernel_iff R P M d x).mp x.property ψ) |
| 31 | |
| 32 | def finiteProjectiveHomToKernel (F : finiteProjectiveKernelDualModule R P d →ₗ[R] M) : |
| 33 | LinearMap.ker (d.lTensor M) := |
| 34 | ⟨(ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M).symm (F.comp (LinearMap.range d.dualMap).mkQ), by |
| 35 | apply (ProjectiveTensorDual.Construction.finiteProjectiveTensor_kernel_iff R P M d _).mpr |
| 36 | intro ψ |
| 37 | rw [LinearEquiv.apply_symm_apply] |
| 38 | change F ((LinearMap.range d.dualMap).mkQ (d.dualMap ψ)) = 0 |
| 39 | have hz : (LinearMap.range d.dualMap).mkQ (d.dualMap ψ) = 0 := by |
| 40 | exact (Submodule.Quotient.mk_eq_zero (LinearMap.range d.dualMap)).mpr (LinearMap.mem_range_self _ _) |
| 41 | rw [hz, map_zero]⟩ |
| 42 | |
| 43 | def finiteProjectiveKernelHomEquiv : LinearMap.ker (d.lTensor M) ≃ |
| 44 | (finiteProjectiveKernelDualModule R P d →ₗ[R] M) where |
| 45 | toFun := finiteProjectiveKernelToHom R P d M |
| 46 | invFun := finiteProjectiveHomToKernel R P d M |
| 47 | left_inv x := by |
| 48 | apply Subtype.ext |
| 49 | apply (ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M).injective |
| 50 | change ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M |
| 51 | ((ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M).symm |
| 52 | ((finiteProjectiveKernelToHom R P d M x).comp (LinearMap.range d.dualMap).mkQ)) = _ |
| 53 | rw [LinearEquiv.apply_symm_apply] |
| 54 | apply LinearMap.ext |
| 55 | intro φ |
| 56 | rfl |
| 57 | right_inv F := by |
| 58 | apply LinearMap.ext |
| 59 | intro x |
| 60 | induction x using Submodule.Quotient.induction_on with |
| 61 | | H φ => |
| 62 | change ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M |
| 63 | ((ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M).symm (F.comp (LinearMap.range d.dualMap).mkQ)) φ = _ |
| 64 | rw [LinearEquiv.apply_symm_apply] |
| 65 | rfl |
| 66 | |
| 67 | abbrev finiteProjectiveKernelAlgebra := SymmetricAlgebra R (finiteProjectiveKernelDualModule R P d) |
| 68 | |
| 69 | variable (A : Type w) [CommRing A] [Algebra R A] |
| 70 | |
| 71 | def finiteProjectiveKernelAlgebraEquiv : |
| 72 | LinearMap.ker (d.lTensor A) ≃ (finiteProjectiveKernelAlgebra R P d →ₐ[R] A) := |
| 73 | (finiteProjectiveKernelHomEquiv R P d A).trans SymmetricAlgebra.lift |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.ProjectiveKernelAlgebra.Construction |