Integer arithmetic: sums, products, powers, factorials, order, parity, binomial coefficients
import /Freeks/basis.book
1 Natural numbers, successor
1.1 Natural numbers, summation symbol
For a natural number \({\tt n}\) at least 0
word(,s) …
\({\tt n}\)word(ss,s) …
\(+\) \(+\) \(+\) \(+\)*^+. …
\([+] \stackrel{\star\!\star}{=} \; [\stackrel{\text{*^}}{+}]\) ^*+. …
\([+] \stackrel{\star\!\star}{=} \; [\stackrel{\text{^*}}{+}]\) ^^+. …
\([+] \stackrel{\star\!\star}{=} \; [\stackrel{\text{^^}}{+}]\) 1.2 Axioms of natural numbers
word(,s) …
\(\mathbb{M}\)word(s,s) …
\(^{\times}\)^×. …
\(n \in X ^{\times} \Longleftrightarrow n \in X , n \neq 0\) 𝕄0 …
\(\mathbb{M} + 1 \subset \mathbb{M} ^{\times}\) For a natural number \({\tt n}\) at least 1
\({\tt n}\). …
\({\tt n} = ( {\tt n\,{\text -}\,1} ) + 1\) \({\tt n} \in \mathbb{M}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 \({\tt n} \in \mathbb{M} ^{\times}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 \(0 \neq {\tt n}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0INDC …
\(0 \in D , \forall m \in \mathbb{M} . ( m \in D \Longrightarrow m + 1 \in D ) \Longrightarrow \mathbb{M} \subset D\) 𝕄0- …
\(\mathbb{M} + 1 \supset \mathbb{M} ^{\times}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC1.3 #74 Mathematical induction forget
Induction with a unary predicate \(p\) follows immediately by taking \(D\) in INDC to be \(\{m \mid p(m)\}\).
\({p} ( 0 ) , \forall n \in \mathbb{M} . \, ( {p} ( n ) \Rightarrow {p} ( n + 1 ) ) \Longrightarrow \forall n \in \mathbb{M} . \, {p} ( n )\) \(\blacktriangleleft\) INDC