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.ProjectiveKernelAlgebra |
| 2 | |
| 3 | /-! # Kernel Algebra Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.KernelAlgebraNaturality.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine algebra representing the differential kernel is natural |
| 10 | in the coefficient algebra, including non-flat base changes. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u v w t s |
| 15 | variable (R : Type u) [CommRing R] |
| 16 | (P : Type v) [AddCommGroup P] [Module R P] [Module.Finite R P] [Module.Projective R P] |
| 17 | {Q : Type t} [AddCommGroup Q] [Module R Q] [Module.Finite R Q] [Module.Projective R Q] |
| 18 | (d : P →ₗ[R] Q) |
| 19 | {M : Type w} [AddCommGroup M] [Module R M] |
| 20 | {N : Type s} [AddCommGroup N] [Module R N] |
| 21 | |
| 22 | theorem finiteProjectiveTensorDualEquiv_natural (h : M →ₗ[R] N) |
| 23 | (x : TensorProduct R M P) (φ : Module.Dual R P) : |
| 24 | Completion.Finite.ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P N (h.rTensor P x) φ = |
| 25 | h (Completion.Finite.ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P M x φ) := by |
| 26 | induction x using TensorProduct.inductionOn with |
| 27 | | tmul m p => |
| 28 | change φ p • h m = h (φ p • m) |
| 29 | exact (h.map_smul _ _).symm |
| 30 | | add x y hx hy => simp only [map_add, LinearMap.add_apply, hx, hy] |
| 31 | |
| 32 | omit [Module.Finite R P] [Module.Projective R P] [Module.Finite R Q] [Module.Projective R Q] in |
| 33 | theorem tensorDifferential_natural (h : M →ₗ[R] N) (x : TensorProduct R M P) : |
| 34 | d.lTensor N (h.rTensor P x) = h.rTensor Q (d.lTensor M x) := by |
| 35 | induction x using TensorProduct.inductionOn with |
| 36 | | tmul m p => rfl |
| 37 | | add x y hx hy => simp only [map_add, hx, hy] |
| 38 | |
| 39 | def finiteProjectiveKernelMap (h : M →ₗ[R] N) : |
| 40 | LinearMap.ker (d.lTensor M) →ₗ[R] LinearMap.ker (d.lTensor N) := |
| 41 | ((h.rTensor P).comp (LinearMap.ker (d.lTensor M)).subtype).codRestrict _ (by |
| 42 | intro x |
| 43 | change d.lTensor N (h.rTensor P (x : TensorProduct R M P)) = 0 |
| 44 | rw [tensorDifferential_natural R P d h, x.property, map_zero]) |
| 45 | |
| 46 | variable (A : Type w) [CommRing A] [Algebra R A] |
| 47 | |
| 48 | theorem finiteProjectiveKernelAlgebraEquiv_ι (x : LinearMap.ker (d.lTensor A)) (φ : Module.Dual R P) : |
| 49 | Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R P d A x |
| 50 | (SymmetricAlgebra.ι R (Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelDualModule R P d) (Submodule.Quotient.mk φ)) = |
| 51 | Completion.Finite.ProjectiveTensorDual.Construction.finiteProjectiveTensorDualEquiv R P A x φ := by |
| 52 | change SymmetricAlgebra.lift (Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelToHom R P d A x) |
| 53 | (SymmetricAlgebra.ι R _ (Submodule.Quotient.mk φ)) = _ |
| 54 | rw [SymmetricAlgebra.lift_ι_apply] |
| 55 | rfl |
| 56 | |
| 57 | theorem finiteProjectiveKernelAlgebraEquiv_natural |
| 58 | {B : Type s} [CommRing B] [Algebra R B] (h : A →ₐ[R] B) (x : LinearMap.ker (d.lTensor A)) : |
| 59 | Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R P d B (finiteProjectiveKernelMap R P d h.toLinearMap x) = |
| 60 | h.comp (Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R P d A x) := by |
| 61 | apply SymmetricAlgebra.algHom_ext |
| 62 | apply LinearMap.ext |
| 63 | intro q |
| 64 | induction q using Submodule.Quotient.induction_on with |
| 65 | | H φ => |
| 66 | change Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R P d B (finiteProjectiveKernelMap R P d h.toLinearMap x) |
| 67 | (SymmetricAlgebra.ι R _ (Submodule.Quotient.mk φ)) = |
| 68 | h (Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R P d A x (SymmetricAlgebra.ι R _ (Submodule.Quotient.mk φ))) |
| 69 | rw [finiteProjectiveKernelAlgebraEquiv_ι, finiteProjectiveKernelAlgebraEquiv_ι] |
| 70 | exact finiteProjectiveTensorDualEquiv_natural R P h.toLinearMap x φ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.KernelAlgebraNaturality.Construction |