### What does a symmetry that changes the Lagrangian by a total derivative do to the Hamiltonian $H$?
A tiny symmetry transformation may change the Lagrangian $L$ by a total time derivative of some function $f$. This is a basic fact used in the proof of Noether's theorem. How can we see the effect of ...