A Mathematical Theory of General Intelligence: State-Space Compression as a Variational Framework for Problem Solving | Synapse