I'm dealing with an optimization problem of the form
$$\underset{x,y}{\text{min}}\ f(x,y)$$
but I'm having trouble finding a good reference on how to deal with this. Through Google searches, I think I've found that a problem like this can be decomposed into
$$\underset{x}{\text{min}}\left[ \underset{y}{\text{min}}\ f(x,y)\right]$$
but it's not clear to me why this would be equivalent in general. Are there conditions when this would be true or is it always true? Is this the standard way forward with a problem like this? I would be grateful if someone could prove to me why this is true, if it is true.