集合の大きさ
import /Freeks/basis.book
この本は
Freek100への最初の本で、数学の基礎(論理や集合)から準備します。
見出しの #74a・#74b・#25・#63 は Freek100 の番号です。番号の付いた節と「証明①」などの小節の中で導入した記号は、その外では使えません。
tex表記されたものをクリックするとソースが出てきます。こまめに(特に疑問を感じた時は)確認して下さい。
\(P\) ◀ \(\Gamma\) が「前提 \(\Gamma\) から \(P\) が示される」と意味すること、などはtutorialに書かれています。
\(\mathbb{W}.\) は、その位置までに置かれた定義の列ですが、基礎の本(basis)の終わりでは \(\subset.\) と \(=.\) の2つになります。
1 #74a 数学的帰納法(最小の帰納的集合から) forget
数学的帰納法:\(p(0)\) かつ、すべての \(n \in \mathbb{M}\) で \(p(n) \Rightarrow p(n+1)\) なら、すべての \(n \in \mathbb{M}\) で \(p(n)\)。
1.1 帰納的集合と 𝕄
帰納的集合の全体を \({\rm Ind}\) とする。なお、ここでは \(0\) と suc の定義をしない。
word(,s) …
\(0\)word(s,s) …
\(\textit{+1}\) \(\hat{\textit{+1}}\)^suc. …
\(X \hat{\textit{+1}} = \{ n \textit{+1} \mid n \in X \}\) word(,c) …
\(\text{Ind}\)Ind. …
\(\text{Ind} = \{ M \mid 0 \in M , M \hat{\textit{+1}} \subset M \}\) !prop/thm Ind.' …
\(\text{Ind} = \{ M \mid 0 \in M , \forall m \in M . m \textit{+1} \in M \}\) \(\blacktriangleleft\) \(\mathbb{W}.\)prf Ind.' // \(\mathbb{W}.\)'!=. -| O p; Ind.' -| \(\mathbb{W}.\) h;\(\mathbb{M}\) を最小の帰納的集合(\({\rm Ind}\) の共通部分)として定義する。
word(c,c) …
\(\bigcap\)⋂_. …
\(\bigcap \mathcal{X} = \{ x \mid \forall X \in \mathcal{X} . x \in X \}\) word(,s) …
\(\mathbb{M}\)𝕄. …
\(\mathbb{M} = \bigcap \text{Ind}\) !thm \(0 \in \mathbb{M}\) ◀ \(\mathbb{W}.\)prf goal /// \(\mathbb{W}.\) -| O p; goal -| \(\mathbb{W}.\) h;!prop/thm L𝕄1 …
\(\forall n \in \mathbb{M} . n \textit{+1} \in \mathbb{M}\) \(\blacktriangleleft\) \(\mathbb{W}.\)prf L𝕄1 /// \(\mathbb{W}.\) -| O p; L𝕄1 -| \(\mathbb{W}.\) h; \(\mathbb{M} \in \text{Ind}\) \(\blacktriangleleft\) \(\mathbb{W}.\)prf goal -| \(0 \in \mathbb{M}\) , L𝕄1 {Ind.'} p; goal -| \(\mathbb{W}.\) h;1.2 帰納法の原理
一項述語 \(p\) についての帰納法。\(A = \{m \in \mathbb{M} \mid p(m)\}\) とすると \(A\in{\rm Ind}\) であることからすぐにわかる。
\({p} ( 0 ) , \forall n \in \mathbb{M} . \, ( {p} ( n ) \Rightarrow {p} ( n \textit{+1} ) ) \Longrightarrow \forall n \in \mathbb{M} . \, {p} ( n )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,ax_sprf \(A\) := \(\{ m \in \mathbb{M} \mid {p} ( m ) \}\) ; goal -| ax_s[\(C\):=\(A\)] , L𝕄1 , 𝕄. {Ind.'} p; goal -| \(\mathbb{W}.\) , ax_s h;1.3 #74b との関連
クラス \(D\) についての帰納法も定理になる。\(A = \{m \in \mathbb{M} \mid m \in D\}\) とすると \(A\in{\rm Ind}\) であることからすぐにわかる。
IND𝕄 …
\(0 \in D , \forall m \in \mathbb{M} . ( m \in D \Longrightarrow m \textit{+1} \in D ) \Longrightarrow \mathbb{M} \subset D\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,ax_sprf \(A\) := \(\{ m \in \mathbb{M} \mid m \in \mathrm{D} \}\) ; \(A \subset \mathbb{M}\) -| O p; \(0 \in \mathrm{D} , \forall m \in \mathbb{M} . ( m \in \mathrm{D} \Longrightarrow m \textit{+1} \in \mathrm{D} ) \Longrightarrow \mathbb{M} \subset \mathrm{D}\) --| \(\mathrm{A} = A\) , L𝕄1 , 𝕄. {Ind.'} v; IND𝕄 --| \(\mathbb{W}.\) , ax_s h[fix,lower];