P erception and action are solutions to inverse problems-inferring the hidden causes of sensory inputs and predicting the consequences of ac...