This question asks about the convexity of the function
$$ g(x)=\inf_{y\in\Re^n} f(x,y) $$
where $f \colon \Re^n \times \Re^m \to \Re$ is convex in $(x,y)$. I would ask a more advanced case that if the set given in the inner minimization problem depends on the upper variable $x$, i.e., $\Re^n$ is replaced by $C(x)$, the convexity still holds? That is, I would know the convexity of the following function $g\colon\Re^n\to\Re$:
$$ g(x)=\inf_{y\in C(x)} f(x,y), $$
where $C(x)$ is always convex for any $x\in\Re^n$, and $f$ is convex in $(x,y)$.
My question would also be the generalization of Example 3.17 in Boyd & Vandenberghe's Convex Optimization, which is the convexity of the following case:
$$ g(x) = \inf \left\{ h(y) \mid Ay = x \right\}. $$
It would be grateful if you could answer the question above. Thank you!