Detailed derivation of the generalized Snell-Descartes laws from Fermat's principle
{{output}}
Beginning with Fermat's principle, we provide a detailed derivation of the generalized laws of refraction and reflection for a geometry realizing a metasurface. We first solve the Euler-Lagrange equations for a light ray propagating across the metasurface. The... ...