It is a well known result that given two isomorphic free groups, their freely generating sets have the same cardinality, which is then called the rank of a free group.
I am well aware of the usual proof that the rank of a free group is well defined, by abelianization and (if this is not reduced far enough for you) tensoring with $\mathbb{Q}$ to obtain a vector space. However I was wondering, whether there is a more abstract way to prove this result relying solely on the free functor satisfying some categorical properties.
Taking the perspective of category theory one might be tempted to rephrase this fact as follows:
The free functor $F: \underline{Set} \rightarrow \underline{\smash{Grp}}$ creates isomorphisms, in the sense that given an isomorphism $\phi: F(G) \rightarrow F(H)$ there is a morphism $f:G \rightarrow H$ with $F(f) = \phi$ and $f$ is an isomorphism.
EDIT: I was rightfully corrected that it is wrong that any isomorphism between free groups is in the range of the free functor. Nevertheless my question about reflecting the property of being isomorphic is still open.
I think I managed to show that the free functor reflects isomorphisms, ie. if $F(f)$ is an isomorphism, so is $f$. I showed that the free functor is faithful and thus reflects monos and epis. But as monos and epis in $\underline{Set}$ and $\underline{\smash{Grp}}$ split, it also reflects isos.
Now the problem is just, whether each isomorphism between free groups is in the range of the free functor. Clearly the free functor is not full (take $\mathbb{Z} \rightarrow F_2, 1 \mapsto ab$). However I could not think of a similiar counterexample which also is an isomorphism.
So my question is: Is my reformulation correct and if so, is there a categorical proof, ie. does the free functor satisfy some categorical criterion which makes it create isomorphisms?
Thank you all for your time!
I do not think the other two posts answer my question completely, as I am asking for categorical properties which make the free functor act like he does. It might however be that there is no such property...
– Jonas Linssen Jun 07 '19 at 17:05