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.Graded.ChartAddition |
| 2 | import Mathlib.Algebra.Ring.NonZeroDivisors |
| 3 | |
| 4 | /-! # Chart Regular -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.ChartRegular.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A regular homogeneous numerator gives a regular element of the |
| 11 | actual homogeneous affine-chart ring. -/ |
| 12 | |
| 13 | open _root_.HomogeneousLocalization |
| 14 | |
| 15 | variable {A σ : Type*} [CommRing A] [SetLike σ A] [AddSubgroupClass σ A] |
| 16 | (𝒜 : ℕ → σ) [GradedRing 𝒜] |
| 17 | |
| 18 | theorem gradedAway_mk_isRegular {s : A} {k : ℕ} (hs : s ∈ 𝒜 k) |
| 19 | (n : ℕ) (a : A) (ha : a ∈ 𝒜 (n • k)) (hreg : IsRegular a) : |
| 20 | IsRegular (Away.mk 𝒜 hs n a ha) := by |
| 21 | have ha' : a ∈ nonZeroDivisors A := isRegular_iff_mem_nonZeroDivisors.mp hreg |
| 22 | have hloc' : algebraMap A (Localization.Away s) a ∈ nonZeroDivisors (Localization.Away s) := |
| 23 | IsLocalization.nonZeroDivisors_le_comap (S := Localization.Away s) (M := Submonoid.powers s) ha' |
| 24 | have hloc : IsRegular (algebraMap A (Localization.Away s) a) := |
| 25 | isRegular_iff_mem_nonZeroDivisors.mpr hloc' |
| 26 | have hv : IsRegular (Away.mk 𝒜 hs n a ha).val := by |
| 27 | rw [Away.val_mk, Localization.mk_eq_mk'] |
| 28 | apply IsRegular.of_mul_left (b := algebraMap A (Localization.Away s) (s ^ n)) |
| 29 | rw [IsLocalization.mk'_spec] |
| 30 | exact hloc |
| 31 | have hl : IsLeftRegular (Away.mk 𝒜 hs n a ha) := by |
| 32 | intro x y h |
| 33 | apply HomogeneousLocalization.val_injective |
| 34 | apply hv.left |
| 35 | simpa only [val_mul] using congrArg HomogeneousLocalization.val h |
| 36 | exact ⟨hl, fun x y h => hl ((mul_comm _ _).trans (h.trans (mul_comm _ _)))⟩ |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.ChartRegular.BundleCycles |