Hamiltonian of Standard Lagrangian is Total Energy

Theorem
Let $P$ be a physical system of classical particles.

Let $L$ be a standard Lagrangian associated with $P$.

Then the Hamiltonian of $P$ is the total energy of $P$.

Proof
By definition, the last expression is the total energy of $P$.