1導入
順序関係で重要なのは、「比較できる」とは何を意味するかを分解することである。日常の大小では、任意の 2 つを比べられることが多い。しかし集合の包含や整数の整除では、2 つの対象が常に比較できるとは限らない。
この違いを扱うために、半順序関係と全順序関係を分ける。半順序関係は「比較できる組だけを比較する」構造であり、全順序関係は「任意の 2 つを必ず比較する」構造である。
半順序関係では比較不能な 2 元が存在してもよい。全順序関係は、これに加えて任意の 2 元が比較できることを要求する。
1Introduction
For an order relation, the first point is to separate what it means for two objects to be comparable. In ordinary numerical order, any two numbers can usually be compared. In inclusion包含ほうがん of sets or divisibility整除せいじょ of integers, two objects need not be comparable.
This distinction leads to partial orders半順序関係はんじゅんじょかんけい and total orders全順序関係ぜんじゅんじょかんけい. A partial order compares the pairs that the structure allows us to compare. A total order requires every pair of elements to be comparable.
2用語ようごと定義ていぎ
集合しゅうごうset P 上うえの二項関係にこうかんけいbinary relation \le が半順序関係はんじゅんじょかんけいpartial orderであるとは、次つぎの 3 条件じょうけんを満みたすことである。
| 条件じょうけん | 式しき | 意味いみ |
| 反射性はんしゃせいreflexivity | a\le a | 自分じぶんは自分じぶん以下いかである |
| 反対称性はんたいしょうせいantisymmetry | a\le b,\ b\le a\Rightarrow a=b | 相互そうごに以下いかなら同一どういつである |
| 推移性すいいせいtransitivity | a\le b,\ b\le c\Rightarrow a\le c | 順序じゅんじょは中継ちゅうけいできる |
a\le b または b\le a が成なり立たつとき、a と b は比較可能ひかくかのうcomparableであるという。半順序集合はんじゅんじょしゅうごうpartially ordered setで任意にんいの 2 元げんが比較可能ひかくかのうcomparableなら、その順序じゅんじょorderを全順序関係ぜんじゅんじょかんけいtotal orderという。
2Terms and definitions
A binary relation二項関係にこうかんけい \le on a set集合しゅうごう P is a partial order半順序関係はんじゅんじょかんけい if it satisfies the following three conditions.
| Condition | Formula | Meaning |
| Reflexivity反射性はんしゃせい | a\le a | each element is below itself |
| Antisymmetry反対称性はんたいしょうせい | a\le b,\ b\le a\Rightarrow a=b | mutual comparison forces equality |
| Transitivity推移性すいいせい | a\le b,\ b\le c\Rightarrow a\le c | the order can be relayed through an intermediate element |
If a\le b or b\le a holds, then a and b are comparable比較可能ひかくかのう. If every two elements of a partially ordered set半順序集合はんじゅんじょしゅうごう are comparable, the order is a total order全順序関係ぜんじゅんじょかんけい.
3方針ほうしん
順序関係じゅんじょかんけいorder relationを判定はんていするときは、まず反射性はんしゃせいreflexivity、反対称性はんたいしょうせいantisymmetry、推移性すいいせいtransitivityを確認かくにんする。ここまでは半順序関係はんじゅんじょかんけいpartial orderの確認かくにんである。
その後あとで、任意にんいの 2 元げんが比較可能ひかくかのうcomparableかを確認かくにんする。これが成なり立たてば全順序関係ぜんじゅんじょかんけいtotal orderであり、成なり立たたなければ半順序関係はんじゅんじょかんけいpartial orderだが全順序関係ぜんじゅんじょかんけいtotal orderではない。
判定はんていでは、反射性はんしゃせいreflexivity・反対称性はんたいしょうせいantisymmetry・推移性すいいせいtransitivityを順じゅんに確認かくにんする。全順序関係ぜんじゅんじょかんけいtotal orderを示しめすには、さらに任意にんいの 2 元げんが比較可能ひかくかのうであることを加くわえる。
data/lecture/math/discrete-math/関係の基本-講義.n.md
3Method
To prove that a relation is a partial order半順序関係はんじゅんじょかんけい, check reflexivity, antisymmetry, and transitivity separately. These three checks are the partial-order part.
After that, check whether every pair of elements is comparable. If yes, the order is total. If not, it remains a partial order but is not total.
data/lecture/math/discrete-math/関係の基本-講義.n.md
4直感的ちょっかんてきな説明せつめい
全順序関係ぜんじゅんじょかんけいtotal orderは、一列いちれつに並ならべられる順序じゅんじょである。通常つうじょうの \le による実数じっすうreal numberの大小だいしょうは全順序関係ぜんじゅんじょかんけいtotal orderである。任意にんいの a,b について、a\le b または b\le a が成なり立たつからである。
一方いっぽう、半順序関係はんじゅんじょかんけいpartial orderは、枝分えだわかれを許ゆるす順序じゅんじょである。\{1,2\} と \{1,3\} は、包含ほうがんinclusionでは比較ひかくできない。どちらも相手あいてを含ふくまないからである。しかし \{1\}\subseteq\{1,2\} は成なり立たつ。したがって包含ほうがんinclusionは半順序関係はんじゅんじょかんけいpartial orderであるが、一般いっぱんには全順序関係ぜんじゅんじょかんけいtotal orderではない。
4Intuitive explanation
A total order全順序関係ぜんじゅんじょかんけい is an order that can be placed in one line. The usual order \le on real numbers is total because, for any a,b, either a\le b or b\le a.
A partial order半順序関係はんじゅんじょかんけい allows branching. The sets \{1,2\} and \{1,3\} are not comparable by inclusion, because neither contains the other. However, \{1\}\subseteq\{1,2\} is comparable. Thus inclusion is a partial order, but not usually a total order.
5.11. べき集合しゅうごうpower setの包含順序ほうがんじゅんじょinclusion order
\mathcal P(A) 上うえで B\le C を B\subseteq C と定義ていぎする。これは半順序関係はんじゅんじょかんけいpartial orderである。反射性はんしゃせいreflexivityは B\subseteq B、反対称性はんたいしょうせいantisymmetryは B\subseteq C かつ C\subseteq B なら B=C、推移性すいいせいtransitivityは B\subseteq C かつ C\subseteq D なら B\subseteq D であることから従したがう。
ただし、一般いっぱんには全順序関係ぜんじゅんじょかんけいtotal orderではない。A=\{1,2,3\} のとき、\{1,2\} と \{1,3\} は比較可能ひかくかのうcomparableではない。
data/lecture/math/discrete-math/べき集合の基本-講義.n.md
5.11. Inclusion order on a power set
On \mathcal P(A), define B\le C by B\subseteq C. This is a partial order半順序関係はんじゅんじょかんけい. Reflexivity is B\subseteq B; antisymmetry is the fact that B\subseteq C and C\subseteq B imply B=C; transitivity is the fact that B\subseteq C and C\subseteq D imply B\subseteq D.
It is not usually total. If A=\{1,2,3\}, the sets \{1,2\} and \{1,3\} are not comparable.
data/lecture/math/discrete-math/べき集合の基本-講義.n.md
5.22. 正せいの整数せいすうintegerの整除順序せいじょじゅんじょdivisibility order
正せいの整数せいすうintegerの集合しゅうごうで、a\le b を「a が b を割わり切きる」と定義ていぎする。これは半順序関係はんじゅんじょかんけいpartial orderである。しかし 2 と 3 は互たがいに割わり切きらないため、比較可能ひかくかのうcomparableではない。したがって全順序関係ぜんじゅんじょかんけいtotal orderではない。
5.22. Divisibility order on positive integers
On the positive integers, define a\le b to mean that a divides b. This is a partial order半順序関係はんじゅんじょかんけい. But 2 and 3 do not divide each other, so they are not comparable. Therefore divisibility is not a total order.
5.33. 数かずの通常つうじょうの大小だいしょう
\mathbb R 上うえの通常つうじょうの \le は全順序関係ぜんじゅんじょかんけいtotal orderである。任意にんいの a,b\in\mathbb R について a\le b または b\le a が成なり立たつからである。
5.33. Usual numerical order
The usual order \le on \mathbb R is a total order全順序関係ぜんじゅんじょかんけい because for all a,b\in\mathbb R, either a\le b or b\le a.
6.1問題もんだい
A=\{1,2,3\} とし、\mathcal P(A) 上うえに B\le C\Longleftrightarrow B\subseteq C と定義ていぎする。この順序じゅんじょorderが半順序関係はんじゅんじょかんけいpartial orderであり、全順序関係ぜんじゅんじょかんけいtotal orderではないことを示しめせ。
6.1Problem
Let A=\{1,2,3\}, and define an order on \mathcal P(A) by
B\le C\Longleftrightarrow B\subseteq C.
Show that this is a partial order半順序関係はんじゅんじょかんけい but not a total order全順序関係ぜんじゅんじょかんけい.
6.2解説かいせつ
反射性はんしゃせいreflexivityは、任意にんいの B\in\mathcal P(A) について B\subseteq B であることから成なり立たつ。
反対称性はんたいしょうせいantisymmetryは、B\subseteq C かつ C\subseteq B なら外延性がいえんせいextensionalityより B=C であることから成なり立たつ。
推移性すいいせいtransitivityは、B\subseteq C かつ C\subseteq D なら B\subseteq D であることから成なり立たつ。よってこれは半順序関係はんじゅんじょかんけいpartial orderである。
しかし \{1,2\} と \{1,3\} は、どちらも相手あいてを含ふくまない。したがって比較可能ひかくかのうcomparableではない。任意にんいの 2 元げんが比較可能ひかくかのうcomparableではないので、これは全順序関係ぜんじゅんじょかんけいtotal orderではない。
6.2Explanation
Reflexivity holds because B\subseteq B for every B\in\mathcal P(A).
Antisymmetry holds because B\subseteq C and C\subseteq B imply B=C by extensionality外延性がいえんせい of sets.
Transitivity holds because B\subseteq C and C\subseteq D imply B\subseteq D. Thus inclusion on \mathcal P(A) is a partial order.
However, \{1,2\} and \{1,3\} are not comparable because neither contains the other. Hence the order is not total.
8証明しょうめい補足ほそく:部分集合ぶぶんしゅうごうへの制限せいげんで順序じゅんじょが保存ほぞんされる
(X,\le) を半順序集合はんじゅんじょしゅうごうpartially ordered set とし、Y\subseteq X とする。Y 上うえの関係かんけいを
y_1\le_Y y_2
\quad\Longleftrightarrow\quad
y_1\le y_2
で定義ていぎする。このとき (Y,\le_Y) も半順序集合はんじゅんじょしゅうごうである。
反射性はんしゃせいは、任意にんいの y\in Y について y\le y が X で成なり立たつことから従したがう。反対称性はんたいしょうせいは、y_1\le_Y y_2 かつ y_2\le_Y y_1 なら、X で y_1\le y_2 かつ y_2\le y_1 なので y_1=y_2 であることから従したがう。推移性すいいせいも同おなじく、X での推移性すいいせいをそのまま使つかう。
さらに (X,\le) が全順序集合ぜんじゅんじょしゅうごうtotally ordered set なら、(Y,\le_Y) も全順序集合ぜんじゅんじょしゅうごうである。任意にんいの y_1,y_2\in Y は X の要素ようそでもあるので、y_1\le y_2 または y_2\le y_1 が成なり立たつからである。
この証明しょうめいは、順序じゅんじょを小ちいさな集合しゅうごうへ制限せいげんしても、順序じゅんじょの公理こうりが壊こわれないことを示しめしている。
8Proof supplement: restricting an order to a subset preserves the order
Let (X,\le) be a partially ordered set半順序集合はんじゅんじょしゅうごう, and let Y\subseteq X. Define a relation on Y by
y_1\le_Y y_2
\quad\Longleftrightarrow\quad
y_1\le y_2.
Then (Y,\le_Y) is also a partially ordered set半順序集合はんじゅんじょしゅうごう.
Reflexivity反射性はんしゃせい follows because every y\in Y is also an element of X, so y\le y holds in X. Antisymmetry反対称性はんたいしょうせい follows because y_1\le_Y y_2 and y_2\le_Y y_1 mean y_1\le y_2 and y_2\le y_1 in X, hence y_1=y_2. Transitivity推移性すいいせい is inherited in the same way from X.
Furthermore, if (X,\le) is a totally ordered set全順序集合ぜんじゅんじょしゅうごう, then (Y,\le_Y) is also totally ordered, because any two elements of Y are also elements of X and are therefore comparable.
This proof shows that restricting an order to a smaller set集合しゅうごう does not break the order axioms.