On page 2 of Dummit & Foote's Abstract Algebra (3rd ed.), Proposition 1/(4) states:
(Let $f:A \to B$.) If $A$ and $B$ are finite sets with the same number of elements (i.e., $\lvert A \rvert = \lvert B \rvert$), then $f:A \to B$ is bijective if and only if $f$ is injective if and only if $f$ is surjective.
Firstly, may I confirm that empty set is treated as finite set?
If so, let $A = B = \emptyset$, then we have $\lvert A \rvert = \lvert B \rvert = 0$.
Secondly, may I ask if we could talk about function from empty set to empty set?
If so, to me the definition of such function goes like "for each $x\in A$, there exists a unique $b\in B$ being assigned with x". And this should be vacuously true. So the function is well-defined.
Now, the statement "for each $a,b\in A$, if $a\neq b$, then $f(a)\neq f(b)$" is vacuously true, so the function is injective. Meanwhile, the statement "for each $b\in B$, there exists $a\in A$ such that $f(a)=b$" is vacuously true, so the function is surjective and thus bijective.
Finally, may I ask if this completes the proof for the $\emptyset$ case of Proposition 1/(4)?