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.Resolution.Blowups.Affine.OpenDimension |
| 2 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 3 | |
| 4 | /-! # Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.Dimension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual quasi-finite and étale chart maps do not increase Krull dimension. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | /-- Incomparable primes in a quasi-finite fiber force every strict chain |
| 15 | of primes upstairs to contract to a strict chain downstairs. -/ |
| 16 | theorem ringKrullDim_le_of_quasiFinite (R S : Type u) [CommRing R] [CommRing S] |
| 17 | [Algebra R S] [Algebra.QuasiFinite R S] : ringKrullDim S ≤ ringKrullDim R := by |
| 18 | apply Order.krullDim_le_of_strictMono (PrimeSpectrum.comap (algebraMap R S)) |
| 19 | intro p q hpq |
| 20 | refine lt_of_le_of_ne (Ideal.comap_mono hpq.le) ?_ |
| 21 | intro heq |
| 22 | apply hpq.ne |
| 23 | apply PrimeSpectrum.ext |
| 24 | exact Algebra.QuasiFinite.eq_of_le_of_under_eq (R := R) p.asIdeal q.asIdeal hpq.le |
| 25 | (congrArg PrimeSpectrum.asIdeal heq) |
| 26 | |
| 27 | /-- An explicit étale ring map retains any finite dimension bound without |
| 28 | requiring the map to be an open immersion or the rings to be integral. -/ |
| 29 | theorem ringKrullDim_le_of_etale {R S : Type u} [CommRing R] [CommRing S] |
| 30 | (f : R →+* S) (hf : f.Etale) : ringKrullDim S ≤ ringKrullDim R := by |
| 31 | let : Algebra R S := f.toAlgebra |
| 32 | let : Algebra.Etale R S := RingHom.etale_algebraMap.mp hf |
| 33 | exact ringKrullDim_le_of_quasiFinite R S |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.Dimension.Construction |