Local multiplicities and dimension of a finite algebra
ProvedTranscendenceTheory.finite_algebra_local_multiplicity_dimensionLet be an algebraically closed field and let be a finite-dimensional commutative -algebra. Every prime localization has finite module length. If is a finite set and is injective, then
If is also surjective, equality holds:
This is the multiplicity-dimension relation for a finite algebra, including nonreduced algebras. The injectivity assumption prevents counting the same local factor more than once. The empty family and the zero algebra are included. In applications to a zero estimate, one must still construct the finite algebra and compare its dimension with the relevant bounded-degree section space.
Formalization Note The statement proves that all extended natural local lengths are finite before summing their natural-number values. It does not identify the positive-dimensional Weierstrass chart ring itself as a finite-dimensional complex algebra.
import Mathlib.RingTheory.Spectrum.Prime.Noetherian import Mathlib.RingTheory.Length import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.RingTheory.LocalRing.Length import Mathlib.FieldTheory.IsAlgClosed.Basic
theorem TranscendenceTheory.finite_algebra_local_multiplicity_dimension
(K A : Type*) [Field K] [IsAlgClosed K] [CommRing A] [Algebra K A]
[Module.Finite K A] :
(∀ p : PrimeSpectrum A,
Module.length (Localization.AtPrime p.asIdeal) (Localization.AtPrime p.asIdeal) ≠ ⊤) ∧
∀ (ι : Type*) [Fintype ι] (p : ι → PrimeSpectrum A), Function.Injective p →
(∑ i, (Module.length (Localization.AtPrime (p i).asIdeal)
(Localization.AtPrime (p i).asIdeal)).toNat) ≤ Module.finrank K A ∧
(Function.Surjective p →
(∑ i, (Module.length (Localization.AtPrime (p i).asIdeal)
(Localization.AtPrime (p i).asIdeal)).toNat) = Module.finrank K A) := by sorry