TheoremBase

Builds the rows of C by recursion on n in the set of maps from N0N_0 to N0N_0 and proves uniqueness by induction, then derives vanishing above the diagonal, the diagonal, the first column and the factorial formula by induction on n via Pascal's rule, and symmetry by cancelling the nonzero factor k!(n-k)!.

Proof

Each result cited below is universally quantified over the data in its own statement, and is applied to the data named where it is cited.

Throughout, ++, ⋅\cdot, ≤\le and << are those of N0\mathbb{N}_{0} as in The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §operations and The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §order, and the laws of arithmetic of The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §laws (associativity, commutativity and distributivity of ++ and ⋅\cdot, m+0=0+m=mm+0=0+m=m and m⋅1=mm\cdot1=m by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §zero and Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §plus-one) are used without further mention. The order ≤\le is a well-order, hence a total order, on N0\mathbb{N}_{0} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §order; it is reflexive, antisymmetric and transitive by Partial and Total Orders on a Set and the Associated Strict Relation §partial, its strict relation is << by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §strict, and << is transitive by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-transitive.

Preliminary facts. Let j,k,m,n∈N0j,k,m,n\in\mathbb{N}_{0}.

(P1) Either k=0k=0 or k=j+1k=j+1 for some j∈N0j\in\mathbb{N}_{0}: by Omega Is the Least Inductive Class: It Is a Set, Induction from Zero, the Peano Properties, and Transitivity §cases, the successor of jj being j+1j+1 by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §plus-one.

(P2) 1≠01\neq0, and k≥1k\ge1 if and only if k≠0k\neq0. Indeed 1∈N=N0∖{0}1\in\mathbb{N}=\mathbb{N}_{0}\setminus\{0\} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §sets, so 1≠01\neq0. If k≠0k\neq0, then k∈Nk\in\mathbb{N}, so 1≤k1\le k by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §one. If 1≤k1\le k and k=0k=0, then 1≤01\le0 and 0≤10\le1 by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §zero-least, so 1=01=0 by antisymmetry, which is false. In particular j+1≠0j+1\neq0, since j+1∈Nj+1\in\mathbb{N} by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §successors, the successor S(j)S(j) of jj being j+1j+1 by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §plus-one, and so 1≤j+11\le j+1 by Natural Numbers Are the Successors in Omega: One Is Least and Not a Successor of a Natural Number, the Successor Is Injective, and N Is Closed under Addition and Multiplication §one.

(P3) j<j+1j<j+1 by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §successor; j<nj<n if and only if j+1≤nj+1\le n by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §successor-below; and j≤nj\le n if and only if j+1≤n+1j+1\le n+1, and j<nj<n if and only if j+1<n+1j+1<n+1, by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §order and commutativity.

(P4) If n<kn<k, then k≠0k\neq0: by (P3) n+1≤kn+1\le k, and 1≤n+11\le n+1 by (P2), so 1≤k1\le k by transitivity and k≠0k\neq0 by (P2).

(P5) For m≤nm\le n, n−mn-m is the unique i∈N0i\in\mathbb{N}_{0} with m+i=nm+i=n, by The Difference of Two Natural Numbers with Zero §difference. Hence, checking in each case that the proposed value ii satisfies m+i=nm+i=n: n−0=nn-0=n, as 0+n=n0+n=n; n−n=0n-n=0, as n+0=nn+0=n; (n+1)−(m+1)=n−m(n+1)-(m+1)=n-m, as m+1≤n+1m+1\le n+1 by (P3) and (m+1)+(n−m)=(m+(n−m))+1=n+1(m+1)+(n-m)=(m+(n-m))+1=n+1; (n+1)−m=(n−m)+1(n+1)-m=(n-m)+1, as m≤n≤n+1m\le n\le n+1 by (P3) and transitivity, and m+((n−m)+1)=(m+(n−m))+1=n+1m+((n-m)+1)=(m+(n-m))+1=n+1; n−m≤nn-m\le n by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order §difference, as (n−m)+m=m+(n−m)=n(n-m)+m=m+(n-m)=n; and therefore n−(n−m)=mn-(n-m)=m, as (n−m)+m=n(n-m)+m=n.

Clause recursion, existence. The values of row n+1n+1 depend on all values of row nn, so the recursion is run on whole rows, that is in the set of maps from N0\mathbb{N}_{0} to N0\mathbb{N}_{0}. Let X=N0N0X=\mathbb{N}_{0}^{\mathbb{N}_{0}}, a set by Sets and Maps: Ordinary Notation §maps. By Maps Defined by Cases §cases, applied with A=B=N0A=B=\mathbb{N}_{0}, the property k=0k=0, t1(k)=1t_{1}(k)=1 and t2(k)=0t_{2}(k)=0, there is exactly one map e:N0→N0e:\mathbb{N}_{0}\to\mathbb{N}_{0} with e(0)=1e(0)=1 and e(k)=0e(k)=0 for every k≠0k\neq0; so e∈Xe\in X. For r∈Xr\in X, by Maps Defined by Cases §cases, applied with A=B=N0A=B=\mathbb{N}_{0}, the parameter rr, the property k=0k=0, t1(k)=1t_{1}(k)=1 and t2(k)=r(k−1)+r(k)t_{2}(k)=r(k-1)+r(k), which lies in N0\mathbb{N}_{0} for k≠0k\neq0 because then 1≤k1\le k by (P2) and the difference k−1k-1 is defined, there is exactly one map z:N0→N0z:\mathbb{N}_{0}\to\mathbb{N}_{0} with z(0)=1z(0)=1 and z(k)=r(k−1)+r(k)z(k)=r(k-1)+r(k) for every k≠0k\neq0. Let θ(z,r)\theta(z,r) be the condition: zz is a map from N0\mathbb{N}_{0} to N0\mathbb{N}_{0}, z(0)=1z(0)=1, and z(k)=r(k−1)+r(k)z(k)=r(k-1)+r(k) for every k∈N0k\in\mathbb{N}_{0} with k≠0k\neq0. In it k−1k-1 is used properly, since k≠0k\neq0 gives 1≤k1\le k by (P2). The condition quantifies over set variables only and is built from abbreviations introduced in earlier items, so it is a predicative expression in the sense of Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §defined-symbols. We write r+r^{+} for the unique set zz with θ(z,r)\theta(z,r): this is a defined set symbol with the set argument rr, and it is used properly wherever r∈Xr\in X is in force, since for every r∈Xr\in X the application of Maps Defined by Cases §cases just made shows that exactly one set zz with θ(z,r)\theta(z,r) exists. In particular r+∈Xr^{+}\in X for every r∈Xr\in X. By Sets and Maps: Ordinary Notation §maps (via Maps and Relations Given by Formulas §binary) there is exactly one map g:N0×X→Xg:\mathbb{N}_{0}\times X\to X with g(n,r)=r+g(n,r)=r^{+} for all n∈N0n\in\mathbb{N}_{0} and r∈Xr\in X. By The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §recursion, that is by The Recursion Theorem on Omega §recursion applied with the set XX, the element ee and the map gg, the successor of nn being n+1n+1, there is exactly one map F:N0→XF:\mathbb{N}_{0}\to X with F(0)=eF(0)=e and F(n+1)=g(n,F(n))=F(n)+F(n+1)=g(n,F(n))=F(n)^{+} for every n∈N0n\in\mathbb{N}_{0}.

Since F(n)∈XF(n)\in X, F(n)(k)∈N0F(n)(k)\in\mathbb{N}_{0} for all n,k∈N0n,k\in\mathbb{N}_{0}, so by Sets and Maps: Ordinary Notation §maps there is a map C:N0×N0→N0C:\mathbb{N}_{0}\times\mathbb{N}_{0}\to\mathbb{N}_{0} with C(n,k)=F(n)(k)C(n,k)=F(n)(k). It satisfies the three conditions. First, C(0,0)=e(0)=1C(0,0)=e(0)=1, and for n=m+1n=m+1 with m∈N0m\in\mathbb{N}_{0}, C(m+1,0)=F(m)+(0)=1C(m+1,0)=F(m)^{+}(0)=1; by (P1), C(n,0)=1C(n,0)=1 for every nn. Second, for k≥1k\ge1 we have k≠0k\neq0 by (P2), so C(0,k)=e(k)=0C(0,k)=e(k)=0. Third, k+1≠0k+1\neq0 by (P2) and (k+1)−1=k(k+1)-1=k by (P5), as 1+k=k+11+k=k+1; hence

C(n+1,k+1)=F(n)+(k+1)=F(n)(k)+F(n)(k+1)=C(n,k)+C(n,k+1).C(n+1,k+1)=F(n)^{+}(k+1)=F(n)(k)+F(n)(k+1)=C(n,k)+C(n,k+1).

Clause recursion, uniqueness. Let C′:N0×N0→N0C':\mathbb{N}_{0}\times\mathbb{N}_{0}\to\mathbb{N}_{0} also satisfy the three conditions, and let K={n∈N0:C′(n,k)=C(n,k) for every k∈N0}K=\{n\in\mathbb{N}_{0}:C'(n,k)=C(n,k)\text{ for every }k\in\mathbb{N}_{0}\}. We have 0∈K0\in K: C′(0,0)=1=C(0,0)C'(0,0)=1=C(0,0), and for k≠0k\neq0, k≥1k\ge1 by (P2) and C′(0,k)=0=C(0,k)C'(0,k)=0=C(0,k). Let n∈Kn\in K and k∈N0k\in\mathbb{N}_{0}. If k=0k=0, then C′(n+1,0)=1=C(n+1,0)C'(n+1,0)=1=C(n+1,0). Otherwise k=j+1k=j+1 by (P1), and C′(n+1,j+1)=C′(n,j)+C′(n,j+1)=C(n,j)+C(n,j+1)=C(n+1,j+1)C'(n+1,j+1)=C'(n,j)+C'(n,j+1)=C(n,j)+C(n,j+1)=C(n+1,j+1). So n+1∈Kn+1\in K, and K=N0K=\mathbb{N}_{0} by induction (The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §induction). Every element of N0×N0\mathbb{N}_{0}\times\mathbb{N}_{0} is a pair (n,k)(n,k) with n,k∈N0n,k\in\mathbb{N}_{0} by The Cartesian Product of Two Classes §product, and conversely every such pair is an element of N0×N0\mathbb{N}_{0}\times\mathbb{N}_{0} by Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set §membership, so C′C' and CC have the same domain and the same values, and C′=CC'=C by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality. This proves the clause recursion; from now on CC is this unique map.

Clause above. Let K={n∈N0:C(n,k)=0 for every k∈N0 with k>n}K=\{n\in\mathbb{N}_{0}:C(n,k)=0\text{ for every }k\in\mathbb{N}_{0}\text{ with }k>n\}. If k>0k>0, then k≠0k\neq0 by (P4), so k≥1k\ge1 by (P2) and C(0,k)=0C(0,k)=0; thus 0∈K0\in K. Let n∈Kn\in K and k>n+1k>n+1. Then k≠0k\neq0 by (P4), so k=j+1k=j+1 for some jj by (P1), and n<jn<j by (P3). As j<j+1j<j+1 by (P3), also n<j+1n<j+1 by transitivity of <<. Since n∈Kn\in K, C(n,j)=0C(n,j)=0 and C(n,j+1)=0C(n,j+1)=0, so C(n+1,k)=C(n,j)+C(n,j+1)=0+0=0C(n+1,k)=C(n,j)+C(n,j+1)=0+0=0. Hence n+1∈Kn+1\in K, and K=N0K=\mathbb{N}_{0} by induction.

Clause diagonal. C(0,0)=1C(0,0)=1. If C(n,n)=1C(n,n)=1, then, as n<n+1n<n+1 by (P3), the clause above gives C(n,n+1)=0C(n,n+1)=0, so C(n+1,n+1)=C(n,n)+C(n,n+1)=1+0=1C(n+1,n+1)=C(n,n)+C(n,n+1)=1+0=1. By induction, C(n,n)=1C(n,n)=1 for every nn.

Clause one. C(0,1)=0C(0,1)=0, as 1≥11\ge1 by reflexivity. If C(n,1)=nC(n,1)=n, then, as 1=0+11=0+1, C(n+1,1)=C(n,0)+C(n,1)=1+n=n+1C(n+1,1)=C(n,0)+C(n,1)=1+n=n+1. By induction, C(n,1)=nC(n,1)=n for every nn.

Clause factorial. By The Factorial: Recursion, Positivity and Bounds by Powers §recursion, 0!=10!=1 and (m+1)!=(m+1)⋅m!(m+1)!=(m+1)\cdot m! for every m∈N0m\in\mathbb{N}_{0}. Let K={n∈N0:k! (n−k)! C(n,k)=n! for every k∈N0 with k≤n}K=\{n\in\mathbb{N}_{0}:k!\,(n-k)!\,C(n,k)=n!\text{ for every }k\in\mathbb{N}_{0}\text{ with }k\le n\}.

0∈K0\in K: if k≤0k\le0, then k=0k=0 by antisymmetry, as 0≤k0\le k by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §zero-least; and 0! (0−0)! C(0,0)=1⋅0!⋅1=1=0!0!\,(0-0)!\,C(0,0)=1\cdot0!\cdot1=1=0!, using 0−0=00-0=0 from (P5).

Let n∈Kn\in K and k≤n+1k\le n+1. If k=0k=0, then by (P5) and the clause recursion, 0! ((n+1)−0)! C(n+1,0)=1⋅(n+1)!⋅1=(n+1)!0!\,((n+1)-0)!\,C(n+1,0)=1\cdot(n+1)!\cdot1=(n+1)!. If k=n+1k=n+1, then by (P5) and the clause diagonal, (n+1)! ((n+1)−(n+1))! C(n+1,n+1)=(n+1)!⋅0!⋅1=(n+1)!(n+1)!\,((n+1)-(n+1))!\,C(n+1,n+1)=(n+1)!\cdot0!\cdot1=(n+1)!. Otherwise k≠0k\neq0, so k=j+1k=j+1 for some jj by (P1); then j≤nj\le n by (P3), and j≠nj\neq n as k≠n+1k\neq n+1, so j<nj<n by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor §strict and j+1≤nj+1\le n by (P3). As n∈Kn\in K, applied to j≤nj\le n and to j+1≤nj+1\le n,

j! (n−j)! C(n,j)=n!and(j+1)! (n−(j+1))! C(n,j+1)=n!.j!\,(n-j)!\,C(n,j)=n!\qquad\text{and}\qquad(j+1)!\,(n-(j+1))!\,C(n,j+1)=n!.

Let m=n−(j+1)m=n-(j+1), so that (j+1)+m=n(j+1)+m=n by (P5). Then j+(m+1)=(j+1)+m=nj+(m+1)=(j+1)+m=n, so n−j=m+1n-j=m+1 by (P5), and (n+1)−(j+1)=n−j=m+1(n+1)-(j+1)=n-j=m+1 by (P5). Using (j+1)!=(j+1)⋅j!(j+1)!=(j+1)\cdot j! and (m+1)!=(m+1)⋅m!(m+1)!=(m+1)\cdot m!,

k! ((n+1)−k)! C(n+1,k)=(j+1)! (m+1)! (C(n,j)+C(n,j+1))=(j+1)⋅(j! (m+1)! C(n,j))+(m+1)⋅((j+1)! m! C(n,j+1))=(j+1)⋅(j! (n−j)! C(n,j))+(m+1)⋅((j+1)! (n−(j+1))! C(n,j+1))=(j+1)⋅n!+(m+1)⋅n!=((j+1)+(m+1))⋅n!=(n+1)⋅n!=(n+1)!,\begin{aligned} k!\,((n+1)-k)!\,C(n+1,k)&=(j+1)!\,(m+1)!\,\big(C(n,j)+C(n,j+1)\big)\\ &=(j+1)\cdot\big(j!\,(m+1)!\,C(n,j)\big)+(m+1)\cdot\big((j+1)!\,m!\,C(n,j+1)\big)\\ &=(j+1)\cdot\big(j!\,(n-j)!\,C(n,j)\big)+(m+1)\cdot\big((j+1)!\,(n-(j+1))!\,C(n,j+1)\big)\\ &=(j+1)\cdot n!+(m+1)\cdot n!=\big((j+1)+(m+1)\big)\cdot n!=(n+1)\cdot n!=(n+1)!, \end{aligned}

since (j+1)+(m+1)=((j+1)+m)+1=n+1(j+1)+(m+1)=((j+1)+m)+1=n+1. Hence n+1∈Kn+1\in K, and K=N0K=\mathbb{N}_{0} by induction.

Clause symmetry. Let k≤nk\le n. By (P5), n−k≤nn-k\le n and n−(n−k)=kn-(n-k)=k. The clause factorial, applied to kk and to n−kn-k, gives

k! (n−k)! C(n,k)=n!=(n−k)! k! C(n,n−k)=k! (n−k)! C(n,n−k).k!\,(n-k)!\,C(n,k)=n!=(n-k)!\,k!\,C(n,n-k)=k!\,(n-k)!\,C(n,n-k).

By The Factorial: Recursion, Positivity and Bounds by Powers §positive, 1≤k!1\le k! and 1≤(n−k)!1\le(n-k)!, so k!≠0k!\neq0 and (n−k)!≠0(n-k)!\neq0 by (P2), and k! (n−k)!≠0k!\,(n-k)!\neq0 by Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order §no-zero-divisors. Hence C(n,k)=C(n,n−k)C(n,k)=C(n,n-k) by Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order §cancellation.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…