Mechanics of mechanics