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.RingTheory.Flat.Basic |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | |
| 4 | /-! # Tensor Injectivity Extensions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorInjectivityExtensions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensor injectivity propagates through short exact extensions and |
| 11 | through scalar extension by a flat module. -/ |
| 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 {P : Type t} [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 tensorMap_exchange (f : K →ₗ[B] F) (g : P →ₗ[B] N) (x : P ⊗[B] K) : |
| 24 | g.rTensor F (f.lTensor P x) = f.lTensor N (g.rTensor K x) := by |
| 25 | induction x with |
| 26 | | tmul p k => rfl |
| 27 | | add x y hx hy => simp only [map_add, hx, hy] |
| 28 | |
| 29 | theorem lTensor_injective_of_shortExact (f : K →ₗ[B] F) [Module.Flat B F] |
| 30 | (i : P →ₗ[B] N) (j : N →ₗ[B] Q) (hi : Function.Injective i) |
| 31 | (hex : Function.Exact i j) (hj : Function.Surjective j) |
| 32 | (hP : Function.Injective (f.lTensor P)) (hQ : Function.Injective (f.lTensor Q)) : |
| 33 | Function.Injective (f.lTensor N) := by |
| 34 | apply (injective_iff_map_eq_zero _).mpr |
| 35 | intro x hx |
| 36 | have hz : j.rTensor K x = 0 := by |
| 37 | apply hQ |
| 38 | rw [map_zero, ← tensorMap_exchange, hx, map_zero] |
| 39 | obtain ⟨y, rfl⟩ := (rTensor_exact K hex hj x).mp hz |
| 40 | have hy : f.lTensor P y = 0 := by |
| 41 | apply Module.Flat.rTensor_preserves_injective_linearMap (M := F) i hi |
| 42 | rw [map_zero, tensorMap_exchange] |
| 43 | exact hx |
| 44 | have hy0 : y = 0 := hP (hy.trans (map_zero _).symm) |
| 45 | rw [hy0, map_zero] |
| 46 | |
| 47 | theorem lTensor_injective_of_flat_scalar_module |
| 48 | (A : Type t) [CommRing A] [Algebra B A] |
| 49 | (N : Type z) [AddCommGroup N] [Module B N] [Module A N] [IsScalarTower B A N] |
| 50 | [Module.Flat A N] (f : K →ₗ[B] F) (hf : Function.Injective (f.lTensor A)) : |
| 51 | Function.Injective (f.lTensor N) := by |
| 52 | let fA : A ⊗[B] K →ₗ[A] A ⊗[B] F := AlgebraTensorModule.lTensor A A f |
| 53 | have hfA : Function.Injective fA := hf |
| 54 | let eK := AlgebraTensorModule.cancelBaseChange B A A N K |
| 55 | let eF := AlgebraTensorModule.cancelBaseChange B A A N F |
| 56 | have he (x : N ⊗[A] (A ⊗[B] K)) : |
| 57 | f.lTensor N (eK x) = eF (fA.lTensor N x) := by |
| 58 | exact LinearMap.congr_fun (AlgebraTensorModule.lTensor_comp_cancelBaseChange B A A f) x |
| 59 | intro x y hxy |
| 60 | apply eK.symm.injective |
| 61 | apply Module.Flat.lTensor_preserves_injective_linearMap fA hfA |
| 62 | apply eF.injective |
| 63 | rw [← he, ← he, eK.apply_symm_apply, eK.apply_symm_apply] |
| 64 | exact hxy |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorInjectivityExtensions |