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.PolynomialDimension |
| 2 | import Mathlib.RingTheory.IntegralClosure.GoingDown |
| 3 | |
| 4 | /-! # Height One Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HeightOneDimension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: height-one primes have transcendence codimension one |
| 12 | |
| 13 | Noether normalization and going down reduce the statement to polynomial rings. |
| 14 | The quotient integral embedding preserves its actual Krull dimension, giving |
| 15 | the exact one-dimensional drop and then the transcendence-degree formula. |
| 16 | -/ |
| 17 | |
| 18 | variable (K A : Type) [Field K] [CommRing A] [IsDomain A] |
| 19 | variable [Algebra K A] [Algebra.FiniteType K A] |
| 20 | |
| 21 | include K in |
| 22 | /-- A height-one prime in a finite-type domain lowers Krull dimension by exactly one. -/ |
| 23 | theorem finiteType_height_one_quotient_dimension (p : Ideal A) [p.IsPrime] (hp : p.height = 1) : |
| 24 | ringKrullDim (A ⧸ p) + 1 = ringKrullDim A := by |
| 25 | obtain ⟨n, f, hinj, hint⟩ := exists_integral_inj_algHom_of_fg K A |
| 26 | let P := MvPolynomial (Fin n) K |
| 27 | let : Algebra P A := f.toRingHom.toAlgebra |
| 28 | let : Algebra.IsIntegral P A := ⟨hint⟩ |
| 29 | let : FaithfulSMul P A := (faithfulSMul_iff_algebraMap_injective P A).mpr hinj |
| 30 | let q : Ideal P := p.comap (algebraMap P A) |
| 31 | have hq : q.height = 1 := by |
| 32 | have h := IntegralDimension.Construction.integral_comap_height (R := P) (S := A) ⟨p, inferInstance⟩ |
| 33 | have h' : p.height = q.height := by |
| 34 | rw [← PrimeSpectrum.height_eq_orderHeight, ← PrimeSpectrum.height_eq_orderHeight] at h |
| 35 | exact h |
| 36 | exact h'.symm.trans hp |
| 37 | have hquot : ringKrullDim (A ⧸ p) = ringKrullDim (P ⧸ q) := |
| 38 | IntegralDimension.Construction.integral_ringKrullDim_eq (R := P ⧸ q) (S := A ⧸ p) Ideal.algebraMap_quotient_injective |
| 39 | calc |
| 40 | ringKrullDim (A ⧸ p) + 1 = ringKrullDim (P ⧸ q) + 1 := congrArg (fun d => d + 1) hquot |
| 41 | _ = ringKrullDim P := PolynomialDimension.Construction.mvPolynomial_height_one_quotient_dimension K n q hq |
| 42 | _ = ringKrullDim A := (IntegralDimension.Construction.integral_ringKrullDim_eq (R := P) (S := A) hinj).symm |
| 43 | |
| 44 | /-- The same height-one statement in the actual transcendence-degree grading. -/ |
| 45 | theorem finiteType_height_one_trdeg (p : Ideal A) [p.IsPrime] (hp : p.height = 1) : |
| 46 | (Algebra.trdeg K (A ⧸ p)).toNat + 1 = (Algebra.trdeg K A).toNat := by |
| 47 | have h := finiteType_height_one_quotient_dimension K A p hp |
| 48 | rw [FiniteTypeDimension.Construction.finiteType_ringKrullDim_eq_trdeg K (A ⧸ p), FiniteTypeDimension.Construction.finiteType_ringKrullDim_eq_trdeg K A] at h |
| 49 | exact_mod_cast h |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HeightOneDimension.Construction |