Foundations of operations and order
import /Freeks/1.book(section 4 まで)
1 Ordered Abel groups
1.1 Cone of an Abel group
word+(ss[s,s][ss,s],c) …
\(\text{cone}\)lower …
\(\text{cone} ( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] )\) ≃
\(\{ p \mid p \subset X , e \in p , \forall x , y \in p . x \mathbin{{\sf f}} y \in p , \forall x \in X . ( x \in p \mathbin{\rm o\!r} \mathbin{{\sf i}} ( x ) \in p ) , \forall x \in p . ( \mathbin{{\sf i}} ( x ) \in p \Longrightarrow x = e ) \}\) word+(ss[s,s][ss,s]s,p)R …
\(:\mathsf{OAG}\)lower …
\(( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] , P ) :\mathsf{OAG}\) ≃
\(( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] ) :\underline{2}\mathsf{C}\mathsf{A}\mathsf{E}\mathsf{Z} , P \in \text{cone} ( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] )\) word(sss,p) …
\(\preceq\)≼. …
\(x \preceq P y \Longleftrightarrow - x + y \in P\) Lrefl …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , x \in X \Longrightarrow x \preceq P x\) \(\blacktriangleleft\) \(\mathbb{W}.\)Lmono …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , x , y , z \in X , x \preceq P y \Longrightarrow x + z \preceq P y + z\) \(\blacktriangleleft\) \(\mathbb{W}.\)Ladd …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , x , y , u , v \in X , x \preceq P y , u \preceq P v \Longrightarrow x + u \preceq P y + v\) \(\blacktriangleleft\) \(\mathbb{W}.\)1.2 Ordered commutative rings
word+(sss[s,s][ss,s][ss,s]s,p)R …
\(:\mathsf{OCRing}\)lower …
\(( X , e , u , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] , [\mathbin{{\sf g}}] , P ) :\mathsf{OCRing}\) ≃
\(( X , e , u , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] , [\mathbin{{\sf g}}] ) :\mathsf{CRing} , P \in \text{cone} ( X , e , [\mathbin{{\sf i}}] , [\mathbin{{\sf f}}] ) , \forall x , y \in P . x \mathbin{{\sf g}} y \in P , \forall x , y \in P . ( x \neq e , y \neq e \Longrightarrow x \mathbin{{\sf g}} y \neq e )\) LOG …
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow ( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG}\) \(\blacktriangleleft\) \(\mathbb{W}.\)Lsq …
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x \in X \Longrightarrow \textit{0} \preceq P x \cdot x\) \(\blacktriangleleft\) \(\mathbb{W}.\)1.3 #91 Triangle inequality
word(ss,s)F …
\(\mathrm{abs}\)Absolute value: \(|a|\) is an element of \(P\) equal to \(a\) or \(-a\).
abs. …
\(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} , a \in X \Longrightarrow \mathrm{abs} ( P , a ) \in P , ( \mathrm{abs} ( P , a ) = a \mathbin{\rm o\!r} \mathrm{abs} ( P , a ) = - a )\) \(( X , \textit{0} , [-] , [+] , P ) :\mathsf{OAG} \Longrightarrow \forall a , b \in X . \mathrm{abs} ( P , a + b ) \preceq P \mathrm{abs} ( P , a ) + \mathrm{abs} ( P , b )\) \(\blacktriangleleft\) abs. ,Ladd ,\(\mathbb{W}.\)The integers \(\mathbb{Z}\) form an ordered Abel group with positive cone \(\mathbb{M}\).
ℤOAG …
\(( \mathbb{Z} , 0 , [-] , [+] , \mathbb{M} ) :\mathsf{OAG}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ1.4 #78 Cauchy–Schwarz inequality
In an ordered commutative ring, \(\left(\sum a_i b_i\right)^2 \preceq \left(\sum a_i^2\right)\left(\sum b_i^2\right)\). First prove \(2cd \sum a_i b_i \preceq c^2 \sum b_i^2 + d^2 \sum a_i^2\) by induction from \((c b_i - d a_i)^2 \succeq 0\) for each term, and use it in the next induction.
Lcs …
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \forall i \in \mathbb{M} ^{\times} . a ( i ) \in X , b ( i ) \in X \Longrightarrow \forall n \in \mathbb{M} ^{\times} . \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot b ( i ) \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot b ( i ) \preceq P \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot a ( i ) \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } b ( i ) \cdot b ( i )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ ,LOG ,Ladd ,Lmono ,Lsq ,LreflOriginal: #78 above (general \(n\); prove the termwise inequality \(2cd\sum a_ib_i \preceq c^2\sum b_i^2+d^2\sum a_i^2\) by induction and sum). Another route: prove Lagrange's identity \(\left(\sum a_i^2\right)\left(\sum b_i^2\right) - \left(\sum a_ib_i\right)^2 = \sum_{i
In an ordered commutative ring \(X\) (positive cone \(P\)), \(x \preceq y\) means \(-x + y \in P\). Squares are \(\succeq 0\) (\(\mathrm{Lsq}\)), and the order is compatible with sums (\(\mathrm{Ladd}\)).
\(n = 2\): \((a_1^2 + a_2^2)(b_1^2 + b_2^2) = (a_1 b_1 + a_2 b_2)^2 + (a_1 b_2 - a_2 b_1)^2\).
Lcs2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a_{1} , a_{2} , b_{1} , b_{2} \in X . ( a_{1} \cdot b_{1} + a_{2} \cdot b_{2} ) \cdot ( a_{1} \cdot b_{1} + a_{2} \cdot b_{2} ) \preceq P ( a_{1} \cdot a_{1} + a_{2} \cdot a_{2} ) \cdot ( b_{1} \cdot b_{1} + b_{2} \cdot b_{2} )\) \(\blacktriangleleft\) LOG ,Lsq ,Ladd ,Lrefl ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
\(n = 3\): the \(\sum_{iLcs3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a_{1} , a_{2} , a_{3} , b_{1} , b_{2} , b_{3} \in X . ( a_{1} \cdot b_{1} + ( a_{2} \cdot b_{2} + a_{3} \cdot b_{3} ) ) \cdot ( a_{1} \cdot b_{1} + ( a_{2} \cdot b_{2} + a_{3} \cdot b_{3} ) ) \preceq P ( a_{1} \cdot a_{1} + ( a_{2} \cdot a_{2} + a_{3} \cdot a_{3} ) ) \cdot ( b_{1} \cdot b_{1} + ( b_{2} \cdot b_{2} + b_{3} \cdot b_{3} ) )\) \(\blacktriangleleft\) LOG ,Lsq ,Ladd ,Lrefl ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
1.5 Chebyshev's sum inequality
For monotonically increasing sequences \(a_i, b_i\), \(\left(\sum a_i\right)\left(\sum b_i\right) \preceq n \sum a_i b_i\). First, if \(a_i \preceq c,\ b_i \preceq d\) (\(i \le n\)), show \(\left(\sum a_i\right) d + c \sum b_i \preceq \sum a_i b_i + n\,cd\) (using \((c - a_i)(d - b_i) \succeq 0\) for each term), and use it in the induction with \(c = a_{n+1},\ d = b_{n+1}\).
Lch … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \forall i \in \mathbb{M} ^{\times} . a ( i ) \in X , b ( i ) \in X , \forall i , j \in \mathbb{M} ^{\times} . ( i \le j \Longrightarrow a ( i ) \preceq P a ( j ) , b ( i ) \preceq P b ( j ) ) \Longrightarrow \forall n \in \mathbb{M} ^{\times} . \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } b ( i ) \preceq P n \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) \cdot b ( i )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ ,LOG ,Ladd ,Lmono ,Lrefl
1.6 #38 AM-GM inequality
L1P … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , \forall x \in X . ( x \in Q \mathbin{\rm o\!r} - x \in Q ) , \forall x , y \in Q . x \cdot y \in Q \Longrightarrow \textit{1} \in Q\) \(\blacktriangleleft\) \(\mathbb{W}.\)
Lk … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall k \in \mathbb{M} . ( k + 1 ) \cdot \textit{1} \in P\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅. ,L1P
Lk0 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , \textit{0} \neq \textit{1} , \forall x \in Q . x \in X , \textit{1} \in Q , \forall x \in Q . x + \textit{1} \in Q , \forall x \in Q . ( - x \in Q \Longrightarrow x = \textit{0} ) \Longrightarrow \forall k \in \mathbb{M} . ( k + 1 ) \cdot \textit{1} \neq \textit{0}\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅.
Lmul … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x , y , w \in X , w \in P , x \preceq P y \Longrightarrow w \cdot x \preceq P w \cdot y\) \(\blacktriangleleft\) \(\mathbb{W}.\)
Lcan … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x , y , c \in X , c \in P , c \neq \textit{0} , c \cdot x \preceq P c \cdot y \Longrightarrow x \preceq P y\) \(\blacktriangleleft\) \(\mathbb{W}.\)
Lpw … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , \forall x \in Q . x \in X , a \in Q , \textit{1} \in Q , \forall x , y \in Q . x \cdot y \in Q \Longrightarrow \forall k \in \mathbb{M} . a ^ k \in Q\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑0X ,↑s
L↑⋅ … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] ) :\mathsf{CRing} , x , y \in X \Longrightarrow \forall k \in \mathbb{M} . ( x \cdot y ) ^ k = x ^ k \cdot y ^ k\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,↑0X ,↑s
Y2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , a , c \in P \Longrightarrow \forall k \in \mathbb{M} . ( ( k + 1 ) \cdot \textit{1} ) \cdot ( a ^ k \cdot c ) \preceq P ( k \cdot \textit{1} ) \cdot a ^ { k + 1 } + c ^ { k + 1 }\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅. ,⋅0X ,↑0X ,↑. ,↑s ,Lk ,Lpw ,Lsq ,L1P
Lstep … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \textit{0} \neq \textit{1} , S , Q , x \in P \Longrightarrow \forall k \in \mathbb{M} . ( ( ( ( k + 1 ) \cdot \textit{1} ) ^ { k + 1 } ) \cdot Q \preceq P S ^ { k + 1 } \Longrightarrow ( ( ( ( k + 1 ) + 1 ) \cdot \textit{1} ) ^ { ( k + 1 ) + 1 } ) \cdot ( Q \cdot x ) \preceq P ( S + x ) ^ { ( k + 1 ) + 1 } )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅. ,⋅0X ,↑0X ,↑. ,↑s ,Lk ,Lk0 ,Lpw ,Lsq ,L1P ,Y2 ,L↑⋅ ,Lmul ,Lcan
\(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , \textit{0} \neq \textit{1} , \forall i \in \mathbb{M} ^{\times} . a ( i ) \in P , p ( 1 ) = a ( 1 ) , \forall n \in \mathbb{M} ^{\times} . p ( n + 1 ) = p ( n ) \cdot a ( n + 1 ) \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \cdot \textit{1} ) ^ n \cdot p ( n ) \preceq P \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } a ( i ) ^ n\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ ,⋅. ,⋅0X ,↑0X ,↑. ,↑s ,Lk ,Lpw ,Lsq ,L1P ,Lmul ,Lcan ,Lstep
1.7 #38 Alternative proof (Cauchy's forward-backward induction, n = 2, 3, 4)
Original: #38 above (general \(n\); induction using a Bernoulli-type inequality). Another route: only the first 3 steps of Cauchy's forward-backward induction. Go forward from \(n = 2\) to \(n = 4\), then backward from \(n = 4\) to \(n = 3\) (substituting \(3a, 3b, 3c, a+b+c\)). The ring identities are proved in one step with z[|X]. General \(n\) needs steps proving the forward move to \(2^k\) and the backward move over a partition of the sum (not yet done).
The form is \(n^n \prod a_i \preceq (\sum a_i)^n\) (no division). The numbers \(4, 3, 16, 256, 27\) are given as sums and products of \(1\). \(4 \ne 0\) and \(a+b+c \ne 0\) are assumed.
Inequalities between nonnegative elements can be multiplied: \(0 \preceq x \preceq y,\ 0 \preceq u \preceq w \Rightarrow xu \preceq yw\) (\(yw - xu = y(w-u) + u(y-x)\)).
Lmm … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} , x , y , u , w \in X , y \in P , u \in P , x \preceq P y , u \preceq P w \Longrightarrow x \cdot u \preceq P y \cdot w\) \(\blacktriangleleft\) LOG ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
n = 2: from \((a+b)^2 = 4ab + (a-b)^2\) we get \(4ab \preceq (a+b)^2\). The number 4 is given as \(f = 1+1+1+1\).
Lam2 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a , b \in X . ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) \cdot ( a \cdot b ) \preceq P ( a + b ) \cdot ( a + b )\) \(\blacktriangleleft\) LOG ,Lsq ,Ladd ,Lrefl ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
n = 4 (forward): use the 2-term case twice: \(4ab \preceq (a+b)^2\), \(4cd \preceq (c+d)^2\), \(4(a+b)(c+d) \preceq (a+b+c+d)^2\). Since inequalities between nonnegative elements can be multiplied (Lmm), \(16\,abcd \preceq (a+b)^2(c+d)^2 = ((a+b)(c+d))^2\) and \(16((a+b)(c+d))^2 \preceq (a+b+c+d)^4\). \(16 = h\), \(256 = q = h^2\).
Lam4 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a , b , c , d \in X . ( a \in P , b \in P , c \in P , d \in P \Longrightarrow ( ( ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) \cdot ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) ) \cdot ( ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) \cdot ( ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) ) ) ) \cdot ( ( a \cdot b ) \cdot ( c \cdot d ) ) \preceq P ( ( ( a + b ) + ( c + d ) ) \cdot ( ( a + b ) + ( c + d ) ) ) \cdot ( ( ( a + b ) + ( c + d ) ) \cdot ( ( a + b ) + ( c + d ) ) ) )\) \(\blacktriangleleft\) LOG ,Lsq ,Ladd ,Lrefl ,Lmm ,Lam2 ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+
n = 3 (backward): in the \(n = 4\) formula substitute \(3a, 3b, 3c, x\) (\(x = a+b+c\)): since \(3a+3b+3c+x = 4x\), \(256 \cdot 27\,abc\,x \preceq (4x)^4 = 256\,x^4\). Cancel \(256\,x\) (\(\ne 0\)) from both sides to get \(27\,abc \preceq x^3\) (in a division-free form). \(4 \ne 0\) and \(x \ne 0\) are assumed.
Lam3 … \(( X , \textit{0} , \textit{1} , [-] , [+] , [\cdot] , P ) :\mathsf{OCRing} \Longrightarrow \forall a , b , c \in X . \forall f , h , q , t , k , x \in X . ( a \in P , b \in P , c \in P , \textit{0} \neq f , \textit{0} \neq x , f = ( \textit{1} + \textit{1} ) + ( \textit{1} + \textit{1} ) , h = f \cdot f , q = h \cdot h , t = ( \textit{1} + \textit{1} ) + \textit{1} , k = t \cdot ( t \cdot t ) , x = ( a + b ) + c \Longrightarrow k \cdot ( a \cdot ( b \cdot c ) ) \preceq P x \cdot ( x \cdot x ) )\) \(\blacktriangleleft\) Lcan ,Lam4 ,LOG ,Lsq ,Ladd ,Lrefl ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+