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 | /-! # Surjective Chart -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.SurjectiveChart.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Surjective graded ring maps induce surjective maps of the actual |
| 10 | homogeneous affine-chart rings. -/ |
| 11 | |
| 12 | open _root_.HomogeneousLocalization |
| 13 | |
| 14 | variable {A B σ τ : Type*} [CommRing A] [CommRing B] |
| 15 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 16 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 17 | (f : 𝒜 →+*ᵍ ℬ) (hf : Function.Surjective f) |
| 18 | |
| 19 | include hf in |
| 20 | theorem gradedSurjective_homogeneousPreimage (n : ℕ) (b : B) (hb : b ∈ ℬ n) : |
| 21 | ∃ a : A, a ∈ 𝒜 n ∧ f a = b := by |
| 22 | obtain ⟨a, rfl⟩ := hf b |
| 23 | refine ⟨(DirectSum.decompose 𝒜 a n).val, (DirectSum.decompose 𝒜 a n).property, ?_⟩ |
| 24 | exact (GradedRingHom.map_directSumDecompose 𝒜 ℬ f).trans (DirectSum.decompose_of_mem_same ℬ hb) |
| 25 | |
| 26 | include hf in |
| 27 | theorem gradedAwayMap_surjective {s : A} {k : ℕ} (hs : s ∈ 𝒜 k) : |
| 28 | Function.Surjective (Away.map f s) := by |
| 29 | intro z |
| 30 | obtain ⟨n, b, hb, rfl⟩ := Away.mk_surjective ℬ (f.map_mem hs) z |
| 31 | obtain ⟨a, ha, rfl⟩ := gradedSurjective_homogeneousPreimage f hf (n • k) b hb |
| 32 | exact ⟨Away.mk 𝒜 hs n a ha, Away.map_mk f s hs n a ha⟩ |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.SurjectiveChart.BundleCycles |