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

ページ 3 / 5 … 1 2 3 4 5 … ← 前のページ … 次のページ →


3 Sums of sequences

3.1 Preparation

word(ss,s)F … \(\mathsf{pr}\)
abbr … \(\langle X , Y \rangle\) ≈ \(\mathsf{pr} ( X , Y )\)
word((s,s)s,s) … \(|\)
Rest. … \(F | _ X = \{ \langle x , F ( x ) \rangle \mid x \in X \}\)
word(ss,p) … \(\le\)
≤. … \(m , n \in \mathbb{Z} \Longrightarrow ( m \le n \Longleftrightarrow - m + n \in \mathbb{M} )\)
word(ss,s) … \(\mathinner{\ldotp\ldotp}\)
... … \(m \mathinner{\ldotp\ldotp} n = \{ i \in \mathbb{Z} \mid m \le i \le n \}\)

3.2 Sums of sequences

word(s,s) … \(\sum\)
abbr … \(\sum_{ x \in X } T\) ≈ \(\sum ( \lceil x \mapsto T \rfloor | _ { X } )\)
schema AxΣ(?f;i) := \(\begin{cases} m \in \mathbb{Z} \Longrightarrow \sum_{ i \in m \mathinner{\ldotp\ldotp} m } {f} ( i ) = {f} ( m ) \\ m , n \in \mathbb{Z} , m \le n \Longrightarrow \sum_{ i \in m \mathinner{\ldotp\ldotp} ( n + 1 ) } {f} ( i ) = \sum_{ i \in m \mathinner{\ldotp\ldotp} n } {f} ( i ) + {f} ( n + 1 ) \end{cases}\)
T∑∈1 … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall i \in \mathbb{M} ^{\times} . {f} ( i ) \in V \Longrightarrow \forall n \in \mathbb{M} ^{\times} . \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {f} ( i ) \in V\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
For terms \(g(k, i)\) with an index, the recurrence for the sum \(\sum_{i=0}^{n} g(k, i)\) starting at 0 (the range of values of \(g\) is arbitrary). It also applies to terms such as \(n - i\) that are natural numbers only when \(i \le n\).

3.3 #68a Sum of an arithmetic progression (induction)

From \(\sum_{i=1}^{n+1} (a + i d) = \sum_{i=1}^{n} (a + i d) + (a + (n+1)d)\)
G68 … \(( X , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , a , d \in X \Longrightarrow \forall n \in \mathbb{M} ^{\times} . 2 \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } ( a + i \cdot d ) = n \cdot ( 2 \cdot a + ( n + 1 ) \cdot d )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ

3.4 Lemmas on sums (with range)

Lemmas on sums starting at \(1\), used in the alternative proof. A term \(f(k, i)\) can be said to be an element of \(X\) only when \(1 \le i \le k\), so the assumptions are restricted to the range \(i \le k\) (the termwise sum is an element, termwise equality, sum of sums, splitting off the first term; the sum of a constant does not depend on the range).
A sum over a range is an element of \(V\): if \(n \le K\), then \(\sum_{i=1}^{n} f(i) \in V\).
T∑∈K … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall i \in \mathbb{M} ^{\times} . ( i \le K \Longrightarrow {f} ( i ) \in V ) , \forall n \in \mathbb{M} ^{\times} . {S} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {f} ( i ) , K \in \mathbb{M} ^{\times} \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \le K \Longrightarrow {S} ( n ) \in V )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
If the terms are equal termwise, the sums are equal.
T∑=K … \(\forall i \in \mathbb{M} ^{\times} . ( i \le K \Longrightarrow {f} ( i ) = {g} ( i ) ) , \forall n \in \mathbb{M} ^{\times} . {S} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {f} ( i ) , \forall n \in \mathbb{M} ^{\times} . {T} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {g} ( i ) , K \in \mathbb{M} ^{\times} \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \le K \Longrightarrow {S} ( n ) = {T} ( n ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
The sum of termwise sums is the sum of sums.
T∑+K … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall i \in \mathbb{M} ^{\times} . ( i \le K \Longrightarrow {u} ( i ) \in V ) , \forall i \in \mathbb{M} ^{\times} . ( i \le K \Longrightarrow {w} ( i ) \in V ) , \forall n \in \mathbb{M} ^{\times} . {P} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {u} ( i ) , \forall n \in \mathbb{M} ^{\times} . {Q} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {w} ( i ) , \forall n \in \mathbb{M} ^{\times} . {R} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } ( {u} ( i ) + {w} ( i ) ) , K \in \mathbb{M} ^{\times} \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \le K \Longrightarrow {R} ( n ) = {P} ( n ) + {Q} ( n ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
Splitting off the first term: if \(m + 1 \le K\), then \(\sum_{i=1}^{m+1} g(i) = g(1) + \sum_{i=1}^{m} g(i+1)\).
T∑hK … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall i \in \mathbb{M} ^{\times} . ( i \le K \Longrightarrow {g} ( i ) \in V ) , \forall n \in \mathbb{M} ^{\times} . {P} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {g} ( i ) , \forall n \in \mathbb{M} ^{\times} . {Q} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {g} ( i + 1 ) , K \in \mathbb{M} ^{\times} \Longrightarrow \forall m \in \mathbb{M} ^{\times} . ( m + 1 \le K \Longrightarrow {P} ( m + 1 ) = {g} ( 1 ) + {Q} ( m ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
Adding a constant \(c\) \(n\) times gives \(n c\).
T∑c1 … \(\forall i \in \mathbb{M} ^{\times} . {f} ( i ) = c , \forall n \in \mathbb{M} ^{\times} . {S} ( n ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } {f} ( i ) \Longrightarrow \forall n \in \mathbb{M} ^{\times} . {S} ( n ) = n \cdot c\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
T∑c … \(\forall n \in \mathbb{M} ^{\times} . \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } c = n \cdot c\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
Induction (for equations): from \(G(1) = H(1)\) and \(G(n) = H(n) \Rightarrow G(n+1) = H(n+1)\), we get, for all \(n \ge 1\), \(G(n) = H(n)\).
T∑ind … \({G} ( 1 ) = {H} ( 1 ) , \forall n \in \mathbb{M} ^{\times} . ( {G} ( n ) = {H} ( n ) \Longrightarrow {G} ( n + 1 ) = {H} ( n + 1 ) ) \Longrightarrow \forall n \in \mathbb{M} ^{\times} . {G} ( n ) = {H} ( n )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,\(0 \in \mathbb{M}\) ,𝕄0 ,INDC
Two-index version: the terms have the form \(f(k, i)\), and the range is \(i \le k\). With \(k\) fixed, apply the lemma above to the sequence \(f(k, \cdot)\).
T∑∈k … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall k , i \in \mathbb{M} ^{\times} . ( i \le k \Longrightarrow \mathbin{f} ( k , i ) \in V ) , k \in \mathbb{M} ^{\times} \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \le k \Longrightarrow \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } \mathbin{f} ( k , i ) \in V )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
T∑=k … \(\forall k , i \in \mathbb{M} ^{\times} . ( i \le k \Longrightarrow \mathbin{f} ( k , i ) = \mathbin{g} ( k , i ) ) , k \in \mathbb{M} ^{\times} \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \le k \Longrightarrow \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } \mathbin{f} ( k , i ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } \mathbin{g} ( k , i ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
T∑+k … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall k , i \in \mathbb{M} ^{\times} . ( i \le k \Longrightarrow \mathbin{u} ( k , i ) \in V ) , \forall k , i \in \mathbb{M} ^{\times} . ( i \le k \Longrightarrow \mathbin{w} ( k , i ) \in V ) , k \in \mathbb{M} ^{\times} \Longrightarrow \forall n \in \mathbb{M} ^{\times} . ( n \le k \Longrightarrow \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } ( \mathbin{u} ( k , i ) + \mathbin{w} ( k , i ) ) = \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } \mathbin{u} ( k , i ) + \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } \mathbin{w} ( k , i ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ
T∑hk … \(( V , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , \forall k , i \in \mathbb{M} ^{\times} . ( i \le k \Longrightarrow \mathbin{g} ( k , i ) \in V ) , k \in \mathbb{M} ^{\times} \Longrightarrow \forall m \in \mathbb{M} ^{\times} . ( m + 1 \le k + 1 \Longrightarrow \sum_{ i \in 1 \mathinner{\ldotp\ldotp} ( m + 1 ) } \mathbin{g} ( k + 1 , i ) = \mathbin{g} ( k + 1 , 1 ) + \sum_{ i \in 1 \mathinner{\ldotp\ldotp} m } \mathbin{g} ( k + 1 , i + 1 ) )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ

3.5 #68b Sum of an arithmetic progression (using the reversed sum: Gauss) forget

The sum \(S(n) = \sum_{i=1}^{n} (a + i d)\) written in reverse order, \(R(n) = \sum_{i=1}^{n} (a + (n + 1 - i) d)\), also equals \(S(n)\). Pairing terms gives pairs \((a + i d) + (a + (n + 1 - i) d) = 2a + (n + 1) d\), \(n\) of them, so \(2 S(n) = S(n) + R(n) = n (2a + (n + 1) d)\). A reversed-order term can be said to be an element of \(X\) only when \(1 \le i \le n\), so the lemmas on sums are range-restricted.
\(( X , [+] ) :\underline{2}\mathsf{C}\mathsf{A} , a , d \in X , n \in \mathbb{M} ^{\times} \Longrightarrow 2 \cdot \sum_{ i \in 1 \mathinner{\ldotp\ldotp} n } ( a + i \cdot d ) = n \cdot ( 2 \cdot a + ( n + 1 ) \cdot d )\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,AxΣ

ページ 3 / 5 … ← 前のページ … 次のページ →