Hamilton-Jacobi equations Integrable and nonintegrable systems mathematics