Inference, Learning, and Laws of Nature