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.HilbertScheme.Presentations.TensorInjectivityExtensions |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | |
| 4 | /-! # Reduction Tensor Injectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ReductionTensorInjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Once a presentation is injective after reduction and its reduced |
| 11 | cokernel is flat, every module over the reduced ring preserves injectivity. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w t z z' |
| 16 | variable {B : Type u} [CommRing B] |
| 17 | variable {K : Type v} [AddCommGroup K] [Module B K] |
| 18 | variable {F : Type w} [AddCommGroup F] [Module B F] |
| 19 | variable {M : Type t} [AddCommGroup M] [Module B M] |
| 20 | |
| 21 | theorem lTensor_injective_of_flat_reduction |
| 22 | (A : Type z) [CommRing A] [Algebra B A] |
| 23 | (N : Type z') [AddCommGroup N] [Module B N] [Module A N] [IsScalarTower B A N] |
| 24 | (f : K →ₗ[B] F) (g : F →ₗ[B] M) |
| 25 | (hfg : Function.Exact f g) (hg : Function.Surjective g) |
| 26 | (hf : Function.Injective (f.lTensor A)) [Module.Flat A (A ⊗[B] M)] : |
| 27 | Function.Injective (f.lTensor N) := by |
| 28 | let fA : A ⊗[B] K →ₗ[A] A ⊗[B] F := AlgebraTensorModule.lTensor A A f |
| 29 | let gA : A ⊗[B] F →ₗ[A] A ⊗[B] M := AlgebraTensorModule.lTensor A A g |
| 30 | have hfA : Function.Injective fA := hf |
| 31 | have hgA : Function.Surjective gA := LinearMap.lTensor_surjective A hg |
| 32 | have hexA : Function.Exact fA gA := lTensor_exact A hfg hg |
| 33 | have hinj : Function.Injective (fA.lTensor N) := |
| 34 | LinearMap.lTensor_injective_of_exact_of_flat gA hgA fA hfA hexA N |
| 35 | let eK := AlgebraTensorModule.cancelBaseChange B A A N K |
| 36 | let eF := AlgebraTensorModule.cancelBaseChange B A A N F |
| 37 | have he (x : N ⊗[A] (A ⊗[B] K)) : |
| 38 | f.lTensor N (eK x) = eF (fA.lTensor N x) := by |
| 39 | exact LinearMap.congr_fun (AlgebraTensorModule.lTensor_comp_cancelBaseChange B A A f) x |
| 40 | intro x y hxy |
| 41 | apply eK.symm.injective |
| 42 | apply hinj |
| 43 | apply eF.injective |
| 44 | rw [← he, ← he, eK.apply_symm_apply, eK.apply_symm_apply] |
| 45 | exact hxy |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ReductionTensorInjectivity |