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.Tensor.DifferentialKernels |
| 2 | |
| 3 | /-! # Differential Tensor Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.DifferentialTensorKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A generalized inverse to a differential makes its kernel commute with every tensor module. The proof uses the explicit projection onto the kernel. -/ |
| 10 | open scoped TensorProduct |
| 11 | universe u |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | |
| 15 | theorem tensor_kernel_range_of_generalizedInverse |
| 16 | {M N : Type u} [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 17 | (f : M →ₗ[R] N) (r : N →ₗ[R] M) (hr : f.comp (r.comp f) = f) |
| 18 | (B : Type u) [AddCommGroup B] [Module R B] : |
| 19 | (f.lTensor B).ker ≤ (f.ker.subtype.lTensor B).range := by |
| 20 | let q : M →ₗ[R] f.ker := (LinearMap.id - r.comp f).codRestrict _ (by |
| 21 | intro m |
| 22 | change f (m - r (f m)) = 0 |
| 23 | rw [map_sub] |
| 24 | have hm : f (r (f m)) = f m := LinearMap.congr_fun hr m |
| 25 | rw [hm, sub_self]) |
| 26 | have hq : (f.ker.subtype.lTensor B).comp (q.lTensor B) = |
| 27 | LinearMap.id - (r.lTensor B).comp (f.lTensor B) := by |
| 28 | apply TensorProduct.ext' |
| 29 | intro b m |
| 30 | change b ⊗ₜ[R] (m - r (f m)) = b ⊗ₜ[R] m - b ⊗ₜ[R] r (f m) |
| 31 | exact TensorProduct.tmul_sub b m (r (f m)) |
| 32 | intro z hz |
| 33 | refine ⟨q.lTensor B z, ?_⟩ |
| 34 | have h := LinearMap.congr_fun hq z |
| 35 | change (f.ker.subtype.lTensor B) (q.lTensor B z) = z - r.lTensor B (f.lTensor B z) at h |
| 36 | change f.lTensor B z = 0 at hz |
| 37 | rw [hz, map_zero, sub_zero] at h |
| 38 | exact h |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.DifferentialTensorKernel |