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.IntersectionTheory.ProjectionFormula.Local.SpectrumRank |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.StrictTranscendenceDrop |
| 3 | |
| 4 | /-! # Spectrum Rank -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SpectrumRank |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transcendence dimensions on a finite-type affine spectrum provide |
| 11 | the actual decreasing rank used to bound dimensions on embedded local |
| 12 | spectra. -/ |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (K A : Type u) [Field K] [CommRing A] [Algebra K A] [Algebra.FiniteType K A] |
| 17 | |
| 18 | def dimension (p : PrimeSpectrum A) : ℕ := (Algebra.trdeg K (A ⧸ p.asIdeal)).toNat |
| 19 | |
| 20 | theorem strict : StrictAnti (dimension K A) := by |
| 21 | intro p q hpq |
| 22 | exact Foundations.Scheme.StrictTranscendenceDrop.trdeg_toNat_quotient_lt_of_prime_lt (k := K) hpq |
| 23 | |
| 24 | theorem local_bound (S : Type u) [CommRing S] [IsLocalRing S] |
| 25 | (f : A →+* S) (hf : StrictMono (PrimeSpectrum.comap f)) |
| 26 | (p : PrimeSpectrum S) (d : ℕ) |
| 27 | (hp : dimension K A (PrimeSpectrum.comap f p) < |
| 28 | d + dimension K A (PrimeSpectrum.comap f (IsLocalRing.closedPoint S))) : |
| 29 | ringKrullDim (S ⧸ p.asIdeal) < d := by |
| 30 | have h := Local.SpectrumRank.dimension A S f hf (dimension K A) (strict K A) p |
| 31 | have hc := Local.SpectrumRank.closed_le A S f hf (dimension K A) (strict K A) p |
| 32 | have hn : dimension K A (PrimeSpectrum.comap f p) - |
| 33 | dimension K A (PrimeSpectrum.comap f (IsLocalRing.closedPoint S)) < d := by omega |
| 34 | exact h.trans_lt (by exact_mod_cast hn) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SpectrumRank |