If $h:A\rightarrow B, g:B\rightarrow C, $ and $ f:B\rightarrow C$ are three functions, and $g \circ h = f \circ h$ . Is $g=h$?
Initially I want to say that $g=f$. But, the proof I came up with feels incomplete. This what I got:
Let $a \in A$ and $b \in B$, then $h(a) = b$. Since $g$ and $f$ both except b as a input and both output a $c \in C$. The fact that $g \circ h = c$ such that $c \in C$ and $f \circ h = c$ means that $g(b) = f(b)$. As such, $g$ and $f$ must be applying the same transformation for $B \rightarrow C$.
Does this proof make sense?