Complex sentence: Fermat's principle has the same form as Hamilton's principle and it is the basis of Hamiltonian optics, the Hamiltonian formulation of geometrical optics, similar to Winston's formulation, shares much of the mathematical formalism with Hamiltonian mechanics.
Split into simpler sentences: Fermat's principle has the same form as Hamilton's principle and it is the basis of Hamiltonian optics. The Hamiltonian formulation of geometrical optics, similar to Winston's formulation, shares much of the mathematical formalism with Hamiltonian mechanics.