The question is about the example (from here):
Example 5.1.31 In Categories of algebras such as $\mathbf{Grp}$, $\mathbf{Vect}_k$, $\mathbf{Ring}$, etc., it is also true that the monic maps are exactly the injections. Again, it is easy to show that the injections are monic. For the converse, take $A = F(1)$, where $F$ is the free functor (Examples 2.1.3).
It appears to me from the proof of the fact that injections are monic that this fact is true for any category whose objects are sets (possibly with some additional structure). [If objects are sets (possibly with some structure) then the notion of injective morphism makes sense (the definition is the same as in $\mathbf {Set}$, as far as I understand.] Is that indeed the case? I would prefer avoiding notions like "concrete category" since I'm not very familiar with them.
First, as far as I understand, one can avoid the use of the term "free functor" by saying instead "take $A$ to be the free group/vector space/ring on a 1-element set". So I won't use the free functor terminology.
I think that the reason one should take $A$ to be the free group/vector space/ring on the one element set is that any homomrophism in the respective category $A\to G$ to any object $G$ of that category is uniquely determined by the image of the 'generating element' (which corresponds to the element of the singleton we started with).
In the free group, vector space, ring on 1-element set are, respectively, the cyclic group (is it true?), the 1-dimensional vector space, and the ring of polynomials over integers in one variable. And the homomorphisms out of these things are determined, respectively, by the image of the generator of the cyclic group, any element of the vector space, and the variable.
But what would go wrong if we took $A$ to be, for example, the group $\langle a,b\rangle$ instead of the free group on the one-element set? What is wrong with the following proof of the fact that monic $\implies $injective?
Suppose $\alpha: G\to H$ is monic. So for any hroup homomorphisms $f,g: A\to G$, $\alpha f=\alpha g$ implies $f=g$. Assume that $\alpha(x_1)=\alpha(x_2). $ Need to prove that $x_1=x_2$. Take $A=\langle a,b\rangle$ and $$f:A\to G \\a\mapsto x_1\\ b\mapsto \text{anything}$$ and $$g:A\to G\\a\to x_2\\b\mapsto\text{anything}$$ Since we have $$\alpha(f(x))=\alpha(g(x))\implies f(x)=g(x)$$ forall $x$, letting $x=a$ we get $x_1=x_2$.
- Is the reason why [ monic $\implies $ injective ] true in categories of algebras (but not in other categories whose objects are sets (possibly with some structure) - let's call their objects qwertis) that for the latter categories there is no notion of "free qwerty on a set"? What are some examples (without proof)? For example, I cannot recall hearing about "free topological space". Is there such a notion? Does the implication referred to above hold in $\mathbf {Top}$?