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.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 3 | import Mathlib.RingTheory.NoetherNormalization |
| 4 | import Mathlib.RingTheory.KrullDimension.Polynomial |
| 5 | import Mathlib.RingTheory.KrullDimension.Field |
| 6 | |
| 7 | /-! # Noether Normalization Dimension -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.NoetherNormalizationDimension.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The number of independent parameters in Noether normalization is the actual Krull dimension. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem noetherNormalization_krullDimension |
| 20 | (K B : Type u) [Field K] [CommRing B] [Nontrivial B] |
| 21 | [Algebra K B] [Algebra.FiniteType K B] : |
| 22 | ∃ (g : ℕ) (φ : MvPolynomial (Fin g) K →ₐ[K] B), |
| 23 | Function.Injective φ ∧ φ.Finite ∧ ringKrullDim B = (g : WithBot ℕ∞) := by |
| 24 | obtain ⟨g, φ, hφ, hfin⟩ := exists_finite_inj_algHom_of_fg K B |
| 25 | let f : Spec (.of B) ⟶ Spec (.of (MvPolynomial (Fin g) K)) := |
| 26 | Spec.map (CommRingCat.ofHom φ.toRingHom) |
| 27 | have : IsFinite f := (IsFinite.SpecMap_iff _).mpr hfin |
| 28 | have hi : φ.toRingHom.IsIntegral := |
| 29 | (IsIntegralHom.SpecMap_iff (φ := CommRingCat.ofHom φ.toRingHom)).mp |
| 30 | (inferInstance : IsIntegralHom f) |
| 31 | have : Surjective f := ⟨hi.comap_surjective hφ⟩ |
| 32 | have he := IntegralDimension.Construction.topologicalKrullDim_eq_of_integral_surjective f |
| 33 | change topologicalKrullDim (PrimeSpectrum B) = |
| 34 | topologicalKrullDim (PrimeSpectrum (MvPolynomial (Fin g) K)) at he |
| 35 | rw [PrimeSpectrum.topologicalKrullDim_eq_ringKrullDim, |
| 36 | PrimeSpectrum.topologicalKrullDim_eq_ringKrullDim, |
| 37 | MvPolynomial.ringKrullDim_of_isNoetherianRing, ringKrullDim_eq_zero_of_field, |
| 38 | zero_add] at he |
| 39 | refine ⟨g, φ, hφ, hfin, ?_⟩ |
| 40 | simpa only [ENat.card_eq_coe_fintype_card, Fintype.card_fin, WithBot.coe_natCast] using he |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.NoetherNormalizationDimension.Construction |