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.SheafCohomology.Projective.NoetherNormalizationDimension |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.TranscendenceDegreeTransfer |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineSectionFiniteType |
| 5 | |
| 6 | /-! # Krull Transcendence Dimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.KrullTranscendenceDimension.Dimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Krull dimension and the actual function-field transcendence dimension agree on affine charts. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem ringKrullDim_eq_trdeg_toNat (K B : Type u) [Field K] [CommRing B] [IsDomain B] |
| 19 | [Algebra K B] [Algebra.FiniteType K B] : |
| 20 | ringKrullDim B = ((Algebra.trdeg K B).toNat : WithBot ℕ∞) := by |
| 21 | obtain ⟨g, φ, hφ, hfin, hdim⟩ := NoetherNormalizationDimension.Dimension.noetherNormalization_krullDimension K B |
| 22 | have : IsFinite (Spec.map (CommRingCat.ofHom φ.toRingHom)) := |
| 23 | (IsFinite.SpecMap_iff _).mpr hfin |
| 24 | have hint : φ.toRingHom.IsIntegral := |
| 25 | (IsIntegralHom.SpecMap_iff (φ := CommRingCat.ofHom φ.toRingHom)).mp inferInstance |
| 26 | have htr := Foundations.Scheme.TranscendenceDegreeTransfer.trdeg_eq_of_injective_integral_algHom K φ hφ hint |
| 27 | rw [MvPolynomial.trdeg_of_isDomain] at htr |
| 28 | have hg : (Algebra.trdeg K B).toNat = g := by |
| 29 | rw [← htr] |
| 30 | simp |
| 31 | rw [hg] |
| 32 | exact hdim |
| 33 | |
| 34 | theorem affine_chart_krullDimension {K : Type u} [Field K] {X : Scheme.{u}} [IsIntegral X] |
| 35 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 36 | (U : X.Opens) (hU : IsAffineOpen U) [Nonempty U] : |
| 37 | ringKrullDim Γ(X, U) = (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f : WithBot ℕ∞) := by |
| 38 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 39 | let := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 40 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_affineSections f U hU] |
| 41 | exact ringKrullDim_eq_trdeg_toNat K Γ(X, U) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.KrullTranscendenceDimension.Dimension |