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.HilbertScheme.Presentations.PrimeLocalizationUnits |
| 2 | import Mathlib.Algebra.MvPolynomial.Division |
| 3 | import Mathlib.Algebra.MvPolynomial.Nilpotent |
| 4 | |
| 5 | /-! # Coordinate Localization Units -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoordinateLocalizationUnits |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a polynomial chart with one coordinate inverted, every unit |
| 12 | is a nonzero field scalar times an integral power of that coordinate. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial |
| 15 | |
| 16 | universe u v w |
| 17 | variable {K : Type u} [Field K] {σ : Type v} |
| 18 | variable {A : Type w} [CommRing A] [Algebra (MvPolynomial σ K) A] |
| 19 | |
| 20 | theorem polynomialCoordinateLocalization_unit_powers (i : σ) |
| 21 | [IsLocalization.Away (X i : MvPolynomial σ K) A] (z : Aˣ) : |
| 22 | ∃ (c : Kˣ) (a b : ℕ), (z : A) * algebraMap (MvPolynomial σ K) A (X i) ^ b = |
| 23 | algebraMap (MvPolynomial σ K) A (C (c : K)) * algebraMap (MvPolynomial σ K) A (X i) ^ a := by |
| 24 | obtain ⟨c, a, b, h⟩ := PrimeLocalizationUnits.primeLocalization_unit_powers (X i : MvPolynomial σ K) (X_prime (i := i)) z |
| 25 | obtain ⟨r, hr, hc⟩ := isUnit_iff_eq_C_of_isReduced.mp c.isUnit |
| 26 | obtain ⟨d, rfl⟩ := hr |
| 27 | exact ⟨d, a, b, hc ▸ h⟩ |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoordinateLocalizationUnits |