Proposition. Counting isomorphisms between finite sets [00KT]

For all finite sets A and B, we have:

\mathord {\#}{\mathrm {Iso}{\mathopen {}\left (A,B\right )\mathclose {}}} = \begin {cases} 0 &\text {if } \mathord {\#}{A}\not =\mathord {\#}{B}\\ n!&\text {if } \mathord {\#}{A}=\mathord {\#}{B}=n \end {cases}