TheoremBase

Sketch: induction over the domain, counting the extensions of a map to one new point by fibres; bijections are the injections between sets of equal size.

Proof

Throughout, sets of maps between finite sets, their subsets and products of finite sets are 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 (ix), 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 (iv), 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 (v)), and so is Cβˆͺ{x}C\cup\{x\} for a finite set CC (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)); the properties proved by induction over finite sets are predicative, finiteness and #\# being expressed by Induction over Finite Sets, and Predicative Formulas for the Segments [n] and for Finiteness (ii) and The Maps i ↦ #C(i) and S ↦ #S (iii); and sums and products in N0\mathbb{N}_{0} are rearranged and cancelled by Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (iv), Arithmetic of Addition on Omega: Recursion Rules, Associativity, Commutativity, Cancellation and Compatibility with the Order (v) and Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order (vi). If CC is finite and xβˆ‰Cx\notin C, then (Cβˆͺ{x})βˆ–{x}=C(C\cup\{x\})\setminus\{x\}=C, so

#(Cβˆͺ{x})=#C+1\#(C\cup\{x\})=\#C+1

by Finite Sets: Removing an Element, Injective Self-Maps, Infinite Sets, Sets of Permutations, Pairs and Extended Tuples (i). Both counting steps below use induction over finite sets (Induction over Finite Sets, and Predicative Formulas for the Segments [n] and for Finiteness (iii)), the counts of the empty set and of a singleton, #βˆ…=0\#\emptyset=0 and #{u}=1\#\{u\}=1 (Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (ii)), and the fact that the only map from βˆ…\emptyset to a set BB is the empty map, which is injective: a map from βˆ…\emptyset is a subset of βˆ…Γ—B=βˆ…\emptyset\times B=\emptyset.

Step 1: all maps ((i)). Fix BB with #B=n\#B=n; we show #(BC)=n#C\#(B^{C})=n^{\#C} for every finite set CC by induction over CC.

Base. Bβˆ…={βˆ…}B^{\emptyset}=\{\emptyset\} has one element, and n0=1n^{0}=1 (Powers of Natural Numbers with Zero (ii)); this includes n=0n=0, where 00=10^{0}=1.

Induction step. Let CC be finite with #(BC)=nj\#(B^{C})=n^{j}, where j=#Cj=\#C, and let xβˆ‰Cx\notin C; put Cβ€²=Cβˆͺ{x}C'=C\cup\{x\}, so #Cβ€²=j+1\#C'=j+1. The map φ↦(Ο†βˆ£C,Ο†(x))\varphi\mapsto(\varphi|_{C},\varphi(x)) is a bijection from BCβ€²B^{C'} onto BCΓ—BB^{C}\times B (Maps on a Set Enlarged by One Point (i)), so by Counting through Bijections, Injections and Surjections (i), Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (vi), the induction hypothesis and Powers of Natural Numbers with Zero (ii),

#(BCβ€²)=#(BCΓ—B)=#(BC)β‹…n=njβ‹…n=nj+1.\#(B^{C'})=\#(B^{C}\times B)=\#(B^{C})\cdot n=n^{j}\cdot n=n^{j+1}.

Taking C=AC=A gives #(BA)=nk\#(B^{A})=n^{k}.

Step 2: injections ((ii)). We show, by induction over the finite set CC, that #Inj⁑(C,D)=(#D)#C\#\operatorname{Inj}(C,D)=(\#D)_{\#C} for every finite set DD; the falling factorials are the values (m)i=F(m,i)(m)_{i}=F(m,i) of the map FF of Existence and Uniqueness of the Falling Factorials (i) (The Falling Factorial (i)).

Base. Inj⁑(βˆ…,D)={βˆ…}\operatorname{Inj}(\emptyset,D)=\{\emptyset\} has one element, and (#D)0=F(#D,0)=1(\#D)_{0}=F(\#D,0)=1 (Existence and Uniqueness of the Falling Factorials (i)).

Induction step. Let CC be finite with j=#Cj=\#C, such that #Inj⁑(C,D)=(#D)j\#\operatorname{Inj}(C,D)=(\#D)_{j} for every finite set DD; let xβˆ‰Cx\notin C and Cβ€²=Cβˆͺ{x}C'=C\cup\{x\}, so #Cβ€²=j+1\#C'=j+1. Let DD be a finite set.

Case D=βˆ…D=\emptyset. There is no map Cβ€²β†’βˆ…C'\to\emptyset, since it would have a value at xx; so Inj⁑(Cβ€²,βˆ…)=βˆ…\operatorname{Inj}(C',\emptyset)=\emptyset has 00 elements, and (0)j+1=F(0,j+1)=0(0)_{j+1}=F(0,j+1)=0 (Existence and Uniqueness of the Falling Factorials (i)).

Case Dβ‰ βˆ…D\neq\emptyset. Choose d0∈Dd_{0}\in D and put nβ€²=#(Dβˆ–{d0})n'=\#(D\setminus\{d_{0}\}), so that #D=nβ€²+1\#D=n'+1 (Finite Sets: Removing an Element, Injective Self-Maps, Infinite Sets, Sets of Permutations, Pairs and Extended Tuples (i)). For every b∈Db\in D the same clause gives #(Dβˆ–{b})+1=#D=nβ€²+1\#(D\setminus\{b\})+1=\#D=n'+1, hence #(Dβˆ–{b})=nβ€²\#(D\setminus\{b\})=n', which does not depend on bb. Let e:Inj⁑(Cβ€²,D)β†’De:\operatorname{Inj}(C',D)\to D be evaluation at xx, e(Ο†)=Ο†(x)e(\varphi)=\varphi(x), and fix b∈Db\in D. Restriction to CC is a bijection from the fibre eβˆ’1{b}={Ο†βˆˆInj⁑(Cβ€²,D):Ο†(x)=b}e^{-1}\{b\}=\{\varphi\in\operatorname{Inj}(C',D):\varphi(x)=b\} onto Inj⁑(C,Dβˆ–{b})\operatorname{Inj}(C,D\setminus\{b\}) (Maps on a Set Enlarged by One Point (ii)). By the induction hypothesis, applied to the finite set Dβˆ–{b}D\setminus\{b\}, every fibre of ee therefore has #Inj⁑(C,Dβˆ–{b})=(nβ€²)j\#\operatorname{Inj}(C,D\setminus\{b\})=(n')_{j} elements (Counting through Bijections, Injections and Surjections (i)). By Counting by Fibres, Double Counting and the Pigeonhole Principle (iv) and the recursion F(nβ€²+1,j+1)=(nβ€²+1) F(nβ€²,j)F(n'+1,j+1)=(n'+1)\,F(n',j),

#Inj⁑(Cβ€²,D)=(nβ€²)jβ‹…#D=(nβ€²+1) (nβ€²)j=(nβ€²+1)j+1=(#D)j+1.\#\operatorname{Inj}(C',D)=(n')_{j}\cdot\#D=(n'+1)\,(n')_{j}=(n'+1)_{j+1}=(\#D)_{j+1}.

Taking C=AC=A and D=BD=B gives #Inj⁑(A,B)=(n)k\#\operatorname{Inj}(A,B)=(n)_{k}.

Step 3: bijections ((iii)). If there is a bijection Ο†:Aβ†’B\varphi:A\to B, then #B=#A\#B=\#A (Counting through Bijections, Injections and Surjections (i)); so Bij⁑(A,B)=βˆ…\operatorname{Bij}(A,B)=\emptyset when kβ‰ nk\neq n. Let now k=nk=n. Every bijection is injective (Injective, Surjective and Bijective Functions between Classes (iii)), so Bij⁑(A,B)βŠ†Inj⁑(A,B)\operatorname{Bij}(A,B)\subseteq\operatorname{Inj}(A,B) (The Sets of Injections, Surjections and Bijections between Two Sets (iii), The Sets of Injections, Surjections and Bijections between Two Sets (i)). Conversely, let Ο†:Aβ†’B\varphi:A\to B be injective. Its image Ο†(A)βŠ†B\varphi(A)\subseteq B has #Ο†(A)=#A=n=#B\#\varphi(A)=\#A=n=\#B elements (Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (iii)), so Ο†(A)=B\varphi(A)=B (Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (iv)). Thus every element of BB is a value of Ο†\varphi, that is, Ο†\varphi is surjective (Injective, Surjective and Bijective Functions between Classes (ii)), and hence bijective. So Bij⁑(A,B)=Inj⁑(A,B)\operatorname{Bij}(A,B)=\operatorname{Inj}(A,B), and by Step 2 and Properties of the Falling Factorial (i),

#Bij⁑(A,B)=(n)n=n!.\#\operatorname{Bij}(A,B)=(n)_{n}=n!.

Step 4: permutations ((iv)). A set lies in SnS_{n} exactly when it is a bijection [n]β†’[n][n]\to[n] (Permutations of a Set and the Set of Permutations of [n] (iii)), that is, exactly when it lies in Bij⁑([n],[n])\operatorname{Bij}([n],[n]) (The Sets of Injections, Surjections and Bijections between Two Sets (iii)); so Sn=Bij⁑([n],[n])S_{n}=\operatorname{Bij}([n],[n]). Since #[n]=n\#[n]=n (Counting: Intervals, Empty Sets and Singletons, Injective Images, Subsets, Unions and Products (i)), (iii) with A=B=[n]A=B=[n] gives #Sn=n!\#S_{n}=n!.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…