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.Localization.BaseChange |
| 2 | |
| 3 | /-! # Tensor Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.TensorComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An invertible tensor comparison over a localized coefficient ring proves module localization. -/ |
| 10 | |
| 11 | open TensorProduct |
| 12 | |
| 13 | variable {R B V G : Type*} [CommRing R] [CommRing B] [Algebra R B] |
| 14 | variable [AddCommGroup V] [Module R V] [AddCommGroup G] [Module R G] |
| 15 | |
| 16 | theorem isLocalizedModule_of_tensor_comparison (S : Submonoid R) [IsLocalization S B] |
| 17 | (a : V →ₗ[R] G) (c : TensorProduct R B V →ₗ[R] G) |
| 18 | (hc : Function.Bijective c) (hunit : ∀ v, c (1 ⊗ₜ[R] v) = a v) : |
| 19 | IsLocalizedModule S a := by |
| 20 | have : IsLocalizedModule S (TensorProduct.mk R B V 1) := |
| 21 | (isLocalizedModule_iff_isBaseChange S B (TensorProduct.mk R B V 1)).mpr |
| 22 | (TensorProduct.isBaseChange (R := R) (S := B) (M := V)) |
| 23 | let e : TensorProduct R B V ≃ₗ[R] G := LinearEquiv.ofBijective c hc |
| 24 | have he : e.toLinearMap.comp (TensorProduct.mk R B V 1) = a := by |
| 25 | ext v |
| 26 | exact hunit v |
| 27 | have h := IsLocalizedModule.of_linearEquiv S (TensorProduct.mk R B V 1) e |
| 28 | rw [he] at h |
| 29 | exact h |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.TensorComparison |