How does a linear encoder learn the angular velocity of a rotating object from raw video, and can it extrapolate to velocities it has never seen? Replica theory, exact linear-algebra identities and ...