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.CochainKernelAlgebra |
| 2 | |
| 3 | /-! # Cochain Kernel Algebra Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainKernelAlgebraNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The degree-zero representation commutes with arbitrary coefficient |
| 10 | maps through the actual cochain comparison. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | namespace Construction |
| 16 | |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 20 | {A B : Type u} [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 21 | |
| 22 | def cochainTensorKernelMap (h : A →ₗ[R] B) : |
| 23 | ((Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.complex A C).d 0 1).hom.ker →ₗ[R] |
| 24 | ((Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.complex B C).d 0 1).hom.ker := |
| 25 | ((h.rTensor (C.X 0)).comp (LinearMap.ker ((C.d 0 1).hom.lTensor A)).subtype).codRestrict _ (by |
| 26 | intro x |
| 27 | change (C.d 0 1).hom.lTensor B (h.rTensor (C.X 0) x.val) = 0 |
| 28 | rw [KernelAlgebraNaturality.Construction.tensorDifferential_natural R (C.X 0) (C.d 0 1).hom h, x.property, map_zero]) |
| 29 | |
| 30 | variable {C} {D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : C ⟶ D) |
| 31 | |
| 32 | theorem cochainTensorKernelEquiv_natural (h : A →ₗ[R] B) |
| 33 | [QuasiIsoAt (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map A φ) 0] |
| 34 | [QuasiIsoAt (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map B φ) 0] |
| 35 | (x : ((Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.complex A C).d 0 1).hom.ker) : |
| 36 | Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map B φ) (cochainTensorKernelMap C h x) = |
| 37 | cochainTensorKernelMap D h |
| 38 | (Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map A φ) x) := by |
| 39 | apply Subtype.ext |
| 40 | rw [Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv_apply_val] |
| 41 | change (φ.f 0).hom.lTensor B (h.rTensor (C.X 0) x.val) = |
| 42 | h.rTensor (D.X 0) |
| 43 | (Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map A φ) x).val |
| 44 | rw [Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv_apply_val] |
| 45 | exact KernelAlgebraNaturality.Construction.tensorDifferential_natural R (C.X 0) (φ.f 0).hom h x.val |
| 46 | |
| 47 | variable [Module.Finite R (C.X 0)] [Module.Projective R (C.X 0)] |
| 48 | [Module.Finite R (C.X 1)] [Module.Projective R (C.X 1)] |
| 49 | |
| 50 | theorem cochainKernelAlgebraEquiv_natural |
| 51 | {A B : Type u} [CommRing A] [Algebra R A] [CommRing B] [Algebra R B] |
| 52 | (h : A →ₐ[R] B) |
| 53 | [QuasiIsoAt (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map A φ) 0] |
| 54 | [QuasiIsoAt (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map B φ) 0] |
| 55 | (x : ((Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.complex A D).d 0 1).hom.ker) : |
| 56 | Completion.Finite.CochainKernelAlgebra.Construction.cochainKernelAlgebraEquiv φ B (cochainTensorKernelMap D h.toLinearMap x) = |
| 57 | h.comp (Completion.Finite.CochainKernelAlgebra.Construction.cochainKernelAlgebraEquiv φ A x) := by |
| 58 | let eA := Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map A φ) |
| 59 | let eB := Quotients.FiniteDescent.CochainZero.Construction.CochainZeroCycles.kernelEquiv (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map B φ) |
| 60 | have he : eB.symm (cochainTensorKernelMap D h.toLinearMap x) = |
| 61 | cochainTensorKernelMap C h.toLinearMap (eA.symm x) := by |
| 62 | apply eB.injective |
| 63 | rw [eB.apply_symm_apply, cochainTensorKernelEquiv_natural, eA.apply_symm_apply] |
| 64 | change Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R (C.X 0) (C.d 0 1).hom B |
| 65 | (eB.symm (cochainTensorKernelMap D h.toLinearMap x)) = |
| 66 | h.comp (Completion.Finite.ProjectiveKernelAlgebra.Construction.finiteProjectiveKernelAlgebraEquiv R (C.X 0) (C.d 0 1).hom A (eA.symm x)) |
| 67 | rw [he] |
| 68 | exact KernelAlgebraNaturality.Construction.finiteProjectiveKernelAlgebraEquiv_natural R (C.X 0) (C.d 0 1).hom A h (eA.symm x) |
| 69 | |
| 70 | end Construction |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CochainKernelAlgebraNaturality |