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.Projective.MapBase |
| 2 | |
| 3 | /-! # Chart Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.ChartMap.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual chart maps with a specified target homogeneous coordinate. -/ |
| 10 | |
| 11 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.HomogeneousLocalization |
| 12 | |
| 13 | variable {A B σ τ : Type*} [CommRing A] [CommRing B] |
| 14 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 15 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 16 | (f : 𝒜 →+*ᵍ ℬ) (s : A) (t : B) (hst : f s = t) |
| 17 | |
| 18 | def gradedChartMap : Away 𝒜 s →+* Away ℬ t := |
| 19 | HomogeneousLocalization.map f (by |
| 20 | rintro a ⟨n, rfl⟩ |
| 21 | change f (s ^ n) ∈ Submonoid.powers t |
| 22 | rw [map_pow, hst] |
| 23 | exact ⟨n, rfl⟩) |
| 24 | |
| 25 | theorem gradedChartMap_mk {k : ℕ} (hs : s ∈ 𝒜 k) (ht : t ∈ ℬ k) |
| 26 | (n : ℕ) (a : A) (ha : a ∈ 𝒜 (n • k)) : |
| 27 | gradedChartMap f s t hst (Away.mk 𝒜 hs n a ha) = |
| 28 | Away.mk ℬ ht n (f a) (f.map_mem ha) := by |
| 29 | unfold gradedChartMap Away.mk |
| 30 | rw [HomogeneousLocalization.map_mk] |
| 31 | apply HomogeneousLocalization.val_injective |
| 32 | rw [val_mk, val_mk] |
| 33 | exact congrArg (Localization.mk (f a)) (Subtype.ext (by |
| 34 | change f (s ^ n) = t ^ n |
| 35 | rw [map_pow, hst])) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.ChartMap.BundleCycles |