Title: An abstract formulation of the method of separation of variables