The variational structure of a nonlinear theory for spatial lattices