5 Putting into boxes (Dirichlet's approximation)
Small lemmas: sums and products of inequalities, order of squares.
Lar …
\(a , b , c , d \in \mathbb{M} , a \le b , c \le d \Longrightarrow a + c \le b + d , a \cdot c \le b \cdot d\) \(\blacktriangleleft\) L⋅≤ ,L≤t ,⋅𝕄:D ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0XFrom two values \(k, k+q\) landing in the same box, extract an estimate for \(q\). Let \(E = N^2 D\), \(W\) be \(\lfloor \sqrt{E}\,k \rfloor\), and \(W + T\) be \(\lfloor \sqrt{E}\,(k+q) \rfloor\). Then \(\sqrt{E}\,q\) differs from \(T\) by less than 1.
Lup …
\(E , k , q , W , T \in \mathbb{M} , W \cdot W \le E \cdot ( k \cdot k ) , E \cdot ( ( k + q ) \cdot ( k + q ) ) < ( ( W + T ) + 1 ) \cdot ( ( W + T ) + 1 ) \Longrightarrow E \cdot ( q \cdot q ) < ( T + 1 ) \cdot ( T + 1 )\) \(\blacktriangleleft\) Lar ,Lsqc ,Ltot ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0X ,⋅𝕄:DLower estimate: if \(Eq^2 \le S^2\) (\(S = T - 1\)), then \(\sqrt{E}(k+q)\) does not reach \(W + T\), a contradiction.
Llo …
\(E , k , q , W , S \in \mathbb{M} , E \cdot ( k \cdot k ) < ( W + 1 ) \cdot ( W + 1 ) , ( W + ( S + 1 ) ) \cdot ( W + ( S + 1 ) ) \le E \cdot ( ( k + q ) \cdot ( k + q ) ) , E \cdot ( q \cdot q ) \le S \cdot S , E \cdot ( q \cdot q ) \neq 0 \Longrightarrow {\perp}\) \(\blacktriangleleft\) L⋅< ,Lar ,Lsqd ,Lsqc ,L⋅≤ ,L<+k ,L≤< ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0X ,⋅𝕄:DFrom two exponents \(k < k + q\) in the same box: with \(T = W_{k+q} - W_k\), \(E q^2\) and \(T^2\) differ by less than \(2T + 1\).
Lbox …
\(E , k , q , W , T \in \mathbb{M} , q \neq 0 , 2 \le E , W \cdot W \le E \cdot ( k \cdot k ) , E \cdot ( k \cdot k ) < ( W + 1 ) \cdot ( W + 1 ) , ( W + T ) \cdot ( W + T ) \le E \cdot ( ( k + q ) \cdot ( k + q ) ) , E \cdot ( ( k + q ) \cdot ( k + q ) ) < ( ( W + T ) + 1 ) \cdot ( ( W + T ) + 1 ) \Longrightarrow E \cdot ( q \cdot q ) < ( T \cdot T + 2 \cdot T ) + 1 , T \cdot T + 1 < E \cdot ( q \cdot q ) + 2 \cdot T\) \(\blacktriangleleft\) Lup ,Llo ,𝕄⋅≠0 ,𝕄0-' ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0X ,⋅𝕄:DTo each \(k\), assign \(P = \lfloor k\sqrt{D} \rfloor\) and \(W = \lfloor N k \sqrt{D} \rfloor\) (floors of square roots). Since \(NP \le W < N(P+1)\), we have \(W = NP + b\) with \(0 \le b < N\). This \(b\) is the "box".
Lbeta …
\(D , N , k \in \mathbb{M} , N \neq 0 \Longrightarrow \exists P , W , b \in \mathbb{M} . P \cdot P \le D \cdot ( k \cdot k ) , D \cdot ( k \cdot k ) < ( P + 1 ) \cdot ( P + 1 ) , W \cdot W \le ( ( N \cdot N ) \cdot D ) \cdot ( k \cdot k ) , ( ( N \cdot N ) \cdot D ) \cdot ( k \cdot k ) < ( W + 1 ) \cdot ( W + 1 ) , W = N \cdot P + b , b < N\) \(\blacktriangleleft\) L⋅< ,Lisq ,Lsqa ,Lsqc ,Lsqd ,L⋅≤ ,L<+k ,L≤< ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0X ,⋅𝕄:DPigeonhole: if \(k = 0..N+1\) (\(N+1\) values) are put into boxes \(b = 0..N-1\) (\(N\) boxes), there are \(k_1 < k_2\) in the same box.
Lph …
\(D , M \in \mathbb{M} \Longrightarrow \exists k_{1} , k_{2} , b \in \mathbb{M} . k_{1} < k_{2} , k_{2} \le M + 1 , b \le M , \exists P_{1} , W_{1} , P_{2} , W_{2} \in \mathbb{M} . P_{1} \cdot P_{1} \le D \cdot ( k_{1} \cdot k_{1} ) , D \cdot ( k_{1} \cdot k_{1} ) < ( P_{1} + 1 ) \cdot ( P_{1} + 1 ) , W_{1} \cdot W_{1} \le ( ( ( M + 1 ) \cdot ( M + 1 ) ) \cdot D ) \cdot ( k_{1} \cdot k_{1} ) , ( ( ( M + 1 ) \cdot ( M + 1 ) ) \cdot D ) \cdot ( k_{1} \cdot k_{1} ) < ( W_{1} + 1 ) \cdot ( W_{1} + 1 ) , W_{1} = ( M + 1 ) \cdot P_{1} + b , P_{2} \cdot P_{2} \le D \cdot ( k_{2} \cdot k_{2} ) , D \cdot ( k_{2} \cdot k_{2} ) < ( P_{2} + 1 ) \cdot ( P_{2} + 1 ) , W_{2} \cdot W_{2} \le ( ( ( M + 1 ) \cdot ( M + 1 ) ) \cdot D ) \cdot ( k_{2} \cdot k_{2} ) , ( ( ( M + 1 ) \cdot ( M + 1 ) ) \cdot D ) \cdot ( k_{2} \cdot k_{2} ) < ( W_{2} + 1 ) \cdot ( W_{2} + 1 ) , W_{2} = ( M + 1 ) \cdot P_{2} + b\) \(\blacktriangleleft\) Lbeta ,PH ,L#.. ,Lprod ,ax_s ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0X ,⋅𝕄:DSumming up: for \(N \ge 1\) and \(D \ge 2\), there are \(1 \le q \le N\) and \(p\) such that \(\sqrt{D}\,q\) and \(p\) differ by less than \(1/N\) (with \(E = N^2 D\) and \(T = Np\): \(Eq^2 < T^2 + 2T + 1\) and \(T^2 + 1 < Eq^2 + 2T\)).
Ldir …
\(D , N \in \mathbb{M} , N \neq 0 , 2 \le D \Longrightarrow \exists q , p \in \mathbb{M} . q \neq 0 , q \le N , ( ( N \cdot N ) \cdot D ) \cdot ( q \cdot q ) < ( ( N \cdot p ) \cdot ( N \cdot p ) + 2 \cdot ( N \cdot p ) ) + 1 , ( N \cdot p ) \cdot ( N \cdot p ) + 1 < ( ( N \cdot N ) \cdot D ) \cdot ( q \cdot q ) + 2 \cdot ( N \cdot p )\) \(\blacktriangleleft\) Lph ,Lbox ,Lsqa ,Lsqd ,L⋅≤ ,L<s ,𝕄0-' ,\(\mathbb{W}.\) ,Axℤ ,⋅∈𝕄 ,⋅0X ,⋅𝕄:D