# Metamaterial : Snell's law and Fermat principle

How do we deduce Snell's law using Fermat's principal in case of metamaterials?

Metamaterials have negative refractive index. This makes the refracted ray of light bend on same side of normal as incident ray.

But according to Fermat principle, the light could have taken a shorter path. Without the light 'bending backward', it would have a path which took lesser time, like one of the possible path I have shown below in red.

What is the "travel time" of a beam of light in a medium with negative refractive index? Do you save time by traveling a greater distance? Time = distance/speed, and speed = c/n. When $n<0$, the part of the trajectory in the meta-material will contribute "negative time" to the over all travel time of the beam.