Suppose we have three objects $X,Y,Z$, and a morphism $m:X\to Y$.
Moreover, this morphism has the following property: For any morphism $f:Z\to Y$, there exists a morphism $f_X:Z\to X$, such that $m\circ f_X=f$.
Intuitively, this seems to me to capture the notion that “any information we need to pick an element of $X$, there is enough information in Y to do so” Essentially, it seems to me that this generalizes the idea of a surjective function, but this concept is already generalized by “epimorphism”, whose definition is different.
Is my definition equivalent to that of epimorphism? If not, is there a term for my definition?
Take $f=id_Y$ : this gives $i$ such that $m\circ i = id_Y$. Thus $m$ is not only an epimorphism, it is a split epimorphism.
Conversely, given $m:X\to Y$ a split epimorphism, i.e. an epimorphism with a section $i:Y\to X$ such that $m\circ i =id_Y$, let $f:Z\to Y$, and consider $f_X :=i\circ f : Z\to X$. Then $m\circ f_X = m\circ i \circ f= id_Y\circ f = f$