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 Mathlib.RingTheory.GradedAlgebra.RingHom |
| 2 | import Mathlib.RingTheory.Localization.Basic |
| 3 | |
| 4 | /-! # Localization Numerator -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.LocalizationNumerator.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homogeneous elements in a localization by degree-zero elements have |
| 11 | homogeneous numerators of the same degree, via the actual decomposition maps. -/ |
| 12 | |
| 13 | variable {A B σ τ : Type*} [CommRing A] [CommRing B] |
| 14 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 15 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 16 | (f : 𝒜 →+*ᵍ ℬ) (D : Submonoid A) |
| 17 | (hD : ∀ d : D, d.val ∈ 𝒜 0) |
| 18 | (hlocal : letI := f.toRingHom.toAlgebra; IsLocalization D B) |
| 19 | |
| 20 | include hD hlocal in |
| 21 | theorem gradedLocalization_homogeneousNumerator (n : ℕ) (b : B) (hb : b ∈ ℬ n) : |
| 22 | ∃ a : A, a ∈ 𝒜 n ∧ ∃ d : D, b * f d.val = f a := by |
| 23 | let := f.toRingHom.toAlgebra |
| 24 | let := hlocal |
| 25 | obtain ⟨⟨a, d⟩, ha⟩ := IsLocalization.surj D b |
| 26 | change b * f d.val = f a at ha |
| 27 | refine ⟨(DirectSum.decompose 𝒜 a n).val, (DirectSum.decompose 𝒜 a n).property, d, ?_⟩ |
| 28 | have hm : b * f d.val ∈ ℬ n := by |
| 29 | exact (show b * f d.val ∈ ℬ (n + 0) from SetLike.mul_mem_graded hb (f.map_mem (hD d))) |
| 30 | have hp := congrArg (fun x : B => ((DirectSum.decompose ℬ x n).val : B)) ha |
| 31 | rw [← GradedRingHom.map_directSumDecompose] at hp |
| 32 | have hsame : (DirectSum.decompose ℬ (b * f d.val) n).val = b * f d.val := |
| 33 | DirectSum.decompose_of_mem_same ℬ hm |
| 34 | exact hsame.symm.trans hp |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.LocalizationNumerator.BundleCycles |