We will prove that every function $f:A\rightarrow \emptyset$ is a bijection. Observe that there are 2 cases: either $A\neq \emptyset$ or $A=\emptyset$.
Case 1: We will show that if $A\neq \emptyset$ then there does not exist a function $f:A\rightarrow \emptyset $, and so all 0 of these functions are vacuously bijections.
By way of contradiction, assume that $A\neq \emptyset$ and $\exists f:A\rightarrow \emptyset $. Since $A$ is not empty, $\exists a\in A$, and since the codomain is the empty set, we have that $f(a) \in \emptyset $. Since the empty set has no elements, this is a contradiction. Therefore the claim is proved. $\square$
If you want to use the more rigorous definition of a function, you could write this proof as follows:
Suppose by way of contradiction that $A\neq\emptyset$
, and $f:A\rightarrow\emptyset$
. Recall that a function $f:A\rightarrow B$
is a relation and is thus a subset of the cartesian product $A\times B=\{(a,b):a\in A\land b\in B\}$
. Since $B=\emptyset$
, $\exists b\in B$
is false. However, by the definition of a function, $\forall a\in A,\exists b\in B(a,b)\in f$
, which is a contradiction, since $\neg\exists b\in B$
. Thus the claim is proved. $\square$
Thus, by either proof, we can see there are no functions $f:A\rightarrow \emptyset $ for $A\neq \emptyset$. Thus we have (vacuously) that all ($0$) of these functions are bijections, and unicorns, and superheroes, etc.
Case 2: Let $A = \emptyset$ and $f:A\rightarrow \emptyset$. We will show that $f=\emptyset$
is a bijection from $\emptyset\rightarrow\emptyset$
To prove this claim, we need to use the rigorous definition of a function $f:A\rightarrow B$ as a type of relation, ie a subset of the Cartesian product $A\times B$, in which the following are true
1) $\forall a\in A,\exists b\in B((a,b)\in f)$
2) [$(a,b)\in f$ and $(a,b')\in f] \implies b=b'$
Since there are no $a\in A=\emptyset$
, the first condition is vacuously true. Likewise, since $f=\emptyset$
, the antecdent/hypothesis $(a,b)\in f$
and $(a,b')\in f$
is false, and therefore the second condition is vacuously true, and thus $f=\emptyset$
is a function.
Since there are no elements in either the domain or the codomain, we get bijectivity vacuously as the OP correctly noted. $\square$