Lagrangian Mechanics on the Tech Tree