Assume we have the following Lagrangian field density where $x, x'$ both three dimensional real vectors are coordinates and $t$ represents time, field is given by $\phi$. Assume for the sake of concreteness that $\phi$ is a function that returns three-dimensional real vector.
$$ \mathscr{L} = f(x) (\partial_t\phi)^2 + \int g(x, x', \phi(x), \phi(x')) dx'. $$
Define canonical momentum to be:
$$ \pi = \frac{\partial \mathscr{L}}{\partial(\partial_t\phi)} = 2f(x)\partial_t\phi. $$
Questions:
Is it true that we can write equations of motion as: $$ \partial_t \pi_i = - \sum \limits_j \frac{\partial}{\partial x_j} P_{ij}? $$ Here, $P_{ij}$ is some function.
Is there an equivalent law of conservation of energy? How does it look like?