等价关系
等价关系 | |
---|---|
术语名称 | 等价关系 |
英语名称 | equivalence relation |
setoid | |
---|---|
术语名称 | setoid |
英语名称 | setoid |
等价关系(equivalence relation)指集合上的一个二元关系同时自反、对称并传递。 元素间存在等价关系的集合称为setoid,并被等价关系划分为多个等价类。
定义
对集合 [math]\displaystyle{ P }[/math] 上的二元关系 [math]\displaystyle{ \sim }[/math] ,如果同时满足自反性、对称性、传递性,即满足:
- 自反性: [math]\displaystyle{ \forall a \in P (a \sim a) }[/math]
- 对称性:[math]\displaystyle{ \forall a \forall b (a \sim b \leftrightarrow b \sim a) }[/math]
- 传递性: [math]\displaystyle{ \forall a \forall b \forall c (a \sim b \land b \sim c \rightarrow a \sim c) }[/math]
称关系 [math]\displaystyle{ \sim }[/math] 为一个等价关系(equivalence relation)。 并称带有等价关系 [math]\displaystyle{ \leq }[/math] 的集合 [math]\displaystyle{ P }[/math] 为setoid。
关联
等价关系是对称的预序。
二元关系复合类型 | |||||
---|---|---|---|---|---|
名称 | 自反、反自反 | 对称、反对称 | 传递 | 其他 | |
预序 | 自反 | - | 传递 | - | |
等价关系 | 自反 | 对称 | 传递 | - | |
方向 | 自反 | - | 传递 | 有上/下界 | |
偏序 | 自反 | 反对称 | 传递 | - | |
弱序/全序划分 | 自反 | - | 传递 | 完全 | |
全序 | 自反 | 反对称 | 传递 | 完全 | |
良序 | 自反 | 反对称 | 传递 | 完全、良基 | |
不对称 | 反自反 | 反对称 | - | - | |
拟序/严格偏序 | 反自反 | 反对称 | 传递 | - | |
严格弱序/严格全序划分 | 反自反 | 反对称 | 传递 | 不可比关系传递 | |
严格全序 | 反自反 | 反对称 | 传递 | 完全 |
等价关系 | |
---|---|
等价 | 划分 |
结构 | 等价类、setoid、商集、自然映射 |