自反闭包

来自GSXAB的知识库
自反闭包
术语名称 自反闭包
英语名称 reflexive closure

自反闭包(reflexive closure)是指对集合上一个二元关系,包含该关系的最小自反关系

定义

自反闭包
运算名称 自反闭包
运算符号 [math]\displaystyle{ \operatorname{r}() }[/math],[math]\displaystyle{ \bullet^= }[/math],[math]\displaystyle{ \bullet^r }[/math]
Latex \operatorname{r}(), ^=, ^r
运算对象 关系
运算元数 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]自反闭包(reflexive closure),记作 [math]\displaystyle{ \operatorname{r}(R) }[/math][math]\displaystyle{ R^= }[/math][math]\displaystyle{ R^r }[/math]

性质

  • 基本性质
    • 计算: [math]\displaystyle{ \operatorname{r}(R) = R \cup I_X }[/math] 。集合 [math]\displaystyle{ X }[/math] 上关系的自反闭包是这一关系与 [math]\displaystyle{ X }[/math]恒等关系
    • 自反关系的自反闭包是关系自身。
    • 自反闭包是包含 [math]\displaystyle{ R }[/math] 的最小自反关系。
    • 自反闭包是向 [math]\displaystyle{ R }[/math] 上添加最少有序对构成的自反关系。
  • 运算性质
    • 自反闭包运算是幂等的: [math]\displaystyle{ \operatorname{r}(\operatorname{r}(R)) = \operatorname{r}(R) }[/math]
    • 自反闭包运算是单调的: [math]\displaystyle{ R \subseteq S \rightarrow \operatorname{r}(R) \subseteq \operatorname{r}(S) }[/math]
    • 自反闭包与运算可交换: [math]\displaystyle{ \operatorname{r}(R \cup S) = \operatorname{r}(R) \cup \operatorname{r}(S) }[/math]
    • 自反闭包与运算不一定可交换: [math]\displaystyle{ \operatorname{r}(R \cap S) \subseteq \operatorname{r}(R) \cap \operatorname{r}(S) }[/math]
    • 自反闭包与逆关系可交换:[math]\displaystyle{ \operatorname{r}(R^{-1}) = (\operatorname{r}(R))^{-1} }[/math]
  • 与其他闭包运算的关系
    • 自反闭包与对称闭包可交换[math]\displaystyle{ \operatorname{r}(\operatorname{s}(R)) = \operatorname{s}(\operatorname{r}(R)) }[/math]
    • 自反闭包与传递闭包可交换:[math]\displaystyle{ \operatorname{r}(\operatorname{t}(R)) = \operatorname{t}(\operatorname{r}(R)) }[/math]
      • 自反闭包与传递闭包复合得到自反传递闭包[math]\displaystyle{ \operatorname{t}(\operatorname{r}(R)) = R^* }[/math]
  • 特殊关系的自反闭包
    • 空关系的自反闭包是恒等关系[math]\displaystyle{ \operatorname{r}(\varnothing) = I_X }[/math]
    • 恒等关系的自反闭包是其自身:[math]\displaystyle{ \operatorname{r}(I_X) = I_X }[/math]
    • 全关系的自反闭包是其自身:[math]\displaystyle{ \operatorname{r}(X \times X) = X \times X }[/math]
  • 表示
    • 关系图
      • 自反闭包的关系图是在原关系图的每个顶点上添加自环得到。
    • 关系矩阵
      • 自反闭包的关系矩阵是原关系矩阵与单位矩阵的逐元素逻辑或
      • 自反闭包的关系矩阵,在关系的矩阵基础上,主对角线元素全为 1 。


关系
定义属性 前域、后域、定义域 [math]\displaystyle{ \operatorname{dom} }[/math]、值域 [math]\displaystyle{ \operatorname{ran} }[/math]、域 [math]\displaystyle{ \operatorname{fld} }[/math]
特殊关系 空关系 [math]\displaystyle{ \varnothing }[/math]恒等关系 [math]\displaystyle{ I }[/math]全关系 [math]\displaystyle{ A\times B }[/math]
二元齐次关系类型 自反反自反对称反对称传递
运算 集合运算 [math]\displaystyle{ \cap }[/math][math]\displaystyle{ \cup }[/math][math]\displaystyle{ \bar{\bullet} }[/math][math]\displaystyle{ \setminus }[/math]
类映射运算 转置/逆 [math]\displaystyle{ \bullet^\mathrm{T}/\bullet^{-1} }[/math]复合 [math]\displaystyle{ \circ }[/math][math]\displaystyle{ \bullet^n }[/math])、限制 [math]\displaystyle{ \bullet_{|\bullet} }[/math]
闭包运算 自反 [math]\displaystyle{ \operatorname{r}() }[/math]/[math]\displaystyle{ \bullet^= }[/math]对称 [math]\displaystyle{ \operatorname{s}() }[/math]/[math]\displaystyle{ \bullet^\sim }[/math]传递 [math]\displaystyle{ \operatorname{t}() }[/math]/[math]\displaystyle{ \bullet^+ }[/math]自反传递 [math]\displaystyle{ \bullet^* }[/math]等价 [math]\displaystyle{ \bullet^\equiv }[/math]