https://123dok.net/document/q054mpn3-a-new-look-at-classical-mechanics-constrained-systems.html