Let $X,Y,Z$ be three metric spaces. Let $f : X \times Y \to Z$ be a map which is non-expansive in each argument: $$d(f(x,y),f(x',y)) \leq d(x,x')$$ $$d(f(x,y),f(x,y')) \leq d(y,y')$$ Does it follow that $f$ is non-expansive (where we use the sup-metric on the product)? That is, do we have the following? $$d(f(x,y),f(x',y')) \leq \sup(d(x,x'),d(y,y'))$$
I assume the answer is yes, due to a very abstract category-theoretic argument (!), but for some reason I cannot prove it directly.