Title: Towards a general theory of search