Here's what we know:
* Retrograde motion is the apparent backward motion of planets as seen from Earth. This happens because Earth and other planets orbit the Sun at different speeds.
* Ancient astronomers observed retrograde motion centuries before Ptolemy. The Babylonians, Greeks, and other civilizations documented these observations.
* Ptolemy was a Roman astronomer who lived in the 2nd century AD. He did not discover retrograde motion, but he developed a geocentric model of the universe (the Ptolemaic system) that attempted to explain it. This model used a system of epicycles and deferents to account for the apparent backward motion of planets.
Therefore, it is inaccurate to say that Ptolemy discovered retrograde motion. It was a known phenomenon that he tried to explain within his geocentric model.