Silly thought: What if the universe actually works like this? Instead of actually calculating the full interaction of all particles, it just optimizes by speculating.
(* EPR only violates locality if you believe in wave function collapse, but there's no reason to)