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.AbelianModuli.HilbertConstruction.Coordinate.HomogeneousChartFractions |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Factor Ratios -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.FactorRatios |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homogeneous fractions describing ratios of coordinates on opens where a product of coordinates is inverted. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 17 | variable (𝒜 : ℕ → Submodule R A) [GradedAlgebra 𝒜] |
| 18 | |
| 19 | def homogeneousFactorRatio (g : A) (d : ℕ) (hg : g ∈ 𝒜 d) (a c : A) (hac : a * c ∈ 𝒜 d) : |
| 20 | HomogeneousLocalization.Away 𝒜 g := |
| 21 | HomogeneousLocalization.Away.mk 𝒜 hg 1 (a * c) (by simpa only [one_smul] using hac) |
| 22 | |
| 23 | theorem homogeneousFactorRatio_val (g : A) (d : ℕ) (hg : g ∈ 𝒜 d) (a c : A) (hac : a * c ∈ 𝒜 d) : |
| 24 | (homogeneousFactorRatio 𝒜 g d hg a c hac).val = |
| 25 | algebraMap A (Localization.Away g) (a * c) * IsLocalization.Away.invSelf g := by |
| 26 | change Localization.mk (a * c) ⟨g ^ 1, by use 1⟩ = _ |
| 27 | rw [Localization.mk_eq_mk', IsLocalization.mk'_eq_iff_eq_mul] |
| 28 | change algebraMap A (Localization.Away g) (a * c) = |
| 29 | (algebraMap A (Localization.Away g) (a * c) * IsLocalization.Away.invSelf g) * |
| 30 | algebraMap A (Localization.Away g) (g ^ 1) |
| 31 | rw [pow_one, mul_assoc, mul_comm (IsLocalization.Away.invSelf g), |
| 32 | IsLocalization.Away.mul_invSelf, mul_one] |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.FactorRatios |