5 最後の仕上げ:x² − Dy² = 1 の解
\(B\) 以下の 0 でない数すべてで割り切れる \(L \ne 0\) がある(\(L \to L \cdot (B+1)\))。
Lcm …
\(B \in \mathbb{M} \Longrightarrow \exists L \in \mathbb{M} . L \neq 0 , \forall k \in \mathbb{M} . ( k \neq 0 , k \le B \Longrightarrow \exists l \in \mathbb{M} . L = k \cdot l )\) \(\blacktriangleleft\) L≤s ,L≤0 ,𝕄⋅≠0 ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅有限個(\(c = 0..K\))の組のどれかには、いくらでも大きい \(Q\) で成り立つものがある(無限の鳩の巣)。\(K\) についての帰納法:\(c \le K\) の中に無限に成り立つものがなければ、ある \(Q_0\) から先は \(c \le K\) は全部偽で、\(c = K + 1\) が残る。
Linf …
\(K \in \mathbb{M} , \forall Q \in \mathbb{M} . \exists c \in \mathbb{M} . c \le K , \langle c , Q \rangle \in S , \forall c \in \mathbb{M} . ( c \le K \Longrightarrow \forall Q , Q' \in \mathbb{M} . ( Q \le Q' , \langle c , Q' \rangle \in S \Longrightarrow \langle c , Q \rangle \in S ) ) \Longrightarrow \exists c \in \mathbb{M} . c \le K , \forall Q \in \mathbb{M} . \langle c , Q \rangle \in S\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅割り算の定理(Freek8 の Ldiv と同じ)。
Ldiv …
\(d \in \mathbb{M} , d \neq 0 \Longrightarrow \forall a \in \mathbb{M} . \exists q , r \in \mathbb{M} . a = d \cdot q + r , r < d\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅割り算の余りと商は一意:\(u + Lv = u' + Lv'\)、\(u, u' < L\) なら \(u = u'\)、\(v = v'\)。
Lduq …
\(u , u' , v , v' , L \in \mathbb{M} , L \neq 0 , u + L \cdot v = u' + L \cdot v' , u < L , u' < L \Longrightarrow u = u' , v = v'\) \(\blacktriangleleft\) Lmono ,L<+k ,L≤< ,Ltot ,L≤anti ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅有効な組 \((q, p)\) には、\(m' + Dq^2 = p^2 + B\)(\(m' = p^2 - Dq^2 + B\)、\(0 \le m' \le 2B\)、\(m' \ne B\))と、\(p, q\) を \(L\) で割った余り \(r, t\) がある。
Lcls …
\(D , s , q , p , L \in \mathbb{M} , L \neq 0 , q \neq 0 , D \cdot ( q \cdot q ) \le p \cdot p + 2 \cdot ( s + 1 ) , p \cdot p \le D \cdot ( q \cdot q ) + 2 \cdot ( s + 1 ) , p \cdot p \neq D \cdot ( q \cdot q ) \Longrightarrow \exists m' , r , t , a , b \in \mathbb{M} . m' + D \cdot ( q \cdot q ) = p \cdot p + 2 \cdot ( s + 1 ) , m' \neq 2 \cdot ( s + 1 ) , m' \le 2 \cdot ( 2 \cdot ( s + 1 ) ) , p = r + L \cdot a , r < L , q = t + L \cdot b , t < L\) \(\blacktriangleleft\) Ldiv ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅コード \\(c = (m'L + r)L + t\\)(\\(r, t < L\\))から \\(m', r, t\\) が決まる(\\(L\\) 進表示の一意性=Lduq を 2 回)。
Lcode …
\(m_{1} , r_{1} , t_{1} , m_{2} , r_{2} , t_{2} , L \in \mathbb{M} , L \neq 0 , r_{1} < L , t_{1} < L , r_{2} < L , t_{2} < L , ( m_{1} \cdot L + r_{1} ) \cdot L + t_{1} = ( m_{2} \cdot L + r_{2} ) \cdot L + t_{2} \Longrightarrow m_{1} = m_{2} , r_{1} = r_{2} , t_{1} = t_{2}\) \(\blacktriangleleft\) Lduq ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅コードの上界:\\(m' \\le B_2\\)、\\(r, t < L\\) なら \\((m'L + r)L + t \\le ((B_2 + 1)L)L\\)。
Lcb …
\(m , r , t , L , B_{2} \in \mathbb{M} , L \neq 0 , m \le B_{2} , r < L , t < L \Longrightarrow ( m \cdot L + r ) \cdot L + t \le ( ( B_{2} + 1 ) \cdot L ) \cdot L\) \(\blacktriangleleft\) Lmono ,Lsb ,L<≤ ,L≤< ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅同じコードをもつ 2 つの有効な組(\(q_1 < q_2\)):コード \(c\) の集合 \(S\) に無限の鳩の巣 Linf を使う。
Ltwo …
\(D , s , L \in \mathbb{M} , L \neq 0 , 2 \le D , D < ( s + 1 ) \cdot ( s + 1 ) , \forall x , y \in \mathbb{M} . ( y \neq 0 \Longrightarrow x \cdot x \neq D \cdot ( y \cdot y ) ) \Longrightarrow \exists q_{1} , p_{1} , a_{1} , b_{1} , q_{2} , p_{2} , a_{2} , b_{2} , m' , r , t \in \mathbb{M} . q_{1} < q_{2} , q_{1} \neq 0 , D \cdot ( q_{1} \cdot q_{1} ) \le p_{1} \cdot p_{1} + 2 \cdot ( s + 1 ) , p_{1} \cdot p_{1} \le D \cdot ( q_{1} \cdot q_{1} ) + 2 \cdot ( s + 1 ) , p_{1} \cdot p_{1} \neq D \cdot ( q_{1} \cdot q_{1} ) , q_{2} \neq 0 , D \cdot ( q_{2} \cdot q_{2} ) \le p_{2} \cdot p_{2} + 2 \cdot ( s + 1 ) , p_{2} \cdot p_{2} \le D \cdot ( q_{2} \cdot q_{2} ) + 2 \cdot ( s + 1 ) , p_{2} \cdot p_{2} \neq D \cdot ( q_{2} \cdot q_{2} ) , m' + D \cdot ( q_{1} \cdot q_{1} ) = p_{1} \cdot p_{1} + 2 \cdot ( s + 1 ) , m' + D \cdot ( q_{2} \cdot q_{2} ) = p_{2} \cdot p_{2} + 2 \cdot ( s + 1 ) , m' \neq 2 \cdot ( s + 1 ) , m' \le 2 \cdot ( 2 \cdot ( s + 1 ) ) , p_{1} = r + L \cdot a_{1} , p_{2} = r + L \cdot a_{2} , q_{1} = t + L \cdot b_{1} , q_{2} = t + L \cdot b_{2} , r < L , t < L\) \(\blacktriangleleft\) Lbig ,Lcls ,Lcb ,Lcode ,Linf ,ax_s ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅\\(m = m' - B\\)(\\(m' \\ne B\\)、\\(m' \\le 2B\\))は \\(B\\) 以下の絶対値をもつので、\\(L\\) は \\(m\\) の(符号つき)倍数。
Ldvz …
\(m' , B , L \in \mathbb{M} , m' \neq B , m' \le 2 \cdot B , \forall k \in \mathbb{M} . ( k \neq 0 , k \le B \Longrightarrow \exists l \in \mathbb{M} . L = k \cdot l ) \Longrightarrow \exists l \in \mathbb{Z} . L = ( m' + - B ) \cdot l\) \(\blacktriangleleft\) Ltot ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅Brahmagupta の恒等式と、同じ余りの 2 組の差の計算(整数の環の式)。
Lbr …
\(p_{1} , p_{2} , q_{1} , q_{2} , D \in \mathbb{Z} \Longrightarrow ( p_{1} \cdot p_{2} + - ( D \cdot ( q_{1} \cdot q_{2} ) ) ) \cdot ( p_{1} \cdot p_{2} + - ( D \cdot ( q_{1} \cdot q_{2} ) ) ) + - ( D \cdot ( ( p_{1} \cdot q_{2} + - ( p_{2} \cdot q_{1} ) ) \cdot ( p_{1} \cdot q_{2} + - ( p_{2} \cdot q_{1} ) ) ) ) = ( p_{1} \cdot p_{1} + - ( D \cdot ( q_{1} \cdot q_{1} ) ) ) \cdot ( p_{2} \cdot p_{2} + - ( D \cdot ( q_{2} \cdot q_{2} ) ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅同じ \\(m', r, t\\) をもつ 2 組から、\\(x' = p_1p_2 - Dq_1q_2 = mx\\)、\\(y' = p_1q_2 - p_2q_1 = my\\) と書けて(\\(m = m' - B\\)、\\(L = ml\\))、Brahmagupta の恒等式で \\(x^2 - Dy^2 = 1\\)。\\(q_1 < q_2\\) から \\(y \\ne 0\\)。
Lal1 …
\(D , L , B , m' , r , t , q_{1} , p_{1} , a_{1} , b_{1} , q_{2} , p_{2} , a_{2} , b_{2} \in \mathbb{M} , q_{1} < q_{2} , m' \neq B , m' + D \cdot ( q_{1} \cdot q_{1} ) = p_{1} \cdot p_{1} + B , m' + D \cdot ( q_{2} \cdot q_{2} ) = p_{2} \cdot p_{2} + B , p_{1} = r + L \cdot a_{1} , p_{2} = r + L \cdot a_{2} , q_{1} = t + L \cdot b_{1} , q_{2} = t + L \cdot b_{2} , l \in \mathbb{Z} , L = ( m' + - B ) \cdot l \Longrightarrow \exists x , y \in \mathbb{Z} . y \neq 0 , x \cdot x = D \cdot ( y \cdot y ) + 1\) \(\blacktriangleleft\) Lbr ,Lsqb ,ℤDom ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅整数解を自然数解に:\\(x^2, y^2\\) は符号によらない。
Labs …
\(D \in \mathbb{M} , \exists x , y \in \mathbb{Z} . y \neq 0 , x \cdot x = D \cdot ( y \cdot y ) + 1 \Longrightarrow \exists x , y \in \mathbb{M} . y \neq 0 , x \cdot x = D \cdot ( y \cdot y ) + 1\) \(\blacktriangleleft\) ℤdom ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅組のデータから整数解、自然数解へ(Ldvz・Lal1・Labs をつなぐ)。
Ls1 …
\(D , s , L , m' , r , t , q_{1} , p_{1} , a_{1} , b_{1} , q_{2} , p_{2} , a_{2} , b_{2} \in \mathbb{M} , q_{1} < q_{2} , m' \neq 2 \cdot ( s + 1 ) , m' \le 2 \cdot ( 2 \cdot ( s + 1 ) ) , m' + D \cdot ( q_{1} \cdot q_{1} ) = p_{1} \cdot p_{1} + 2 \cdot ( s + 1 ) , m' + D \cdot ( q_{2} \cdot q_{2} ) = p_{2} \cdot p_{2} + 2 \cdot ( s + 1 ) , p_{1} = r + L \cdot a_{1} , p_{2} = r + L \cdot a_{2} , q_{1} = t + L \cdot b_{1} , q_{2} = t + L \cdot b_{2} , \forall k \in \mathbb{M} . ( k \neq 0 , k \le 2 \cdot ( s + 1 ) \Longrightarrow \exists l \in \mathbb{M} . L = k \cdot l ) \Longrightarrow \exists x , y \in \mathbb{M} . y \neq 0 , x \cdot x = D \cdot ( y \cdot y ) + 1\) \(\blacktriangleleft\) Ldvz ,Lal1 ,Labs ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅まとめ:\\(D \\ge 2\\)、\\(D < (s+1)^2\\)、\\(D\\) が有理数の平方でないなら、\\(x^2 = Dy^2 + 1\\)、\\(y \\ne 0\\) の自然数解がある。
Lsolv …
\(D , s \in \mathbb{M} , 2 \le D , D < ( s + 1 ) \cdot ( s + 1 ) , \forall x , y \in \mathbb{M} . ( y \neq 0 \Longrightarrow x \cdot x \neq D \cdot ( y \cdot y ) ) \Longrightarrow \exists x , y \in \mathbb{M} . y \neq 0 , x \cdot x = D \cdot ( y \cdot y ) + 1\) \(\blacktriangleleft\) Lcm ,Ltwo ,Ls1 ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅解があれば \\(y\\) が最小の解がある(\\(y\\) についての強い帰納法):最小がなければ、どの \\(y\\) にも解がないことが帰納法で言える。
Lleast …
\(D \in \mathbb{M} , \exists x , y \in \mathbb{M} . x \cdot x = D \cdot ( y \cdot y ) + 1 , y \neq 0 \Longrightarrow \exists a , b \in \mathbb{M} . b \neq 0 , a \cdot a = D \cdot ( b \cdot b ) + 1 , \forall x , y \in \mathbb{M} . ( x \cdot x = D \cdot ( y \cdot y ) + 1 , y \neq 0 \Longrightarrow b \le y )\) \(\blacktriangleleft\) SIND ,Ltot ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅Pell の方程式の基本解の存在:\\(D \\ge 2\\) が(有理数の)平方でなければ、\\(y \\ne 0\\) で最小の \\(y\\) をもつ解 \\((a, b)\\) がある。これが §1 の主定理(基本解があれば全ての解は漸化式で得られる)の仮定。
Ppell …
\(D , s \in \mathbb{M} , 2 \le D , D < ( s + 1 ) \cdot ( s + 1 ) , \forall x , y \in \mathbb{M} . ( y \neq 0 \Longrightarrow x \cdot x \neq D \cdot ( y \cdot y ) ) \Longrightarrow \exists a , b \in \mathbb{M} . b \neq 0 , a \cdot a = D \cdot ( b \cdot b ) + 1 , \forall x , y \in \mathbb{M} . ( x \cdot x = D \cdot ( y \cdot y ) + 1 , y \neq 0 \Longrightarrow b \le y )\) \(\blacktriangleleft\) Lsolv ,Lleast ,\(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC ,ℤ+ ,ℤ⋅