In vacuum, the photon has a 4-momentum (E, p) with E^2 - p^2 = 0, i.e. it's massless. However, upon entering a medium of refractive index n, we expect that the photon retains its energy, while reducing its momentum by a factor n (due to increased wavelength). We then have for the 4-momentum of a...