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 | import Mathlib.LinearAlgebra.TensorProduct.Prod |
| 4 | |
| 5 | /-! # Flat Joint Injection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FlatJointInjection.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Flat scalar extension preserves joint injectivity of two linear maps. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w w₁ w₂ |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] (S : Type v) [CommRing S] [Algebra R S] |
| 18 | [Module.Flat R S] |
| 19 | {M : Type w} [AddCommGroup M] [Module R M] |
| 20 | {N : Type w₁} [AddCommGroup N] [Module R N] |
| 21 | {P : Type w₂} [AddCommGroup P] [Module R P] |
| 22 | |
| 23 | /-- Tensoring a joint injection by a flat algebra gives the joint injection of the |
| 24 | two actual scalar-extended maps. -/ |
| 25 | theorem baseChange_prod_injective (f : M →ₗ[R] N) (g : M →ₗ[R] P) |
| 26 | (h : Function.Injective (f.prod g)) : |
| 27 | Function.Injective ((f.baseChange S).prod (g.baseChange S)) := by |
| 28 | have hj : Function.Injective ((f.prod g).baseChange S) := by |
| 29 | rw [LinearMap.baseChange_eq_ltensor] |
| 30 | exact Module.Flat.lTensor_preserves_injective_linearMap (f.prod g) h |
| 31 | have he : (f.baseChange S).prod (g.baseChange S) = |
| 32 | (prodRight R S S N P).toLinearMap.comp ((f.prod g).baseChange S) := by |
| 33 | ext s <;> rfl |
| 34 | rw [he] |
| 35 | exact (prodRight R S S N P).injective.comp hj |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FlatJointInjection.Construction |