Differential equations with constraints in jet bundles: Lagrangian and Hamiltonian systems. Krupková, O.; Volný, P. — 2006 Lobachevskii Journal of Mathematics