Lax pair formulation for the Euler equation