Isomorphism of dynamical systems