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 OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.ScalarMap |
| 2 | import Mathlib.RingTheory.Localization.Module |
| 3 | |
| 4 | /-! # Localized Symmetric Ext -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizedSymmetricExt.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual localized module generators determine symmetric-algebra maps -/ |
| 11 | |
| 12 | variable {R S M N T : Type} [CommRing R] [CommRing S] [CommRing T] [Algebra R S] |
| 13 | [AddCommGroup M] [AddCommGroup N] [Module R M] [Module R N] [Module S N] [IsScalarTower R S N] |
| 14 | (D : Submonoid R) [IsLocalization D S] (f : M →ₗ[R] N) [IsLocalizedModule D f] |
| 15 | |
| 16 | include D in |
| 17 | theorem localizedSymmetricRingHom_ext (g h : SymmetricAlgebra S N →+* T) |
| 18 | (hc : ∀ s, g (algebraMap S (SymmetricAlgebra S N) s) = h (algebraMap S (SymmetricAlgebra S N) s)) |
| 19 | (hm : ∀ m, g (SymmetricAlgebra.ι S N (f m)) = h (SymmetricAlgebra.ι S N (f m))) : g = h := by |
| 20 | refine Symmetric.ScalarMap.BundleCycles.symmetricRingHom_ext g h hc ?_ |
| 21 | intro n |
| 22 | obtain ⟨⟨m, d⟩, hn⟩ := IsLocalizedModule.surj D f n |
| 23 | have he : algebraMap S (SymmetricAlgebra S N) (algebraMap R S d.val) * SymmetricAlgebra.ι S N n = |
| 24 | SymmetricAlgebra.ι S N (f m) := by |
| 25 | rw [← Algebra.smul_def, ← map_smul, algebraMap_smul] |
| 26 | exact congrArg (SymmetricAlgebra.ι S N) hn |
| 27 | have hu := ((IsLocalization.map_units S d).map (algebraMap S (SymmetricAlgebra S N))).map g |
| 28 | apply hu.mul_right_inj.mp |
| 29 | rw [← map_mul g, he, hc (algebraMap R S d.val), ← map_mul h, he] |
| 30 | exact hm m |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizedSymmetricExt.BundleCycles |