Toward a mathematical theory of inductive inference