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.DivisorClass.Chern.FiniteTypeDimension |
| 2 | import Mathlib.RingTheory.Ideal.Height |
| 3 | |
| 4 | /-! # Prime Dimension Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeDimensionBound.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: prime height plus quotient dimension is bounded by ambient dimension |
| 12 | |
| 13 | This is the general chain-length inequality. Finite-type dimension |
| 14 | identification expresses it in the actual transcendence grading. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.Order |
| 18 | |
| 19 | theorem primeQuotient_ringKrullDim_eq_coheight {R : Type*} [CommRing R] (P : Ideal R) [P.IsPrime] : |
| 20 | ringKrullDim (R ⧸ P) = (coheight (⟨P, inferInstance⟩ : PrimeSpectrum R) : WithBot ℕ∞) := by |
| 21 | let p : PrimeSpectrum R := ⟨P, inferInstance⟩ |
| 22 | have e : PrimeSpectrum (R ⧸ P) ≃o Set.Ici p := P.primeSpectrumQuotientOrderIsoZeroLocus |
| 23 | exact (Order.krullDim_eq_of_orderIso e).trans (coheight_eq_krullDim_Ici p).symm |
| 24 | |
| 25 | theorem primeHeight_add_quotient_dimension_le {R : Type*} [CommRing R] (P : Ideal R) [P.IsPrime] : |
| 26 | (P.height : WithBot ℕ∞) + ringKrullDim (R ⧸ P) ≤ ringKrullDim R := by |
| 27 | let p : PrimeSpectrum R := ⟨P, inferInstance⟩ |
| 28 | let : Nonempty (PrimeSpectrum R) := ⟨p⟩ |
| 29 | rw [primeQuotient_ringKrullDim_eq_coheight, PrimeSpectrum.height_eq_orderHeight p] |
| 30 | change ((height p + coheight p : ℕ∞) : WithBot ℕ∞) ≤ krullDim (PrimeSpectrum R) |
| 31 | rw [krullDim_eq_iSup_height_add_coheight_of_nonempty, WithBot.coe_le_coe] |
| 32 | exact le_iSup (fun q : PrimeSpectrum R => height q + coheight q) p |
| 33 | |
| 34 | theorem finiteType_primeHeight_add_trdeg_le (k R : Type) [Field k] [CommRing R] [IsDomain R] |
| 35 | [Algebra k R] [Algebra.FiniteType k R] (P : Ideal R) [P.IsPrime] : |
| 36 | P.height + ((Algebra.trdeg k (R ⧸ P)).toNat : ℕ∞) ≤ ((Algebra.trdeg k R).toNat : ℕ∞) := by |
| 37 | have h := primeHeight_add_quotient_dimension_le P |
| 38 | rw [DivisorClass.Chern.FiniteTypeDimension.Construction.finiteType_ringKrullDim_eq_trdeg k (R ⧸ P), |
| 39 | DivisorClass.Chern.FiniteTypeDimension.Construction.finiteType_ringKrullDim_eq_trdeg k R] at h |
| 40 | exact WithBot.coe_le_coe.mp h |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeDimensionBound.BundleCycles |