并(关系)
并关系 | |
---|---|
术语名称 | 并关系 |
英语名称 | union relation |
别名 | 并, union |
并关系(intersection relation)指两个或多个关系作为子集的并集,也是“至少有这些关系之一”构成的新的关系,简称并。
定义
二元关系的并
并关系 | |
---|---|
运算名称 | 并关系 |
运算符号 | [math]\displaystyle{ \cup }[/math] |
Latex | \cup
|
运算对象 | 关系 |
运算元数 | 2 |
运算结果 | 关系 |
结构 | 布尔代数 |
定义域 | [math]\displaystyle{ \mathcal{P}(X \times Y)\times \mathcal{P}(X \times Y) }[/math] |
陪域 | [math]\displaystyle{ \mathcal{P}(X \times Y) }[/math] |
对集合 [math]\displaystyle{ X }[/math] 和 [math]\displaystyle{ Y }[/math] 上的两个关系 [math]\displaystyle{ R }[/math] 、 [math]\displaystyle{ S }[/math] ,记并集 [math]\displaystyle{ R \cup S = \left\{ (x, y) \in X \times Y \mid (x, y) \in R \lor (x, y) \in S \right\} = \left\{ (x, y) \mid x R y \lor x S y \right\} }[/math] ,称为 [math]\displaystyle{ R }[/math] 与 [math]\displaystyle{ S }[/math] 的并关系(union relation),简称并(union)。
类似地,可以定义多个关系的并集。 对集合 [math]\displaystyle{ X }[/math] 和 [math]\displaystyle{ Y }[/math] 上的关系 [math]\displaystyle{ R_1, R_2, \dots, R_n }[/math] ,记并集 [math]\displaystyle{ R_1 \cap R_2 \cap \dots \cap R_n = \left\{ (x, y) \mid (x, y) \in R_1 \lor (x, y) \in R_2 \lor \dots \lor (x, y) \in R_n \right\} = \left\{ (x, y) \mid x R_1 y \lor x R_2 y \lor \dots \lor x R_n y \right\} }[/math] ,称为 [math]\displaystyle{ R_1,R_2,\dots,R_n }[/math] 的并关系(union relation)或并(union)。
多元关系的并
对集合 [math]\displaystyle{ A_1, \cdots, A_n }[/math] 上的两个多元关系 [math]\displaystyle{ R }[/math] 、 [math]\displaystyle{ S }[/math] 的并集为两个关系的并关系。
类似地,可以定义多个多元关系的并集。
性质