Suppose $h$ is a convex function. Let $x$ and $y$ be vectors of possibly different lengths, and $A$ a matrix. Show that the function $f$ defined as
$$ f(x,y) = h(y) \qquad Ay=x\\ \qquad \qquad \infty \qquad otherwise $$
is convex in $(x,y)$.
Suppose $h$ is a convex function. Let $x$ and $y$ be vectors of possibly different lengths, and $A$ a matrix. Show that the function $f$ defined as
$$ f(x,y) = h(y) \qquad Ay=x\\ \qquad \qquad \infty \qquad otherwise $$
is convex in $(x,y)$.