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.Localization |
| 2 | import Mathlib.RingTheory.Localization.FractionRing |
| 3 | import Mathlib.RingTheory.TensorProduct.Basic |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 5 | import Mathlib.LinearAlgebra.FiniteDimensional.Basic |
| 6 | |
| 7 | /-! # Rational Regular Element -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalRegularElement.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An injective integral multiplication map stays injective after rationalization. |
| 14 | Finite-dimensionality then makes the rationalized element a unit. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem rationalized_isRightRegular {R : Type u} [Ring R] (a : R) (ha : IsRightRegular a) : |
| 21 | IsRightRegular ((1 : ℚ) ⊗ₜ[ℤ] a : TensorProduct ℤ ℚ R) := by |
| 22 | have : Module.Flat ℤ ℚ := IsLocalization.flat ℚ (nonZeroDivisors ℤ) |
| 23 | let f := LinearMap.mulRight ℤ a |
| 24 | have hi : Function.Injective (f.baseChange ℚ) := by |
| 25 | rw [LinearMap.baseChange_eq_ltensor] |
| 26 | exact Module.Flat.lTensor_preserves_injective_linearMap _ ha |
| 27 | have he : f.baseChange ℚ = LinearMap.mulRight ℚ ((1 : ℚ) ⊗ₜ[ℤ] a) := by |
| 28 | ext x |
| 29 | change (1 : ℚ) ⊗ₜ[ℤ] (x * a) = ((1 : ℚ) ⊗ₜ[ℤ] x) * ((1 : ℚ) ⊗ₜ[ℤ] a) |
| 30 | rw [Algebra.TensorProduct.tmul_mul_tmul, one_mul] |
| 31 | rw [he] at hi |
| 32 | exact hi |
| 33 | |
| 34 | theorem isUnit_of_isRightRegular_finiteDimensional |
| 35 | {D : Type u} [Ring D] [Algebra ℚ D] [FiniteDimensional ℚ D] |
| 36 | (a : D) (ha : IsRightRegular a) : IsUnit a := by |
| 37 | let f := LinearMap.mulRight ℚ a |
| 38 | have hs : Function.Surjective f := (LinearMap.injective_iff_surjective).mp ha |
| 39 | exact IsUnit.isUnit_iff_mulRight_bijective.mpr ⟨ha, hs⟩ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalRegularElement.Construction |