Text this: On regularity conditions in constrained optimization