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.Smooth.Locus |
| 2 | |
| 3 | /-! # Localization Locus -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.LocalizationLocus.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual smooth locus pulls back along any localization, |
| 10 | because the corresponding local rings are canonically identical. -/ |
| 11 | |
| 12 | variable (R A S : Type) [CommRing R] [CommRing A] [CommRing S] |
| 13 | [Algebra R A] [Algebra A S] [Algebra R S] [IsScalarTower R A S] |
| 14 | (M : Submonoid A) [IsLocalization M S] |
| 15 | |
| 16 | include M in |
| 17 | theorem smoothLocus_comap_localization : |
| 18 | PrimeSpectrum.comap (algebraMap A S) ⁻¹' Algebra.smoothLocus R A = Algebra.smoothLocus R S := by |
| 19 | ext q |
| 20 | let p := PrimeSpectrum.comap (algebraMap A S) q |
| 21 | let : IsLocalization.AtPrime (Localization.AtPrime q.asIdeal) p.asIdeal := |
| 22 | IsLocalization.isLocalization_isLocalization_atPrime_isLocalization M _ q.asIdeal |
| 23 | exact Algebra.FormallySmooth.iff_of_equiv |
| 24 | ((IsLocalization.algEquiv p.asIdeal.primeCompl (Localization.AtPrime p.asIdeal) |
| 25 | (Localization.AtPrime q.asIdeal)).restrictScalars R) |
| 26 | |
| 27 | include M in |
| 28 | theorem isSmoothAt_of_localization [Algebra.FormallySmooth R S] (q : PrimeSpectrum S) : |
| 29 | Algebra.IsSmoothAt R (q.comap (algebraMap A S)).asIdeal := by |
| 30 | change q ∈ PrimeSpectrum.comap (algebraMap A S) ⁻¹' Algebra.smoothLocus R A |
| 31 | rw [smoothLocus_comap_localization R A S M] |
| 32 | exact inferInstanceAs (Algebra.FormallySmooth R (Localization.AtPrime q.asIdeal)) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.LocalizationLocus.BundleCycles |