Regularity of solutions/controls Geometry and constraints mathematics