Let $\mathcal{C}$ be a symmetric monoidal closed category. My question is the following:
Given three objects $X$, $Y$ and $Z$, and a morphism $f \colon Y \to Z$ in $\mathcal{C}$, does it necessarily exist a morphism from $X \multimap Y$ to $X \multimap Z$ in $\mathcal{C}$?
By $X \multimap Y$ I denote the internal hom object of $X$ and $Y$, also denoted by $[X,Y]$ in some contexts.
I know that the answer to my question is positive in the category $\mathbf{Set}$ of sets (which is symmetric monoidal closed), where $X \multimap Y = Y^X$ is the set of functions from $X$ to $Y$: in this case, given $f \colon Y \to Z$, the morphism from $X \multimap Y$ to $X \multimap Z$ is just the function associating with every $g \colon X \to Y$ the function $f \circ g \colon X \to Z$.
My question is related to the study of linear logic, since symmetric monoidal closed categories provide a natural interpretation of the multiplicative intuitionistic fragment of linear logic.
Yes. The internal hom constitutes a bifunctor $(-)\multimap (-):\mathcal{C}^{\mathrm{op}}\times \mathcal{C}\to \mathcal{C}$, just as in $\mathbf{Set}$. This follows from the adjunction isomorphism between the internal hom and the tensor, and the fact that the tensor is a bifunctor.
More formally, given $f:Y\to Z$, the postcomposition morphism $X\multimap f:X\multimap Y\to X\multimap Z$ must correspond to a morphism $(X\multimap Y)\otimes X\to Z$. The morphism that answers to that description is the composition $f\circ \mathrm{ev}$, where $\mathrm{ev}:(X\multimap Y)\otimes X\to Y$ is the evaluation map, the counit of the hom-tensor adjunction. So, morally, the map is simply $(X\multimap f)(g)(x)=f(g(x))$, as one would hope.