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.Module.TensorFunctor |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.RightExactness |
| 3 | |
| 4 | /-! # Differential Kernels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.DifferentialKernels |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical map from tensors of a differential kernel to the kernel of the tensored differential, with its actual values and surjectivity criterion. -/ |
| 11 | open _root_.CategoryTheory |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] (A : Type u) [AddCommGroup A] [Module R A] |
| 15 | variable {M N : ModuleCat.{u} R} (d : M ⟶ N) |
| 16 | |
| 17 | def tensorDifferentialKernelMap : A ⊗[R] d.hom.ker →ₗ[R] (d.hom.lTensor A).ker := |
| 18 | (d.hom.ker.subtype.lTensor A).codRestrict _ (by |
| 19 | intro z |
| 20 | have h : (d.hom.lTensor A).comp (d.hom.ker.subtype.lTensor A) = 0 := by |
| 21 | rw [← LinearMap.lTensor_comp] |
| 22 | have hzero : d.hom.comp d.hom.ker.subtype = 0 := by |
| 23 | ext m |
| 24 | exact m.property |
| 25 | rw [hzero] |
| 26 | exact LinearMap.lTensor_zero A |
| 27 | exact congrArg (fun f => f z) h) |
| 28 | |
| 29 | theorem tensorDifferentialKernelMap_val (z : A ⊗[R] d.hom.ker) : |
| 30 | (tensorDifferentialKernelMap A d z).val = d.hom.ker.subtype.lTensor A z := rfl |
| 31 | |
| 32 | theorem tensorDifferentialKernelMap_tmul_val (a : A) (m : d.hom.ker) : |
| 33 | (tensorDifferentialKernelMap A d (a ⊗ₜ[R] m)).val = a ⊗ₜ[R] m.val := rfl |
| 34 | |
| 35 | theorem tensorDifferentialKernelMap_surjective |
| 36 | (h : (d.hom.lTensor A).ker ≤ (d.hom.ker.subtype.lTensor A).range) : |
| 37 | Function.Surjective (tensorDifferentialKernelMap A d) := by |
| 38 | intro z |
| 39 | obtain ⟨w, hw⟩ := h z.property |
| 40 | exact ⟨w, Subtype.ext hw⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.DifferentialKernels |