Pierre de Fermat
This was generalized to refraction by Pierre de Fermat, who, in the 17th century, refined the principle to "light travels between two given points along the path of shortest "time""; now known as the principle of least time or Fermat's principle.