# 局部化（环论）

**局部化**是交换代数中的一种构造，它为环 A 的选定子集 S 中的元素添加乘法逆元，产生一个新环 \(S^{-1}A\) 以及典范映射 \(A \to S^{-1}A\)。其定义性特征是泛性质：\(S^{-1}A\) 是使 S 的每个元素都成为单位的环，并且在此性质下具有泛性<sup>[1](https://ncatlab.org/nlab/show/localization+of+a+commutative+ring)</sup>。具体地说，任何把 S 的每个元素送到 B 的单位的环映射 \(f : A \to B\)，都唯一地通过 \(S^{-1}A\) 分解<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。这一泛性质在同构意义下确定 \(S^{-1}A\)，并解释了为什么同一构造在不同文献中以记号 \(A[S^{-1}]\)、\(S^{-1}A\) 和 \(A_S\) 出现<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。

| 关键事实 | 陈述 |
|---|---|
| 乘法集 | 若 1 ∈ S 且 s, s′ ∈ S 蕴含 ss′ ∈ S，则 S ⊆ R 是乘法集<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup> |
| 构造 | S⁻¹A 由分式 x/s 组成，其中 (x, s) ~ (y, t) 当且仅当存在 u ∈ S 使 (xt − ys)u = 0<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup> |
| 单射性 | A → S⁻¹A 是单射当且仅当 S 不含零因子<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup> |
| 坍缩 | S⁻¹A 是零环当且仅当 0 ∈ S<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>；S 中的幂零元也会迫使 S⁻¹A = 0<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup> |
| 在素理想处 | \(A_{\mathfrak{p}} = (A \setminus \mathfrak{p})^{-1}A\) 是局部环，极大理想为 \(\mathfrak{p}A_{\mathfrak{p}}\)，剩余域为 \(\mathrm{Frac}(A/\mathfrak{p})\)<sup>[4](https://encyclopediaofmath.org/wiki/Local_ring)</sup> |
| 平坦性 | S⁻¹M = M ⊗_A S⁻¹A，且 S⁻¹A 是平坦 A-模，因此局部化正合<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup> |

## 乘法集与 S⁻¹A 的构造

环 R 的子集 S 称为乘法子集，若 1 ∈ S 且 S 对乘法封闭，即 s, s′ ∈ S 蕴含 ss′ ∈ S<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。定义中没有任何地方要求 S 避开 0 或零因子；允许它们是一种有意的选择，其后果在下文讨论。

环 S⁻¹A 由满足 s ∈ S 的配对 (x, s) 的等价类构成，写作分式 x/s，其中

(x, s) ~ (y, t) 当且仅当存在 u ∈ S 使 (xt − ys)u = 0。<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>

多出来的因子 u 是与整环中熟知的分数规则唯一不同之处。它编码了这样一个事实：即使 S 中元素零化某些东西，它们也被宣布为可逆的：如果 sx = ty 只在相差一个被 S 中某元素零化的东西的意义下成立，那么这一差别在 S⁻¹A 中反正会消失，因为零化它的那个 S 中元素在那里成为单位。

典范映射 A → S⁻¹A 把 x 送到 x/1。它单射当且仅当 S 不含零因子：若 x/1 = 0，则存在 u ∈ S 使 xu = 0，因此 x 被 S 中某元素零化<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。实践中两种坍缩情形很重要。局部化 S⁻¹A 是零环当且仅当 0 ∈ S<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>，且若 S 含幂零元，则也有 A[S⁻¹] = 0<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。

## 泛性质、函子性与正合性

泛性质刻画了这一构造：给定任意环映射 \(f : A \to B\)，把 \(S\) 的每个元素送到 \(B\) 的一个单位，则存在唯一同态 \(g : S^{-1}A \to B\) 与典范映射相容<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。环 \(S^{-1}A\) 以及映入它的映射在唯一同构的意义下被确定。《数学百科全书》（Encyclopedia of Mathematics）将 \(A[S^{-1}]\) 描述为使 \(S\) 的所有元素可逆的泛映射问题的解，并指出其他构造：分式 \(a/s\)、多项式环 \(A[X_s]\) 对由 \(sX_s - 1\) 生成的理想的商，或归纳极限<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。

该构造从环推广到模：对于任意 A-模 M 和乘法集 S，构造分式模 S⁻¹M<sup>[5](https://math.stanford.edu/~conrad/210BPage/handouts/math210b-localization.pdf)</sup><sup> • </sup><sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。它可以像环的情形那样逐对定义，也可以定义为张量积 M ⊗_A S⁻¹A<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。Lean 库 mathlib 用相同的配对等价关系形式化了这个模版本，要求对于 (m, s) ≈ (m′, s′) 存在某个 u ∈ S 使 u • s′ • m = u • s • m′<sup>[7](https://leanprover-community.github.io/mathlib_docs/algebra/module/localized_module.html)</sup>。

**正合性**由平坦性推出。因为 S⁻¹A 是平坦 A-模，函子 M ↦ M ⊗_A S⁻¹A 正合，并且与直和、归纳极限交换<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。局部化也尊重商：若 N 是 M 的子模，则 S⁻¹(M/N) ≅ (S⁻¹M)/(S⁻¹N)<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。一个结构性的伴随事实是：S⁻¹M 的每个子模本身都具有 S⁻¹N 的形式，其中 N 是 M 的某个子模，取 M → S⁻¹M 下的原像即可得到<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。

## 在素理想处的局部化与局部环

最重要的 S 选择是素理想的补集。若 P ⊂ A 是素理想，则 S = A − P 是乘法集（素性正保证了这一点：P 外元素的乘积仍在 P 外），所得环记作 \(A_{P}\)，即 A 在素理想 P 处的局部化<sup>[5](https://math.stanford.edu/~conrad/210BPage/handouts/math210b-localization.pdf)</sup>。其元素是分式 \(a/s\)，其中 s ∉ p<sup>[4](https://encyclopediaofmath.org/wiki/Local_ring)</sup>。

补集构造的要点在于 A_P 是局部环，即恰有一个极大理想的环。R_P 的素理想与 R 中包含于 P 的素理想一一对应；特别地，R_P 有唯一极大理想，即扩张 PR_P<sup>[6](https://sites.math.washington.edu/~mcgovern/506%20pdf%202025/506.4-7.pdf)</sup>。在任何以 M 为极大理想的局部环中，这个理想恰好由非单位组成，因为任何非单位 x 都落在真主理想 (x) 中，而后者可扩充为一个极大理想，该极大理想必与 M 重合<sup>[6](https://sites.math.washington.edu/~mcgovern/506%20pdf%202025/506.4-7.pdf)</sup>。在 A_p 中，这意味着 p 内的一切生成极大理想 pA_p。A_p 的剩余域等同于商 A/p 的分式域<sup>[4](https://encyclopediaofmath.org/wiki/Local_ring)</sup>。

**几何上**，在单个元素处的局部化描述到开集的限制。A[s⁻¹] 的谱典范地等同于 Zariski 开子集 D(s) ⊂ Spec A，即由不含 s 的素理想组成<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。更一般地，局部化是产生拟凝聚层的机制：对于 A-模 M，关联层在 D(s) 上的截面就是局部化模 M[S⁻¹]<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。

## 局部到整体：忠实局部化及其限度

交换代数中的许多定理是通过在每个局部环 \(A_{p}\) 中验证一个条件来证明的。环、模或代数的性质若对 A 成立等价于对 A 在所有素理想处的局部化 \(A_{p}\) 均成立，就称为局部性质；这一等价性是局部到整体方法的形式基础<sup>[4](https://encyclopediaofmath.org/wiki/Local_ring)</sup>。

局部化的忠实性问的是何时 S⁻¹M = 0 迫使 M = 0。对有限生成模有一个简洁的判别准则：

并非每个性质都是局部的。因此，是否为整环以及是否为诺特环不能仅靠局部化来检验。除局部化外，通往局部环的相关途径还包括亨泽尔化，以及关于极大理想的完备化<sup>[4](https://encyclopediaofmath.org/wiki/Local_ring)</sup>；这些构造在配套文章中处理。

## 计算示例与全商环

另外两个标准例子说明该构造的适用范围。

- **在单个元素的幂处局部化。** 取 \(S = \{1, f, f^{2}, \ldots\}\)，得到 \(A_{f}\)。这里 \(A_{f} = 0\) 当且仅当 \(f\) 在 A 中幂零<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。

另一个例子是全商环 Q(A)，即 A 在所有非零因子组成的集合处的局部化<sup>[2](https://stacks.math.columbia.edu/tag/00CM)</sup>。当 A 是整环时，完全分式环就是 A 的分式域<sup>[3](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)</sup>。

## References

1. [Localization of a commutative ring — nLab](https://ncatlab.org/nlab/show/localization+of+a+commutative+ring)
2. [Section 10.9 (00CM): Localization — The Stacks Project](https://stacks.math.columbia.edu/tag/00CM)
3. [Localization in a commutative algebra — Encyclopedia of Mathematics (V.I. Danilov)](https://encyclopediaofmath.org/wiki/Localization_in_a_commutative_algebra)
4. [Local ring — Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Local_ring)
5. [Localization (Stanford Math 210B handout, Keith Conrad)](https://math.stanford.edu/~conrad/210BPage/handouts/math210b-localization.pdf)
6. [Lectures 4–7: Localization of commutative rings (University of Washington 506, 2025)](https://sites.math.washington.edu/~mcgovern/506%20pdf%202025/506.4-7.pdf)
7. [algebra.module.localized_module — mathlib docs](https://leanprover-community.github.io/mathlib_docs/algebra/module/localized_module.html)

---
*Initially written Sep 17, 2026 · Edited: Oct 11, 2026; Oct 15, 2026; Oct 25, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Ring theory › Commutative algebra › Localization and local rings

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/localization-ring-theory

English original: https://www.edgepedia.org/localization-ring-theory
