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 | |
| 3 | /-! # Tensor Cokernel Injectivity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorCokernelInjectivity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The tensor diagram chase that exchanges the two presentations in |
| 10 | a first flatness obstruction. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u v w t z z' z'' |
| 15 | variable {B : Type u} [CommRing B] |
| 16 | variable {K : Type v} [AddCommGroup K] [Module B K] |
| 17 | variable {F : Type w} [AddCommGroup F] [Module B F] |
| 18 | variable {M : Type t} [AddCommGroup M] [Module B M] |
| 19 | variable {P : Type z} [AddCommGroup P] [Module B P] |
| 20 | variable {N : Type z'} [AddCommGroup N] [Module B N] |
| 21 | variable {Q : Type z''} [AddCommGroup Q] [Module B Q] |
| 22 | |
| 23 | theorem tensor_cokernel_injective_transfer |
| 24 | (f : K →ₗ[B] F) (g : F →ₗ[B] M) (i : P →ₗ[B] N) (j : N →ₗ[B] Q) |
| 25 | (hfg : Function.Exact f g) (hg : Function.Surjective g) |
| 26 | (hij : Function.Exact i j) (hj : Function.Surjective j) |
| 27 | (hfN : Function.Injective (f.rTensor N)) |
| 28 | (hiM : Function.Injective (i.lTensor M)) : |
| 29 | Function.Injective (f.rTensor Q) := by |
| 30 | apply (injective_iff_map_eq_zero _).mpr |
| 31 | intro x hx |
| 32 | obtain ⟨y, rfl⟩ := LinearMap.lTensor_surjective K hj x |
| 33 | have hz : j.lTensor F (f.rTensor N y) = 0 := by |
| 34 | rw [← TensorInjectivityExtensions.tensorMap_exchange, hx] |
| 35 | obtain ⟨w, hw⟩ := (lTensor_exact F hij hj (f.rTensor N y)).mp hz |
| 36 | have hwg : g.rTensor P w = 0 := by |
| 37 | apply hiM |
| 38 | rw [map_zero, ← TensorInjectivityExtensions.tensorMap_exchange, hw] |
| 39 | change (g.rTensor N).comp (f.rTensor N) y = 0 |
| 40 | rw [← LinearMap.rTensor_comp, hfg.linearMap_comp_eq_zero, LinearMap.rTensor_zero, |
| 41 | LinearMap.zero_apply] |
| 42 | obtain ⟨v, hv⟩ := (rTensor_exact P hfg hg w).mp hwg |
| 43 | have hyv : i.lTensor K v = y := by |
| 44 | apply hfN |
| 45 | rw [TensorInjectivityExtensions.tensorMap_exchange, hv, hw] |
| 46 | rw [← hyv] |
| 47 | change (j.lTensor K).comp (i.lTensor K) v = 0 |
| 48 | rw [← LinearMap.lTensor_comp, hij.linearMap_comp_eq_zero, LinearMap.lTensor_zero, |
| 49 | LinearMap.zero_apply] |
| 50 | |
| 51 | theorem tensor_cokernel_injective_iff |
| 52 | (f : K →ₗ[B] F) (g : F →ₗ[B] M) (i : P →ₗ[B] N) (j : N →ₗ[B] Q) |
| 53 | [Module.Flat B F] [Module.Flat B N] |
| 54 | (hf : Function.Injective f) (hfg : Function.Exact f g) (hg : Function.Surjective g) |
| 55 | (hi : Function.Injective i) (hij : Function.Exact i j) (hj : Function.Surjective j) : |
| 56 | Function.Injective (f.rTensor Q) ↔ Function.Injective (i.lTensor M) := by |
| 57 | constructor |
| 58 | · intro h |
| 59 | apply (i.lTensor_inj_iff_rTensor_inj M).mpr |
| 60 | apply tensor_cokernel_injective_transfer i j f g hij hj hfg hg |
| 61 | (Module.Flat.rTensor_preserves_injective_linearMap i hi) |
| 62 | exact (f.lTensor_inj_iff_rTensor_inj Q).mpr h |
| 63 | · exact tensor_cokernel_injective_transfer f g i j hfg hg hij hj |
| 64 | (Module.Flat.rTensor_preserves_injective_linearMap f hf) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorCokernelInjectivity |