Hamiltonian conservation law (source code)

= Hamiltonian conservation law

Along a trajectory generated by the <Hamiltonian> $H$,
$$
\frac{dF}{dt}=\frac{\partial F}{\partial t}+\{F,H\}.
$$
Thus a time-independent observable is conserved exactly when its <Poisson bracket> with $H$ vanishes.