Invariant tori for commuting Hamiltonian PDEs