Not sure if this is too much physics to be here...
Consider $$H:\mathbb{R}^{2N+1}\rightarrow\mathbb{R}$$ of class $C^2$, let $H(x,y,z)$ such that $x\in\mathbb{R}^N$, $y\in\mathbb{R}^N$ and $z\in\mathbb{R}$. Let $\varphi$ be the flow associate with the Hamiltonian system $$\dot{x}_i=-\frac{\partial H}{\partial y_i}$$ $$\dot{y}_i=\frac{\partial H}{\partial x_i}$$ $$\dot{z}=1$$ I have to prove that if $\eta$ is a 1-form given by $\eta=\sum_{i=1}^Nx_i \ dy_i-H \ dz$ and $c$ is a closed curve in $\mathbb{R}^{2N+1}$, then for all $s$ we have $$\int_{\varphi(s,c)}\eta=\int_c\eta.$$
Thank you in advance!