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 Mathlib.LinearAlgebra.TensorProduct.Map |
| 2 | import Mathlib.Algebra.Exact.Basic |
| 3 | |
| 4 | /-! # Coefficient Equivalence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.CoefficientEquivalence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equivalent coefficient modules preserve injectivity and the |
| 11 | degree-zero exactness conditions under tensor product. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | variable {R A B U M N : Type u} [CommRing R] |
| 17 | [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 18 | [AddCommGroup U] [Module R U] [AddCommGroup M] [Module R M] |
| 19 | [AddCommGroup N] [Module R N] |
| 20 | |
| 21 | theorem tensorCoefficientEquiv_natural (e : A ≃ₗ[R] B) (d : M →ₗ[R] N) : |
| 22 | (d.lTensor B).comp (e.rTensor M).toLinearMap = |
| 23 | (e.rTensor N).toLinearMap.comp (d.lTensor A) := by |
| 24 | change (d.lTensor B).comp (e.toLinearMap.rTensor M) = |
| 25 | (e.toLinearMap.rTensor N).comp (d.lTensor A) |
| 26 | rw [LinearMap.lTensor_comp_rTensor, LinearMap.rTensor_comp_lTensor] |
| 27 | |
| 28 | theorem tensorCoefficientEquiv_injective (e : A ≃ₗ[R] B) (u : U →ₗ[R] M) |
| 29 | (hu : Function.Injective (u.lTensor A)) : Function.Injective (u.lTensor B) := by |
| 30 | intro x y hxy |
| 31 | apply (e.symm.rTensor U).injective |
| 32 | apply hu |
| 33 | have hx := LinearMap.congr_fun (tensorCoefficientEquiv_natural e.symm u) x |
| 34 | have hy := LinearMap.congr_fun (tensorCoefficientEquiv_natural e.symm u) y |
| 35 | exact hx.trans ((congrArg (e.symm.rTensor M) hxy).trans hy.symm) |
| 36 | |
| 37 | theorem tensorCoefficientEquiv_exact (e : A ≃ₗ[R] B) (u : U →ₗ[R] M) (d : M →ₗ[R] N) |
| 38 | (h : (d.lTensor A).ker = (u.lTensor A).range) : |
| 39 | (d.lTensor B).ker = (u.lTensor B).range := by |
| 40 | have hex : Function.Exact (u.lTensor A) (d.lTensor A) := LinearMap.exact_iff.mpr h |
| 41 | have h' := (LinearMap.exact_iff_of_surjective_of_bijective_of_injective |
| 42 | (u.lTensor A) (d.lTensor A) (u.lTensor B) (d.lTensor B) |
| 43 | (e.rTensor U).toLinearMap (e.rTensor M).toLinearMap (e.rTensor N).toLinearMap |
| 44 | (tensorCoefficientEquiv_natural e u) (tensorCoefficientEquiv_natural e d) |
| 45 | (e.rTensor U).surjective (e.rTensor M).bijective (e.rTensor N).injective).mp hex |
| 46 | exact LinearMap.exact_iff.mp h' |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.CoefficientEquivalence |