TheoremBase

Sketch: induction on the number of entries, counting by the fibres of the sum of all entries but the last, with the hockey-stick identity; positive tuples are nonnegative ones shifted by 1.

Proof

For p∈Np\in\mathbb{N} and s∈N0s\in\mathbb{N}_{0} let

Np(s)={x∈N0p:x1+β‹―+xp=s},N_{p}(s)=\{x\in\mathbb{N}_{0}^{p}:x_{1}+\dots+x_{p}=s\},

where x1+β‹―+xp=βˆ‘i=1pxix_{1}+\dots+x_{p}=\sum_{i=1}^{p}x_{i} is formed in N0\mathbb{N}_{0}. Throughout, for t∈N0pt\in\mathbb{N}_{0}^{p} and y∈N0y\in\mathbb{N}_{0}, (t1,…,tp,y)(t_{1},\dots,t_{p},y) is the tuple of Finite Sets: Removing an Element, Injective Self-Maps, Infinite Sets, Sets of Permutations, Pairs and Extended Tuples (vi), so that (t,y)↦(t1,…,tp,y)(t,y)\mapsto(t_{1},\dots,t_{p},y) is a bijection from N0pΓ—N0\mathbb{N}_{0}^{p}\times\mathbb{N}_{0} onto N0p+1\mathbb{N}_{0}^{p+1}; and by Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (vii) the entries of this tuple add up to

t1+β‹―+tp+y=(t1+β‹―+tp)+y.t_{1}+\dots+t_{p}+y=(t_{1}+\dots+t_{p})+y.

Step 1 (the claim for (i)). We show by induction on q∈N0q\in\mathbb{N}_{0} (The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (viii)) that for every s∈N0s\in\mathbb{N}_{0} the set Nq+1(s)N_{q+1}(s) is finite and

#Nq+1(s)=(s+qq).\#N_{q+1}(s)=\binom{s+q}{q}.

The case q=kq=k, s=ns=n is (i).

Step 2 (one entry). Let q=0q=0 and s∈N0s\in\mathbb{N}_{0}. Since [1]={1}[1]=\{1\}, the entries of x∈N01x\in\mathbb{N}_{0}^{1} add up to x1x_{1} (Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (i)), so N1(s)N_{1}(s) consists of the 11-tuples with x1=sx_{1}=s. There is exactly one such tuple, the map on [1][1] with value ss (Maps Formed Pointwise: Constant Maps, Pairs of Values, Maps Applied to Values, and Families of Maps (i)). So N1(s)N_{1}(s) is a singleton, finite with one element (Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice (iii), Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (ii)), and

(s+00)=(s0)=1\binom{s+0}{0}=\binom{s}{0}=1

by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (i) and Binomial Coefficients: Existence and Uniqueness by Pascal's Recursion, Vanishing above the Diagonal, Diagonal and First Values, the Factorial Formula and Symmetry (i).

Step 3 (sorting by the sum of all entries but the last). Assume the claim for qq, and let s∈N0s\in\mathbb{N}_{0}. For r∈{0,…,s}r\in\{0,\dots,s\} let

Cr={(t1,…,tq+1,sβˆ’r):t∈Nq+1(r)}.C_{r}=\{(t_{1},\dots,t_{q+1},s-r):t\in N_{q+1}(r)\}.

The map t↦(t1,…,tq+1,sβˆ’r)t\mapsto(t_{1},\dots,t_{q+1},s-r) is injective, being a restriction of the bijection above, so it is a bijection from Nq+1(r)N_{q+1}(r) onto CrC_{r}. By Counting through Bijections, Injections and Surjections (i) and the induction hypothesis, CrC_{r} is finite and

#Cr=#Nq+1(r)=(r+qq).\#C_{r}=\#N_{q+1}(r)=\binom{r+q}{q}.

Step 4 (the sets CrC_{r} partition Nq+2(s)N_{q+2}(s)). Let x∈Nq+2(s)x\in N_{q+2}(s), and write x=(t1,…,tq+1,y)x=(t_{1},\dots,t_{q+1},y) with t∈N0q+1t\in\mathbb{N}_{0}^{q+1} and y∈N0y\in\mathbb{N}_{0}. Put r=t1+β‹―+tq+1r=t_{1}+\dots+t_{q+1}. Then r+y=sr+y=s, so r≀sr\le s by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (vii) and y=sβˆ’ry=s-r by The Difference of Two Natural Numbers with Zero (i); thus t∈Nq+1(r)t\in N_{q+1}(r) and x∈Crx\in C_{r} with r∈{0,…,s}r\in\{0,\dots,s\}. Conversely, for r≀sr\le s and t∈Nq+1(r)t\in N_{q+1}(r) the entries of (t1,…,tq+1,sβˆ’r)(t_{1},\dots,t_{q+1},s-r) add up to r+(sβˆ’r)=sr+(s-r)=s, again by The Difference of Two Natural Numbers with Zero (i), so CrβŠ†Nq+2(s)C_{r}\subseteq N_{q+2}(s). Finally, if x∈Cr∩Crβ€²x\in C_{r}\cap C_{r'}, then x=(t1,…,tq+1,sβˆ’r)=(t1β€²,…,tq+1β€²,sβˆ’rβ€²)x=(t_{1},\dots,t_{q+1},s-r)=(t'_{1},\dots,t'_{q+1},s-r') with t∈Nq+1(r)t\in N_{q+1}(r) and tβ€²βˆˆNq+1(rβ€²)t'\in N_{q+1}(r'); injectivity of the bijection above gives t=tβ€²t=t', and hence r=t1+β‹―+tq+1=rβ€²r=t_{1}+\dots+t_{q+1}=r'. So

Nq+2(s)=⋃r=0sCr,N_{q+2}(s)=\bigcup_{r=0}^{s}C_{r},

a union of pairwise disjoint sets.

Step 5 (counting). The index set {0,…,s}\{0,\dots,s\} is finite (Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice (vii)). By The Number of Elements of a Disjoint Finite Union (i), Step 3 and Binomial Identities (vi), Nq+2(s)N_{q+2}(s) is finite and

#Nq+2(s)=βˆ‘r=0s(r+qq)=(s+q+1q+1)=(s+(q+1)q+1),\#N_{q+2}(s)=\sum_{r=0}^{s}\binom{r+q}{q}=\binom{s+q+1}{q+1}=\binom{s+(q+1)}{q+1},

the last step by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (iii). This is the claim for q+1q+1, which completes the induction and proves (i).

Step 6 (adding one to every entry). Let PP be the set in (ii). Counting [k+1][k+1] as the disjoint union of its singletons (The Number of Elements of a Disjoint Finite Union (i), Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (i)), βˆ‘i=1k+11=#[k+1]=k+1\sum_{i=1}^{k+1}1=\#[k+1]=k+1. For y∈N0k+1y\in\mathbb{N}_{0}^{k+1} let y+1=(y1+1,…,yk+1+1)y+\mathbf{1}=(y_{1}+1,\dots,y_{k+1}+1); its entries lie in N\mathbb{N}, since yi+1β‰ 0y_{i}+1\neq0 by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (viii) as 1β‰ 01\neq0 (The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (ii)). By Iterated Operations over Finite Sets: Singletons, Disjoint Unions, Reindexing, Products of Sets, Termwise Combination, Homomorphisms and Intervals (v),

βˆ‘i=1k+1(yi+1)=βˆ‘i=1k+1yi+βˆ‘i=1k+11=βˆ‘i=1k+1yi+(k+1).\sum_{i=1}^{k+1}(y_{i}+1)=\sum_{i=1}^{k+1}y_{i}+\sum_{i=1}^{k+1}1=\sum_{i=1}^{k+1}y_{i}+(k+1).

So for y∈Nk+1(n)y\in N_{k+1}(n) the entries of y+1y+\mathbf{1} add up to n+(k+1)=n+k+1n+(k+1)=n+k+1 (Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (iii)), and y↦y+1y\mapsto y+\mathbf{1} maps Nk+1(n)N_{k+1}(n) into PP.

Step 7 (the map is a bijection). It is injective: if yi+1=yiβ€²+1y_{i}+1=y'_{i}+1 for every ii, then yi=yiβ€²y_{i}=y'_{i} by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (v) and Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (iv). It is onto PP: let x∈Px\in P. Each xix_{i} lies in N\mathbb{N}, so 1≀xi1\le x_{i} (The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion (v)), and yi=xiβˆ’1∈N0y_{i}=x_{i}-1\in\mathbb{N}_{0} satisfies yi+1=xiy_{i}+1=x_{i} (The Difference of Two Natural Numbers with Zero (i)). Then y=(y1,…,yk+1)y=(y_{1},\dots,y_{k+1}) satisfies y+1=xy+\mathbf{1}=x, and by Step 6

βˆ‘i=1k+1yi+(k+1)=βˆ‘i=1k+1xi=n+(k+1),\sum_{i=1}^{k+1}y_{i}+(k+1)=\sum_{i=1}^{k+1}x_{i}=n+(k+1),

so βˆ‘i=1k+1yi=n\sum_{i=1}^{k+1}y_{i}=n by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (v) and Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (iv), that is, y∈Nk+1(n)y\in N_{k+1}(n).

Step 8 ((ii)). By Step 7, Counting through Bijections, Injections and Surjections (i) and (i), PP is finite and

#P=#Nk+1(n)=(n+kk).\#P=\#N_{k+1}(n)=\binom{n+k}{k}.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…