等价闭包
| 等价闭包 | |
|---|---|
| 术语名称 | 等价闭包 |
| 英语名称 | equivalence closure |
| 别名 | reflexive transitive symmetric closure |
等价闭包(transitive closure)是指对集合上的一个二元关系,包含其的最小的等价关系。 它是自反闭包、对称闭包和传递闭包的复合。
定义
| 等价闭包 | |
|---|---|
| 运算名称 | 等价闭包 |
| 运算符号 | [math]\displaystyle{ \operatorname{eq}() }[/math],[math]\displaystyle{ \bullet^\equiv }[/math],[math]\displaystyle{ \bullet^\approx }[/math],[math]\displaystyle{ \bullet^e }[/math] |
| Latex | \operatorname{eq}, ^\equiv, ^\approx, ^e
|
| 运算对象 | 关系 |
| 运算元数 | 1 |
| 运算结果 | 关系 |
| 定义域 | [math]\displaystyle{ \mathcal{P}(X\times X) }[/math] |
| 陪域 | [math]\displaystyle{ \mathcal{P}(X\times X) }[/math] |
对集合 [math]\displaystyle{ X }[/math] 上的二元关系 [math]\displaystyle{ R }[/math] ,定义满足以下条件的所有关系 [math]\displaystyle{ S }[/math]:
- [math]\displaystyle{ S }[/math] 是等价关系;
- [math]\displaystyle{ S \supseteq R }[/math] 。
其中必有一个关系是其他所有关系的子集,称为关系 [math]\displaystyle{ R }[/math] 的等价闭包(quivalence closure),记作 [math]\displaystyle{ \operatorname{e}(R) }[/math] 、 [math]\displaystyle{ R^\equiv }[/math] 、 [math]\displaystyle{ R^\approx }[/math] 或 [math]\displaystyle{ R^e }[/math]。
性质
- 基本性质
- 计算: [math]\displaystyle{ \operatorname{eq}(R) = \operatorname{t}(\operatorname{s}(\operatorname{r}(R))) }[/math] 。
- 等价闭包是包含 [math]\displaystyle{ R }[/math] 的最小等价关系。
- 等价闭包运算的复合顺序:先取自反闭包,再取对称闭包,最后取传递闭包。自反的顺序不做要求,但对称闭包必须在传递闭包前进行。
- 在有限集合上,等价闭包可在有限步内计算。
- 运算性质
- 等价闭包运算是幂等的: [math]\displaystyle{ \operatorname{eq}(\operatorname{eq}(R)) = \operatorname{eq}(R) }[/math] 。
- 等价闭包运算是单调的: 如果 [math]\displaystyle{ R \subseteq S }[/math] ,则 [math]\displaystyle{ \operatorname{eq}(R) \subseteq \operatorname{eq}(S) }[/math] 。
- 等价闭包与并运算的关系: [math]\displaystyle{ \operatorname{eq}(R \cup S) \supseteq \operatorname{eq}(R) \cup \operatorname{eq}(S) }[/math] 。
- 特殊关系的等价闭包
- 表示