Freeks/peano.book(保存済みの内容) … 編集へ / ファイル一覧へ

From arithmetic alone (Peano axioms)
import /Freeks/basis.book

This is another trailhead: starting from the axioms of the natural numbers, build the foundation of arithmetic (sections 1-4), and on it climb the summits #1e, #68b, #66b (section 5 onward). No sets are used; only the logic section of basis (section 1) is imported. Neither the word set nor class appears.
Induction is written with the schema \(\mathrm{IND}\), which substitutes a propositional variable for the property (in \(n \mathrel{P} c\), \(c\) is a parameter that need not be used). Auxiliary variables such as the \(n\) numbers are closed with \(\forall\) inside the substituted formula.

1 Axioms of the natural numbers

word(,s) … \(0\)
word(s,s) … \(\textit{+1}\)
word(ss,s) … \(+\)
word(ss,s) … \(\cdot\)
Ax0 … \(\forall x \, x \textit{+1} \neq 0\)
AxS … \(\forall x , y \, ( x \textit{+1} = y \textit{+1} \Longrightarrow x = y )\)
Ax+0 … \(\forall x \, x + 0 = x\)
Ax+S … \(\forall x , y \, x + y \textit{+1} = ( x + y ) \textit{+1}\)
Ax⋅0 … \(\forall x \, x \cdot 0 = 0\)
Ax⋅S … \(\forall x , y \, x \cdot y \textit{+1} = ( x \cdot y ) + x\)
schema IND(??p^;n,c) := \(\forall c \, 0 \mathbin{p} c , \forall n , c \, ( n \mathbin{p} c \Longrightarrow n \textit{+1} \mathbin{p} c ) \Longrightarrow \forall n , c \, n \mathbin{p} c\)

2 Laws of addition

L0+ … \(\forall x \, 0 + x = x\) \(\blacktriangleleft\) Ax+0 ,Ax+S ,IND
LS+ … \(\forall x , y \, x \textit{+1} + y = ( x + y ) \textit{+1}\) \(\blacktriangleleft\) Ax+0 ,Ax+S ,IND
L+C … \(\forall x , y \, x + y = y + x\) \(\blacktriangleleft\) Ax+0 ,Ax+S ,IND
L+A … \(\forall x , y , z \, ( x + y ) + z = x + ( y + z )\) \(\blacktriangleleft\) Ax+S ,Ax+0 ,IND

3 Laws of multiplication

L0⋅ … \(\forall x \, 0 \cdot x = 0\) \(\blacktriangleleft\) Ax⋅0 ,Ax⋅S ,Ax+0 ,IND
LS⋅ … \(\forall x , y \, x \textit{+1} \cdot y = ( x \cdot y ) + y\) \(\blacktriangleleft\) Ax⋅0 ,Ax⋅S ,Ax+0 ,Ax+S ,IND
L⋅C … \(\forall x , y \, x \cdot y = y \cdot x\) \(\blacktriangleleft\) Ax⋅0 ,Ax⋅S ,L0⋅ ,LS⋅ ,IND
L⋅D … \(\forall x , y , z \, x \cdot ( y + z ) = ( x \cdot y ) + ( x \cdot z )\) \(\blacktriangleleft\) Ax⋅S ,Ax+0 ,Ax+S ,Ax⋅0 ,IND
L⋅A … \(\forall x , y , z \, ( x \cdot y ) \cdot z = x \cdot ( y \cdot z )\) \(\blacktriangleleft\) Ax⋅S ,Ax⋅0 ,L⋅D ,IND
L⋅1 … \(\forall x \, x \cdot 0 \textit{+1} = x\) \(\blacktriangleleft\) Ax⋅0 ,Ax⋅S ,L0+
L1⋅ … \(\forall x \, 0 \textit{+1} \cdot x = x\) \(\blacktriangleleft\) L⋅C ,L⋅1

4 Case analysis and parity

CASE … \(\forall x \, ( x = 0 \mathbin{\rm o\!r} \exists y \, x = y \textit{+1} )\) \(\blacktriangleleft\) IND
LSS … \(\forall x \, x \textit{+1} + x \textit{+1} = ( x + x ) \textit{+1} \textit{+1}\) \(\blacktriangleleft\) Ax+S ,LS+
C+ … \(\forall x , y , z \, ( x + y = x + z \Longrightarrow y = z )\) \(\blacktriangleleft\) AxS ,LS+ ,L0+ ,IND
C+0 … \(\forall x , y \, ( x + y = 0 \Longrightarrow x = 0 )\) \(\blacktriangleleft\) Ax0 ,Ax+0 ,Ax+S ,CASE
EV … \(\forall x \, \exists c \, ( x = c + c \mathbin{\rm o\!r} x = ( c + c ) \textit{+1} )\) \(\blacktriangleleft\) Ax+0 ,LSS ,IND
EO … \(\forall x , y \, x + x \neq ( y + y ) \textit{+1}\) \(\blacktriangleleft\) Ax0 ,AxS ,Ax+0 ,LSS ,IND
DC … \(\forall x , y \, ( x + x = y + y \Longrightarrow x = y )\) \(\blacktriangleleft\) Ax0 ,AxS ,Ax+0 ,LSS ,C+0 ,IND
This is another trailhead: starting from the axioms of the natural numbers we reach #1e and #68b. On top of peano_base (the foundation of arithmetic), we climb the summits of Freek100. No sets are used. The headings #1e, #68b, #66b are Freek100 numbers, and give other routes (alternative proofs) to the same summits.

5 #1e Irrationality of √2 (from Peano arithmetic alone)

No sets are used. If \(a^2 = 2b^2\), then \(a, b\) are both even, and writing \(b = d + d\) gives the same form again from \(d\). This descent is stopped by induction in the form \(b + e = n\), on \(n\) (no order is used).
SQ4 … \(\forall z \, ( z + z ) \cdot ( z + z ) = ( ( z \cdot z ) + ( z \cdot z ) ) + ( ( z \cdot z ) + ( z \cdot z ) )\) \(\blacktriangleleft\) Ax⋅S ,LS⋅ ,L⋅D ,L⋅C ,L+A ,L+C ,Ax+0 ,Ax+S ,L0+ ,Ax⋅0 ,L0⋅
SQO … \(\forall c \, ( c + c ) \textit{+1} \cdot ( c + c ) \textit{+1} = ( ( ( ( c \cdot c ) + c ) + ( ( c \cdot c ) + c ) ) + ( ( ( c \cdot c ) + c ) + ( ( c \cdot c ) + c ) ) ) \textit{+1}\) \(\blacktriangleleft\) Ax⋅S ,LS⋅ ,L⋅D ,L⋅C ,L+A ,L+C ,Ax+0 ,Ax+S ,LS+ ,L0+ ,Ax⋅0 ,L0⋅
LE … \(\forall x , y \, ( x \cdot x = ( y \cdot y ) + ( y \cdot y ) \Longrightarrow \exists z \, x = z + z )\) \(\blacktriangleleft\) EV ,EO ,SQO
LH … \(\forall x , y , z \, ( x = z + z , x \cdot x = ( y \cdot y ) + ( y \cdot y ) \Longrightarrow y \cdot y = ( z \cdot z ) + ( z \cdot z ) )\) \(\blacktriangleleft\) DC ,SQ4
BD … \(\forall d , e , n \, ( ( d + d ) + e = n \textit{+1} , d \neq 0 \Longrightarrow \exists f \, d + f = n )\) \(\blacktriangleleft\) CASE ,LS+ ,Ax+S ,Ax+0 ,AxS ,L+A ,L+C ,Ax0
D2 … \(\forall a , b \, ( a \cdot a = ( b \cdot b ) + ( b \cdot b ) \Longrightarrow \exists c , d \, ( a = c + c , b = d + d , c \cdot c = ( d \cdot d ) + ( d \cdot d ) ) )\) \(\blacktriangleleft\) LE ,LH
STEP … \(\forall n , a , b \, ( ( \forall x , y \, ( \exists e \, y + e = n , x \cdot x = ( y \cdot y ) + ( y \cdot y ) \Longrightarrow y = 0 ) ) , \exists e \, b + e = n \textit{+1} , a \cdot a = ( b \cdot b ) + ( b \cdot b ) \Longrightarrow b = 0 )\) \(\blacktriangleleft\) D2 ,BD ,CASE ,Ax+0
MAIN … \(\forall n , a , b \, ( \exists e \, b + e = n , a \cdot a = ( b \cdot b ) + ( b \cdot b ) \Longrightarrow b = 0 )\) \(\blacktriangleleft\) STEP ,C+0 ,IND
IR … \(\forall a , b \, ( a \cdot a = ( b \cdot b ) + ( b \cdot b ) \Longrightarrow b = 0 )\) \(\blacktriangleleft\) MAIN ,Ax+0

6 #68b Sum of an arithmetic progression (Gauss's form)

The sum \(\mathrm{tri}(n) = 0 + 1 + \cdots + n\) is introduced by a recurrence.
word(s,s)F … \(\mathrm{tri}\)
AxT0 … \(\mathrm{tri} ( 0 ) = 0\)
AxTS … \(\forall x \, \mathrm{tri} ( x \textit{+1} ) = \mathrm{tri} ( x ) + x \textit{+1}\)
Gauss … \(\forall x \, \mathrm{tri} ( x ) + \mathrm{tri} ( x ) = x \cdot x \textit{+1}\) \(\blacktriangleleft\) AxT0 ,AxTS ,Ax⋅0 ,Ax⋅S ,Ax+0 ,Ax+S ,IND

7 #66b Sum of a geometric progression

The power \(x \uparrow n\) and the sum \(r \mathrel{\mathrm{geo}} n = 1 + r + \cdots + r^{n-1}\) are introduced by recursive equations.
word(ss,s) … \(^\)
word(ss,s) … \(\mathrel{\mathrm{geo}}\)
Ax↑0 … \(\forall x \, x ^ 0 = 0 \textit{+1}\)
Ax↑S … \(\forall x , y \, x ^ y \textit{+1} = ( x ^ y ) \cdot x\)
Axg0 … \(\forall r \, r \mathrel{\mathrm{geo}} 0 = 0\)
AxgS … \(\forall r , n \, r \mathrel{\mathrm{geo}} n \textit{+1} = ( r \mathrel{\mathrm{geo}} n ) + ( r ^ n )\)
Writing \((r-1)(1 + r + \cdots + r^{n-1}) = r^n - 1\) without subtraction gives the following form.
RG … \(\forall g , p , r \, ( ( g \cdot r ) + 0 \textit{+1} = g + p \Longrightarrow ( ( g + p ) \cdot r ) + 0 \textit{+1} = ( g + p ) + ( p \cdot r ) )\) \(\blacktriangleleft\) L⋅D ,L⋅C ,L+A ,L+C ,Ax⋅S
Geo … \(\forall r , n \, ( ( r \mathrel{\mathrm{geo}} n ) \cdot r ) + 0 \textit{+1} = ( r \mathrel{\mathrm{geo}} n ) + ( r ^ n )\) \(\blacktriangleleft\) Ax↑0 ,Ax↑S ,Axg0 ,AxgS ,RG ,L0⋅ ,L0+ ,IND

イベント 50 件