Metric critical point theory. 1. Morse regularity and homotopic stability of a minimum