hamiltonian-lagrangian