I'm reading Lawvere's Sets for Mathematics and got stuck at Exercise 1.15
In the category of abstract sets S, any set A with at least one element $1 \xrightarrow{x} A$ is a separator.
I can see that with the axiom that "the terminal object $1$ is a separator" and the following diagram, I ought to deduce the statement, but I cannot seem to write it down formally:
)
Any hint please?
Let $X$ be any non-empty set. If $f,g:A\to B$ are two functions with $f\neq g$, then $f(a)\neq g(a)$ for some $a\in A$. Now choose an element $x\in X$ and define a function $h:X\to A$ such that $h(x)=a$. Then $fh\neq gh$.