履歴: プログラミング/圏論入門
各行は、その日時に書かれた内容です。追加・削除は、1 つ前の版との行数の差です (全 73 版)。「差分」は比較する版、「基準」は比べる相手の版を選びます
| 日時 | タイトル | 文字数 | 追加 | 削除 | 内容 | 差分 | 基準 |
|---|---|---|---|---|---|---|---|
| 2026/12/6 10:25:00 | プログラミング/圏論入門 最新版 | 124,596 | +1 | -1 | 表示 | 差分 | — |
| 2026/11/21 16:05:51 | プログラミング/圏論入門 | 124,600 | +2 | -3 | 表示 | 差分 | 選択 |
| 2026/11/15 12:38:08 | プログラミング/圏論入門 | 124,601 | +76 | -29 | 表示 | 差分 | 選択 |
| 2026/11/14 21:16:05 | プログラミング/圏論入門 | 123,185 | +62 | -31 | 表示 | 差分 | 選択 |
| 2026/11/14 13:10:31 | プログラミング/圏論入門 | 122,470 | +189 | -132 | 表示 | 差分 | 選択 |
| 2026/9/24 10:55:34 | プログラミング/圏論入門 | 119,835 | +3 | -3 | 表示 | 差分 | 選択 |
| 2026/9/10 15:42:28 | プログラミング/圏論入門 | 119,857 | +36 | -3 | 表示 | 差分 | 選択 |
| 2026/9/9 16:08:52 | プログラミング/圏論入門 | 119,032 | +153 | -249 | 表示 | 差分 | 選択 |
| 2026/8/28 22:32:51 | プログラミング/圏論入門 | 120,396 | +370 | -1 | 表示 | 差分 | 選択 |
| 2026/8/25 10:27:06 | プログラミング/圏論入門 | 110,927 | +8 | -6 | 表示 | 差分 | 選択 |
| 2026/8/24 21:57:25 | プログラミング/圏論入門 | 110,853 | +143 | -1 | 表示 | 差分 | 選択 |
| 2026/8/24 11:35:31 | プログラミング/圏論入門 | 107,041 | +117 | -8 | 表示 | 差分 | 選択 |
| 2026/8/23 14:37:27 | プログラミング/圏論入門 | 104,574 | +3 | -5 | 表示 | 差分 | 選択 |
| 2026/8/22 13:05:37 | プログラミング/圏論入門 | 104,549 | +23 | -1 | 表示 | 差分 | 選択 |
| 2026/8/21 23:11:51 | プログラミング/圏論入門 | 104,057 | +5 | -3 | 表示 | 差分 | 選択 |
| 2026/8/21 23:04:03 | プログラミング/圏論入門 | 104,009 | +184 | -114 | 表示 | 差分 | 選択 |
| 2026/8/18 23:27:06 | プログラミング/圏論入門 | 101,970 | +8 | -3 | 表示 | 差分 | 選択 |
| 2026/8/18 9:57:04 | プログラミング/圏論入門 | 101,820 | +91 | -41 | 表示 | 差分 | 選択 |
| 2026/8/17 20:20:20 | プログラミング/圏論入門 | 100,180 | +20 | -11 | 表示 | 差分 | 選択 |
| 2026/8/17 1:35:31 | プログラミング/圏論入門 | 99,726 | +334 | -247 | 表示 | 表示中 | 選択 |
| 2026/8/16 14:22:17 | プログラミング/圏論入門 | 98,070 | +252 | -12 | 表示 | 差分 | 基準 |
| 2026/8/16 2:25:21 | プログラミング/圏論入門 | 91,460 | +266 | -5 | 表示 | 差分 | 選択 |
| 2026/8/15 12:34:45 | プログラミング/圏論入門 | 84,832 | +8 | -1 | 表示 | 差分 | 選択 |
| 2026/8/15 1:19:09 | プログラミング/圏論入門 | 84,652 | +45 | -3 | 表示 | 差分 | 選択 |
| 2026/8/14 19:35:08 | プログラミング/圏論入門 | 82,876 | +75 | -51 | 表示 | 差分 | 選択 |
| 2026/8/12 23:52:33 | プログラミング/圏論入門 | 82,014 | +201 | -34 | 表示 | 差分 | 選択 |
| 2026/8/12 10:17:25 | プログラミング/圏論入門 | 78,619 | +20 | -5 | 表示 | 差分 | 選択 |
| 2026/8/11 8:23:14 | プログラミング/圏論入門 | 78,497 | +9 | -10 | 表示 | 差分 | 選択 |
| 2026/8/6 14:47:08 | プログラミング/圏論入門 | 78,547 | +17 | -1 | 表示 | 差分 | 選択 |
| 2026/8/6 1:10:44 | プログラミング/圏論入門 | 78,282 | +22 | -6 | 表示 | 差分 | 選択 |
| 2026/8/4 19:58:47 | プログラミング/圏論入門 | 77,750 | +21 | -7 | 表示 | 差分 | 選択 |
| 2026/8/4 14:52:58 | プログラミング/圏論入門 | 77,577 | +154 | -13 | 表示 | 差分 | 選択 |
| 2026/8/4 11:44:38 | プログラミング/圏論入門 | 75,700 | +29 | -13 | 表示 | 差分 | 選択 |
| 2026/8/4 1:06:55 | プログラミング/圏論入門 | 75,173 | +24 | -13 | 表示 | 差分 | 選択 |
| 2026/7/29 22:49:12 | プログラミング/圏論入門 | 74,839 | +15 | -8 | 表示 | 差分 | 選択 |
| 2026/7/25 14:20:23 | プログラミング/圏論入門 | 74,658 | +37 | -5 | 表示 | 差分 | 選択 |
| 2026/7/25 3:47:07 | プログラミング/圏論入門 | 73,842 | +22 | -7 | 表示 | 差分 | 選択 |
| 2026/7/25 2:40:24 | プログラミング/圏論入門 | 73,414 | +48 | -3 | 表示 | 差分 | 選択 |
| 2026/7/23 3:49:50 | プログラミング/圏論入門 | 72,356 | +42 | -48 | 表示 | 差分 | 選択 |
| 2026/7/22 23:56:00 | プログラミング/圏論入門 | 72,799 | +209 | -3 | 表示 | 差分 | 選択 |
| 2026/7/22 16:27:25 | プログラミング/圏論入門 | 64,731 | +81 | -42 | 表示 | 差分 | 選択 |
| 2026/7/22 10:02:50 | プログラミング/圏論入門 | 63,069 | +10 | -2 | 表示 | 差分 | 選択 |
| 2026/7/22 0:45:50 | プログラミング/圏論入門 | 62,800 | +17 | -5 | 表示 | 差分 | 選択 |
| 2026/7/21 14:53:39 | プログラミング/圏論入門 | 62,475 | +92 | -2 | 表示 | 差分 | 選択 |
| 2026/7/21 11:06:44 | プログラミング/圏論入門 | 59,254 | +119 | -4 | 表示 | 差分 | 選択 |
| 2026/7/21 0:50:53 | プログラミング/圏論入門 | 55,291 | +99 | -1 | 表示 | 差分 | 選択 |
| 2026/7/20 22:44:37 | プログラミング/圏論入門 | 50,988 | +20 | -2 | 表示 | 差分 | 選択 |
| 2026/7/20 16:34:20 | プログラミング/圏論入門 | 50,459 | +53 | -1 | 表示 | 差分 | 選択 |
| 2026/7/19 22:33:44 | プログラミング/圏論入門 | 47,752 | +3 | -3 | 表示 | 差分 | 選択 |
| 2026/7/19 16:51:31 | プログラミング/圏論入門 | 47,694 | +68 | -18 | 表示 | 差分 | 選択 |
| 2026/7/19 9:12:20 | プログラミング/圏論入門 | 44,453 | +43 | -1 | 表示 | 差分 | 選択 |
| 2026/7/18 23:55:08 | プログラミング/圏論入門 | 43,258 | +71 | -1 | 表示 | 差分 | 選択 |
| 2026/7/18 0:20:44 | プログラミング/圏論入門 | 40,851 | +4 | -4 | 表示 | 差分 | 選択 |
| 2026/7/17 22:55:07 | プログラミング/圏論入門 | 40,883 | +4 | -16 | 表示 | 差分 | 選択 |
| 2026/7/17 8:50:31 | プログラミング/圏論入門 | 41,234 | +9 | -6 | 表示 | 差分 | 選択 |
| 2026/7/14 17:56:39 | プログラミング/圏論入門 | 41,180 | +89 | -74 | 表示 | 差分 | 選択 |
| 2026/7/14 12:40:09 | プログラミング/圏論入門 | 40,589 | +66 | -35 | 表示 | 差分 | 選択 |
| 2026/7/14 0:06:11 | プログラミング/圏論入門 | 39,660 | +57 | -1 | 表示 | 差分 | 選択 |
| 2026/7/13 14:05:21 | プログラミング/圏論入門 | 38,100 | +9 | -2 | 表示 | 差分 | 選択 |
| 2026/7/12 19:50:25 | プログラミング/圏論入門 | 37,833 | +41 | -40 | 表示 | 差分 | 選択 |
| 2026/7/11 21:28:29 | プログラミング/圏論入門 | 37,740 | +53 | -15 | 表示 | 差分 | 選択 |
| 2026/7/11 9:10:13 | プログラミング/圏論入門 | 36,919 | +66 | -55 | 表示 | 差分 | 選択 |
| 2026/7/10 22:30:49 | プログラミング/圏論入門 | 36,454 | +89 | -12 | 表示 | 差分 | 選択 |
| 2026/7/10 19:50:54 | プログラミング/圏論入門 | 33,776 | +298 | -44 | 表示 | 差分 | 選択 |
| 2026/7/10 12:40:49 | プログラミング/圏論入門 | 27,561 | +177 | -73 | 表示 | 差分 | 選択 |
| 2026/7/9 23:58:56 | プログラミング/圏論入門 | 25,762 | +60 | -5 | 表示 | 差分 | 選択 |
| 2026/7/9 21:11:50 | プログラミング/圏論入門 | 24,438 | +55 | -16 | 表示 | 差分 | 選択 |
| 2026/7/9 7:39:19 | プログラミング/圏論入門 | 23,596 | +3 | -2 | 表示 | 差分 | 選択 |
| 2026/7/9 0:18:38 | プログラミング/圏論入門 | 23,597 | +92 | -1 | 表示 | 差分 | 選択 |
| 2026/7/8 15:41:14 | プログラミング/圏論入門 | 20,187 | +32 | -19 | 表示 | 差分 | 選択 |
| 2026/7/8 13:02:28 | プログラミング/圏論入門 | 19,915 | +239 | -65 | 表示 | 差分 | 選択 |
| 2026/7/8 0:05:09 | プログラミング/圏論入門 | 15,091 | +364 | -11 | 表示 | 差分 | 選択 |
| 2026/7/7 23:18:17 | プログラミング/圏論入門 | 1,024 | — | — | 表示 | — | 選択 |
基準: プログラミング/圏論入門 (2026/8/16 14:22:17) → 比較: プログラミング/圏論入門 (2026/8/17 1:35:31)
@@ -1,4 +1,4 @@
-#author("2026-08-16T05:22:17+00:00","","")
+#author("2026-08-16T16:35:31+00:00","","")
[[公開メモ]]
&katex();
@@ -2527,6 +2527,24 @@
f=\mathcal L\circ\mathcal R(f)
$$
が成り立つ。
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase (C')
+}
+rectangle "Category D" {
+ usecase "R(C)"
+ usecase "R(C')"
+}
+C-->(C'): " f=L◦R(f)"
+"R(C)"-->"R(C')": " R(f)"
+C.>"R(C)": R
+C<."R(C)": " L= R^-1 "
+"C'".>"R(C')": R
+"C'"<."R(C')": " L= R^-1 "
+);
+
** 圏の同値(equivalence) [#kf804a23]
上で関手が対象の同型関係を保つことを見た。
@@ -2575,28 +2593,331 @@
$\mathcal R, \mathcal L$ が同値関手であるとき、
-任意の $f\in\mathrm{Hom}(X,Y)$ と
-$\mathcal L\circ\mathcal R(f)\in\mathrm{Hom}( \mathcal L\circ\mathcal R(X), \mathcal L\circ\mathcal RY)$ とが自然同型射 $\varphi$ によって、
+任意の $f\in\mathrm{Hom}(C,C')$ と
+$\mathcal L\circ\mathcal R(f)\in\mathrm{Hom}( \mathcal L\circ\mathcal R(C), \mathcal L\circ\mathcal R(C')$ とが自然同型射 $\varphi$ によって、
¨(
-usecase "L◦R(X)"
-usecase "L◦R(Y)"
-(X)->"L◦R(X)":φ_X
-(Y)->"L◦R(Y)":φ_Y
-(X)-->Y: " f"
-"L◦R(X)"-->"L◦R(Y)": " L◦R(f)"
+rectangle "Category C" {
+ usecase (C)
+ usecase (C')
+ usecase "L◦R(C)"
+ usecase "L◦R(C')"
+}
+rectangle "Category D" {
+ usecase "R(C)"
+ usecase "R(C')"
+}
+C-->(C'): " f"
+"R(C)"-->"R(C')": " R(f)"
+C.>"R(C)": R
+"L◦R(C)"<."R(C)": " L "
+"C'".>"R(C')": R
+"L◦R(C')"<."R(C')": L
+"L◦R(C)"-->"L◦R(C')":" L◦R(f)"
+C->"L◦R(C)":" φ_C"
+C<-"L◦R(C)":" φ_C^-1"
+"C'"->"L◦R(C')":φ_C'
+"C'"<-"L◦R(C')":φ_C'^-1
);
-$$\varphi_Y\circ f=(\mathcal L\circ\mathcal R)(f)\circ\varphi_X$$
+$$\varphi_C'\circ f=(\mathcal L\circ\mathcal R)(f)\circ\varphi_C$$
すなわち、
-$$(\mathcal L\circ\mathcal R)(f)=\varphi_Y\circ f\circ\varphi_X^{-1}$$
+$$(\mathcal L\circ\mathcal R)(f)=\varphi_C'\circ f\circ\varphi_C^{-1}$$
により、全単射の意味で一対一に対応することになる。
+同値関係において $\varphi=1$ と取れば同型であるから、同型は同値の特殊な形と見做せる。
+
+** 随伴(adjoint) [#w4f7cc2b]
+
+随伴の条件は同値よりもさらにゆるい関係になる。
+
+2つの圏 $\mathcal C,\mathcal D$ があり、その間の関手 $\mathcal R:\mathcal C\to\mathcal D,\ \mathcal L:\mathcal D\to\mathcal C$ があるとする。
+
+任意の $C\in\mathcal C, D\in\mathcal D$ に対して $\mathrm{Hom}(\mathcal L(D),C)$ と $\mathrm{Hom}(D,\mathcal R(C))$ との間に自然な全単射 $\varphi_{C,D},\varphi_{C,D}^{-1}$ が存在するとき、
+$$
+\mathrm{Hom}(\mathcal L(D),C)\cong\mathrm{Hom}(D,\mathcal R(C))\\
+$$
+$$
+\varphi_{C,D}:\mathrm{Hom}(\mathcal L(D),C)\to\mathrm{Hom}(D,\mathcal R(C))\\
+$$
+関手 $\mathcal L$ は関手 $\mathcal R$ に対する左随伴 (left adjoint) と呼ばれ、$\mathcal L\dashv\mathcal R$ と書かれる。
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L(D)"
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase "R(C)"
+}
+D-left.>"L(D)":" L "
+C.>"R(C)": " R "
+"L(D)"-->C:" f = φ^-1( φ(f) ) "
+D-->"R(C)":" φ(f)"
+);
+
+*** 同型自然変換としての定義から演算規則を得る [#w46c64be]
+
+それぞれの射には次の演算規則が成り立つ。
+
+- $f:C\to C', h:\mathcal L(D)\to C$ に対して $\varphi_{C',D}(f\circ h)=\mathcal R(f)\circ \varphi_{C,D}(h)$
+- $g:D'\to D, h:\mathcal L(D)\to C$ に対して $\varphi_{C,D'}(h\circ\mathcal L(g))= \varphi_{C,D}(h)\circ g$~
+あるいは~
+$g:D'\to D, k:\mathcal D\to \mathcal R(C)$ に対して $\varphi_{C,D'}^{-1}(k\circ g)=\varphi_{C,D}^{-1}(k)\circ\mathcal L(g)$
+
+以下証明:
+
+「自然な全単射」という言い回しは、次の関手間の同型自然変換 $\varphi_{-,D}$ の存在を主張するものである。
+$$
+\mathrm{Hom}(\mathcal L(D),-)\cong\mathrm{Hom}(D,\mathcal R(-))\\
+$$
+このとき、それぞれの関手の射 $f:C\to C'$ に対する変換は、
+$$f\circ - \hspace{10mm} \text{および} \hspace{10mm}\mathcal R(f)\circ -$$
+と定義される。すなわち、射に対する関手の変換としては $\varphi_{C',D}:(f\circ -)\mapsto(\mathcal R(f)\circ -)$ 。
+
+この変換の自然性から、任意の $h:\mathcal L(D)\to C$ に対して次の関係式が出る。
+$${\color{red}\varphi_{C',D}(f\circ h)}={\color{blue}\mathcal R(f)\circ \varphi_{C,D}(h)}$$
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L(D)"
+ usecase (C')
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase "R(C)"
+ usecase "R(C')"
+}
+D-left.>"L(D)":"L "
+C-right.>"R(C)": "R "
+"L(D)"-->C:" h"
+D-->"R(C)"#blue:" φ(h)"
+C-->(C'):" f"
+"R(C)"-->"R(C')"#blue:" R(f)"
+"C'".>"R(C')": "R "
+D-right--->"R(C')"#red:" φ(f◦h)"
+"L(D)"-left--->(C'):" f◦h"
+);
+
+また同時に、次の反変関手間の同型自然変換 $\varphi_{C,-}$ の存在も含意する。~
+(これが、$\phi$ が $C,D$ のように2つの添え字を持つ理由である)
+$$
+\mathrm{Hom}(\mathcal L(-),C)\cong\mathrm{Hom}(-,\mathcal R(C))\\
+$$
+それぞれの関手の射 $g:D'\to D$ に対する変換は、
+$$-\circ\mathcal L(g) \hspace{10mm} \text{および} \hspace{10mm}-\circ g$$
+である。つまり、射に対する関手の変換としては $\varphi_{C,D'}:(-\circ\mathcal L(g))\mapsto(-\circ g)$ 。
+
+この変換の自然性から、任意の $h:\mathcal L(D)\to C$ に対して次の関係式が出る。
+$$\varphi_{C,D'}(h\circ\mathcal L(g))= \varphi_{C,D}(h)\circ g$$
+あるいはこれを逆にして、任意の $\varphi_{C,D}(h)=k:\mathcal D\to \mathcal R(C)$ に対して、
+$${\color{red}\varphi_{C,D'}^{-1}(k\circ g)}={\color{blue}\varphi_{C,D}^{-1}(k)\circ\mathcal L(g)}$$
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L(D)"
+ usecase "L(D')"
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase (D')
+ usecase "R(C)"
+}
+D-left.>"L(D)":" L "
+C-right.>"R(C)": " R"
+"D'"-left.>"L(D')": "L"
+"L(D)"-->C#blue:" φ^-1(k)"
+D-->"R(C)":" k"
+"D'"-->D: " g"
+"L(D')"-->"L(D)"#blue: " L(g)"
+"L(D')"--->"C"#red: " φ^-1(k◦g)"
+"D'"-right--->"R(C)":" k◦g"
+);
+
+*** 圏の同値は随伴を含意する [#af7f18b8]
+
+図の黄色と赤でマークした構造に注目すれば、
+$$
+g=f\circ\varphi_C^{-1}
+$$
+を
+$$
+\psi(g)=\mathcal R(g\circ\varphi_C)=\mathcal R(f)
+$$
+に移す自然変換 $\psi$ が存在し、その逆が、
+$$
+\psi^{-1}(h)=\varphi_{C'}^{-1}\circ\mathcal L(h)
+$$
+として定義できるためだ。
+$$
+\psi^{-1}\circ\psi(g)=\varphi_{C'}^{-1}\circ\mathcal L\circ \mathcal R(f)=f\circ\varphi_{C}^{-1}=g
+$$
+こちら向きはすぐに分かるが、もう一方はちょっとややこしいので勉強中。
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase (C') #yellow
+ usecase "L◦R(C)" #yellow
+ usecase "L◦R(C')"
+}
+rectangle "Category D" {
+ usecase "R(C)" #yellow
+ usecase "R(C')" #yellow
+}
+C-->(C'): " f"
+"R(C)"-->"R(C')" #red: " R(f) = ψ(g)"
+C.>"R(C)": R
+"L◦R(C)"<."R(C)" #red: " L "
+"C'".>"R(C')" #red: " R"
+"L◦R(C')"<."R(C')": L
+"L◦R(C)"-->"L◦R(C')":" L◦R(f)"
+C->"L◦R(C)":" φ_C"
+C<-"L◦R(C)":" φ_C^-1"
+"C'"->"L◦R(C')":φ_C'
+"C'"<-"L◦R(C')":φ_C'^-1
+"L◦R(C)"-->"C'"#red:g
+);
+
+*** 単位(unit) $\eta:\mathcal I_{\mathcal D}\to\mathcal R\circ \mathcal L$ [#b74bae84]
+
+$\eta_D=\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)})$ と定義すると、これは $\eta:\mathcal I_{\mathcal D}\to\mathcal R\circ \mathcal L$ の自然変換となる。この変換は随伴の「単位」と呼ばれる。
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L(D)"
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase "R(C)"
+}
+D-left.>"L(D)":" L "
+C.>"R(C)": " R "
+"L(D)"-->C:" f"
+D-->"R(C)":" φ(f)"
+); →
+¨(
+rectangle "Category C" {
+ usecase "L(D)"
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase "R◦L(D)"
+}
+"L(D)"-right.>"R◦L(D)": " R "
+D-left.>"L(D)":" L"
+D-->"R◦L(D)":" η_D=φ(1_L(D))"
+"L(D)"-->"L(D)":1_L(D)
+);
+
+*** 余単位(co-unit) $\varepsilon:\mathcal L\circ \mathcal R\to\mathcal I_C$ [#w40b011f]
+
+$\varepsilon_C=\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)})$ と定義すると、これは $\varepsilon:\mathcal L\circ \mathcal R\to\mathcal I_C$ の自然変換となる。この変換は随伴の「余単位」と呼ばれる。
+
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L(D)"
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase "R(C)"
+}
+D-left.>"L(D)":" L "
+C.>"R(C)": " R"
+"L(D)"-->C:" φ^-1(g)"
+D-->"R(C)":" g"
+); →
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L◦R(C)"
+}
+rectangle "Category D" {
+ usecase "R(C)"
+}
+"R(C)"-left.>"L◦R(C)":" L"
+C.>"R(C)": " R"
+"L◦R(C)"-->C:" ε_C = φ^-1(1_R(C)) "
+"R(C)"-->"R(C)":" 1_R(C)"
+);
+
+*** 三角恒等式 [#la1aa3f4]
+
+この $\eta,\varepsilon$ は以下の2つの三角恒等式を満たす。
+
+- $\varepsilon_{\mathcal L(D)}\circ\mathcal L(\eta_D)=1_{\mathcal L(D)}$
+- $\mathcal R(\varepsilon_{C})\circ\eta_{\mathcal R(C)}=1_{\mathcal R(C)}$
+
+それぞれの左辺に
+- $\eta_D=\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)})$
+- $\varepsilon_C=\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)})$
+
+を代入し、$\varphi,\varphi^{-1}$ の具体形を使うと、
+$$
+\begin{aligned}
+&\varphi_{\mathcal L(D),\mathcal R\circ\mathcal L(D)}^{-1}(1_{\mathcal R\circ\mathcal L(D)})\circ\mathcal L(\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)}))\\
+=\,&\varphi_{\mathcal L(D),D}^{-1}\big(\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)})\big)
+\hspace{10mm}\because \varphi_{C,D}^{-1}(h\circ g)=\varphi_{C,D'}^{-1}(h)\circ\mathcal L(g)\\
+=\,&1_{\mathcal L(D)}
+\end{aligned}
+$$
+$$
+\begin{aligned}
+&\mathcal R(\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)}))\circ\varphi_{\mathcal L\circ\mathcal R(C),\mathcal R(C)}(1_{\mathcal L\circ\mathcal R(C)})\\
+=\,&\varphi_{C,\mathcal R(C)}\big(\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)})\big)
+\hspace{10mm}\because\varphi_{C',D}(f\circ h)=\mathcal R(f)\circ \varphi_{C,D}(h)\\
+=\,&1_{\mathcal R(C)}
+\end{aligned}
+$$
+
+¨(
+rectangle "Category C" {
+ usecase "L(D)"
+ usecase "L◦R◦L(D)"
+}
+rectangle "Category D" {
+ usecase (D)
+ usecase "R◦L(D)"
+}
+"L(D)"-right.>"R◦L(D)": " R "
+D-left.>"L(D)":" L"
+D-->"R◦L(D)":" η_D"
+"L(D)"-->"L(D)":1_L(D)
+"L(D)"-->"L◦R◦L(D)":L(η_D)
+"L(D)"<--"L◦R◦L(D)":ε_L(D)
+"L◦R◦L(D)"<."R◦L(D)":L
+);
+¨(
+rectangle "Category C" {
+ usecase (C)
+ usecase "L◦R(C)"
+}
+rectangle "Category D" {
+ usecase "R(C)"
+ usecase "R◦L◦R(C)"
+}
+"R(C)"-left.>"L◦R(C)":"L"
+C.>"R(C)": " R "
+"L◦R(C)"-->C:" ε_C "
+"R(C)"-->"R(C)":" 1_R(C)"
+"R(C)"-up->"R◦L◦R(C)":" η_R(C) "
+"L◦R(C)".>"R◦L◦R(C)":R
+"R(C)"<-up-"R◦L◦R(C)":" R(ε_C)"
+);
+
** 随伴(adjoint) [#n0ca8d93]
+随伴を、上記の三角恒等式を満たす単位と余単位の存在により定義することもでき、
+それは上の $\phi$ の存在による定義と同値な定義となる。
+
自然同型は逆射を持つ自然変換により結ばれるということであった。
だから、同値関係に現れた自然同型は、
@@ -2607,13 +2928,13 @@
の4つの自然変換が存在して互いに逆であるという条件。
-随伴はこの条件をさらに緩和して、
+こちらの定義では、随伴はこの条件をさらに緩和して、
- $\eta:\mathcal I_\mathcal{D}\to\mathcal R\circ \mathcal L$
- $\varepsilon:\mathcal L\circ \mathcal R\to \mathcal I_\mathcal{C}$
の2つの一方向の自然変換が存在し、
-次の三角恒等式が成り立つことだけを要求する。
+次の三角恒等式が成り立つことだけを要求することになる。
- $\varepsilon_{\mathcal L(D)}\circ\mathcal L(\eta_D)=1_{\mathcal L(D)}$
- $\mathcal R(\varepsilon_{C})\circ\eta_{\mathcal R(C)}=1_{\mathcal R(C)}$
@@ -2976,237 +3297,3 @@
\eta_D\circ f=(\mathcal R\circ \mathcal L)(f)\circ \eta_{D'}
$$
より成立する。
-
-** 自然な全単射による随伴の定義 [#w4f7cc2b]
-
-上では $\eta,\varepsilon$ により随伴を定義して、自然な全単射 $\varphi_{C,D}$ の存在を導いたが、逆に $\varphi_{C,D}$ の存在を随伴の定義として、そこから $\eta,\varepsilon$ を導くこともできる。つまり2つの定義は同値である。
-
-2つの圏 $\mathcal C,\mathcal D$ があり、その間の関手 $\mathcal R:\mathcal C\to\mathcal D,\ \mathcal L:\mathcal D\to\mathcal C$ があるとする。
-
-任意の $C\in\mathcal C, D\in\mathcal D$ に対して $\mathrm{Hom}(\mathcal L(D),C)$ と $\mathrm{Hom}(D,\mathcal R(C))$ との間に自然な全単射 $\varphi_{C,D},\varphi_{C,D}^{-1}$ が存在するとき、
-$$
-\mathrm{Hom}(\mathcal L(D),C)\cong\mathrm{Hom}(D,\mathcal R(C))\\
-$$
-$$
-\varphi_{C,D}:\mathrm{Hom}(\mathcal L(D),C)\to\mathrm{Hom}(D,\mathcal R(C))\\
-$$
-関手 $\mathcal L$ は関手 $\mathcal R$ に対する左随伴 (left adjoint) と呼ばれ、$\mathcal L\dashv\mathcal R$ と書かれる。
-
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L(D)"
-}
-rectangle "Category D" {
- usecase (D)
- usecase "R(C)"
-}
-D-left.>"L(D)":" L "
-C.>"R(C)": " R "
-"L(D)"-->C:" f"
-D-->"R(C)":" φ(f)"
-);
-
-*** 同型自然変換としての定義から具体形を得る [#w46c64be]
-
-それぞれの射の具体形は次のようになる。
-
-- $f:C\to C', h:\mathcal L(D)\to C$ に対して $\varphi_{C',D}(f\circ h)=\mathcal R(f)\circ \varphi_{C,D}(h)$
-- $g:D'\to D, h:\mathcal L(D)\to C$ に対して $\varphi_{C,D'}(h\circ\mathcal L(g))= \varphi_{C,D}(h)\circ g$~
-あるいは~
-$g:D'\to D, k:\mathcal D\to \mathcal R(C)$ に対して $\varphi_{C,D'}^{-1}(k\circ g)=\varphi_{C,D}^{-1}(k)\circ\mathcal L(g)$
-
-なぜなら、
-
-「自然な全単射」は次の関手間の同型自然変換 $\varphi_{-,D}$ の存在を主張するものである。
-$$
-\mathrm{Hom}(\mathcal L(D),-)\cong\mathrm{Hom}(D,\mathcal R(-))\\
-$$
-それぞれの射 $f:C\to C'$ に対する変換は、
-$$f\circ - \hspace{10mm} \text{および} \hspace{10mm}\mathcal R(f)\circ -$$
-であるから、関手の変換としては $\varphi_{C',D}:(f\circ -)\mapsto(\mathcal R(f)\circ -)$ 。
-
-この変換の自然性から、任意の $h:\mathcal L(D)\to C$ に対して、
-$${\color{red}\varphi_{C',D}(f\circ h)}={\color{blue}\mathcal R(f)\circ \varphi_{C,D}(h)}$$
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L(D)"
- usecase (C')
-}
-rectangle "Category D" {
- usecase (D)
- usecase "R(C)"
- usecase "R(C')"
-}
-D-left.>"L(D)":"L "
-C-right.>"R(C)": "R "
-"L(D)"-->C:" h"
-D-->"R(C)"#blue:" φ(h)"
-C-->(C'):" f"
-"R(C)"-->"R(C')"#blue:" R(f)"
-"C'".>"R(C')": "R "
-D-right--->"R(C')"#red:" φ(f◦h)"
-"L(D)"-left--->(C'):" f◦h"
-);
-
-また同時に、次の反変関手間の同型自然変換 $\varphi_{C,-}$ の存在も含意する。
-$$
-\mathrm{Hom}(\mathcal L(-),C)\cong\mathrm{Hom}(-,\mathcal R(C))\\
-$$
-それぞれの射 $g:D'\to D$ に対する変換は、
-$$-\circ\mathcal L(g) \hspace{10mm} \text{および} \hspace{10mm}-\circ g$$
-であるから、関手の変換としては $\varphi_{C,D'}:(-\circ\mathcal L(g))\mapsto(-\circ g)$ 。
-
-この変換の自然性から、任意の $h:\mathcal L(D)\to C$ に対して、
-$$\varphi_{C,D'}(h\circ\mathcal L(g))= \varphi_{C,D}(h)\circ g$$
-あるいはこれを逆にして、任意の、 $\varphi_{C,D}(h)=k:\mathcal D\to \mathcal R(C)$ に対して、
-$${\color{red}\varphi_{C,D'}^{-1}(k\circ g)}={\color{blue}\varphi_{C,D}^{-1}(k)\circ\mathcal L(g)}$$
-
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L(D)"
- usecase "L(D')"
-}
-rectangle "Category D" {
- usecase (D)
- usecase (D')
- usecase "R(C)"
-}
-D-left.>"L(D)":" L "
-C-right.>"R(C)": " R"
-"D'"-left.>"L(D')": "L"
-"L(D)"-->C#blue:" φ^-1(k)"
-D-->"R(C)":" k"
-"D'"-->D: " g"
-"L(D')"-->"L(D)"#blue: " L(g)"
-"L(D')"--->"C"#red: " φ^-1(k◦g)"
-"D'"-right--->"R(C)":" k◦g"
-);
-*** 単位(unit) $\eta:\mathcal I_{\mathcal D}\to\mathcal R\circ \mathcal L$ [#b74bae84]
-
-$\eta_D=\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)})$ と取れば $\eta:\mathcal I_{\mathcal D}\to\mathcal R\circ \mathcal L$
-
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L(D)"
-}
-rectangle "Category D" {
- usecase (D)
- usecase "R(C)"
-}
-D-left.>"L(D)":" L "
-C.>"R(C)": " R "
-"L(D)"-->C:" f"
-D-->"R(C)":" φ(f)"
-); →
-¨(
-rectangle "Category C" {
- usecase "L(D)"
-}
-rectangle "Category D" {
- usecase (D)
- usecase "R◦L(D)"
-}
-"L(D)"-right.>"R◦L(D)": " R "
-D-left.>"L(D)":" L"
-D-->"R◦L(D)":" η_D=φ(1_L(D))"
-"L(D)"-->"L(D)":1_L(D)
-);
-
-*** 余単位(co-unit) $\varepsilon:\mathcal L\circ \mathcal R\to\mathcal I_C$ [#w40b011f]
-
-$\varepsilon_C=\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)})$ と取れば $\varepsilon:\mathcal L\circ \mathcal R\to\mathcal I_C$
-
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L(D)"
-}
-rectangle "Category D" {
- usecase (D)
- usecase "R(C)"
-}
-D-left.>"L(D)":" L "
-C.>"R(C)": " R"
-"L(D)"-->C:" g^-1(g)"
-D-->"R(C)":" g"
-); →
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L◦R(C)"
-}
-rectangle "Category D" {
- usecase "R(C)"
-}
-"R(C)"-left.>"L◦R(C)":" L"
-C.>"R(C)": " R"
-"L◦R(C)"-->C:" ε_C = φ^-1(1_R(C)) "
-"R(C)"-->"R(C)":" 1_R(C)"
-);
-
-*** 三角恒等式 [#la1aa3f4]
-
-この $\eta,\varepsilon$ は以下の2つの三角恒等式を満たす。
-- $\varepsilon_{\mathcal L(D)}\circ\mathcal L(\eta_D)=1_{\mathcal L(D)}$
-- $\mathcal R(\varepsilon_{C})\circ\eta_{\mathcal R(C)}=1_{\mathcal R(C)}$
-
-それぞれの左辺に
-- $\eta_D=\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)})$
-- $\varepsilon_C=\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)})$
-
-を代入し、$\varphi,\varphi^{-1}$ の具体形を使うと、
-$$
-\begin{aligned}
-&\varphi_{\mathcal L(D),\mathcal R\circ\mathcal L(D)}^{-1}(1_{\mathcal R\circ\mathcal L(D)})\circ\mathcal L(\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)}))\\
-=\,&\varphi_{\mathcal L(D),D}^{-1}\big(\varphi_{\mathcal L(D),D}(1_{\mathcal L(D)})\big)
-\hspace{10mm}\because \varphi_{C,D}^{-1}(h\circ g)=\varphi_{C,D'}^{-1}(h)\circ\mathcal L(g)\\
-=\,&1_{\mathcal L(D)}
-\end{aligned}
-$$
-$$
-\begin{aligned}
-&\mathcal R(\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)}))\circ\varphi_{\mathcal L\circ\mathcal R(C),\mathcal R(C)}(1_{\mathcal L\circ\mathcal R(C)})\\
-=\,&\varphi_{C,\mathcal R(C)}\big(\varphi_{C,\mathcal R(C)}^{-1}(1_{\mathcal R(C)})\big)
-\hspace{10mm}\because\varphi_{C',D}(f\circ h)=\mathcal R(f)\circ \varphi_{C,D}(h)\\
-=\,&1_{\mathcal R(C)}
-\end{aligned}
-$$
-
-¨(
-rectangle "Category C" {
- usecase "L(D)"
- usecase "L◦R◦L(D)"
-}
-rectangle "Category D" {
- usecase (D)
- usecase "R◦L(D)"
-}
-"L(D)"-right.>"R◦L(D)": " R "
-D-left.>"L(D)":" L"
-D-->"R◦L(D)":" η_D"
-"L(D)"-->"L(D)":1_L(D)
-"L(D)"-->"L◦R◦L(D)":L(η_D)
-"L(D)"<--"L◦R◦L(D)":ε_L(D)
-"L◦R◦L(D)"<."R◦L(D)":L
-);
-¨(
-rectangle "Category C" {
- usecase (C)
- usecase "L◦R(C)"
-}
-rectangle "Category D" {
- usecase "R(C)"
- usecase "R◦L◦R(C)"
-}
-"R(C)"-left.>"L◦R(C)":"L"
-C.>"R(C)": " R "
-"L◦R(C)"-->C:" ε_C "
-"R(C)"-->"R(C)":" 1_R(C)"
-"R(C)"-up->"R◦L◦R(C)":" η_R(C) "
-"L◦R(C)".>"R◦L◦R(C)":R
-"R(C)"<-up-"R◦L◦R(C)":" R(ε_C)"
-);