Pyter said:
Then since in the other thread
@PeroK gives the measured light speed as ##ds/d\tau##, it should be constantly 0, because ##ds \equiv 0##.
As explained, I used ##ds## to be the spacelike interval traveled by the light. To avoid confusion, we could use ##dl## for this. The calculation in flat spacetime (in some inertial frame) would look like:
1) Light travels from ##(t_0, x_0, y_0, z_0)## to ##(t_1, x_1, y_1, z_1)##.
2) As the light path is null, we have ##(t_1 - t_0)^2 = (x_1 - x_0)^2 + (y_1 - y_0)^2 + (z_1 - z_0)^2##.
3) The spatial distance traveled by the light (as measured in the IRF) is ##\Delta l^2 = (x_1 - x_0)^2 + (y_1 - y_0)^2 + (z_1 - z_0)^2##.
4) The time that the light traveled (as measured in the IRF) is ##\Delta t = (t_1 - t_0)##
5) The speed of light (as measured in the IRF) is ##\frac{\Delta l}{\Delta t} = 1##.
Note that you can elaborate this by having the light bounce off a mirror back to the starting point, so that the time interval may be measured by the proper time of a single clock at rest in the IRF. In which case you measure the speed of light as ##\frac{2\Delta l}{\Delta \tau} = \frac{2\Delta l}{2 \Delta t} = 1##.
In general coordinates, or curved spacetime, you would have to to the calculation done by
@vanhees71 where the calculations involve the metric tensor components and a small/infinitesimal spatial interval over which the light travels - i.e. the theoretical limit of actual measurements. And you should get the measured speed of light ##\frac{2dl}{d\tau} = 1##.
@Pyter a good exercise for you would be to extend the above for the case of an arbitrary diagonal metric.