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.TensorProduct.DirectLimitFG |
| 2 | import Mathlib.RingTheory.Flat.Basic |
| 3 | import Mathlib.RingTheory.TensorProduct.Maps |
| 4 | |
| 5 | /-! # Tensor Maps -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.TensorMaps |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficient extension maps on tensor algebras are injective when the modeled algebra is flat. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {C R B : Type u} [CommRing C] [CommRing R] [CommRing B] [Algebra C R] [Algebra C B] |
| 18 | |
| 19 | def coefficientTensorMap (D : Subalgebra C R) : D ⊗[C] B →ₐ[C] R ⊗[C] B := |
| 20 | Algebra.TensorProduct.map D.val (AlgHom.id C B) |
| 21 | |
| 22 | def coefficientTensorInclusion {D E : Subalgebra C R} (h : D ≤ E) : |
| 23 | D ⊗[C] B →ₐ[C] E ⊗[C] B := |
| 24 | Algebra.TensorProduct.map (Subalgebra.inclusion h) (AlgHom.id C B) |
| 25 | |
| 26 | theorem coefficientTensorMap_toLinearMap (D : Subalgebra C R) : |
| 27 | (coefficientTensorMap (B := B) D).toLinearMap = LinearMap.rTensor B D.val.toLinearMap := by |
| 28 | ext d b |
| 29 | rfl |
| 30 | |
| 31 | theorem coefficientTensorMap_injective (D : Subalgebra C R) [Module.Flat C B] : |
| 32 | Function.Injective (coefficientTensorMap (B := B) D) := by |
| 33 | have h := Module.Flat.rTensor_preserves_injective_linearMap (M := B) D.val.toLinearMap |
| 34 | Subtype.val_injective |
| 35 | exact (congrArg (fun f : D ⊗[C] B →ₗ[C] R ⊗[C] B => Function.Injective f) |
| 36 | (coefficientTensorMap_toLinearMap (B := B) D)).mpr h |
| 37 | |
| 38 | theorem coefficientTensorMap_comp_inclusion {D E : Subalgebra C R} (h : D ≤ E) : |
| 39 | (coefficientTensorMap (B := B) E).comp (coefficientTensorInclusion h) = coefficientTensorMap D := by |
| 40 | apply Algebra.TensorProduct.ext |
| 41 | · ext d |
| 42 | rfl |
| 43 | · ext b |
| 44 | rfl |
| 45 | |
| 46 | theorem coefficientTensorMap_range_mono {D E : Subalgebra C R} (h : D ≤ E) : |
| 47 | (coefficientTensorMap (B := B) D).range ≤ (coefficientTensorMap (B := B) E).range := by |
| 48 | rintro x ⟨y, rfl⟩ |
| 49 | exact ⟨coefficientTensorInclusion h y, DFunLike.congr_fun (coefficientTensorMap_comp_inclusion h) y⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.TensorMaps |