PeterDonis said:
Actually, on thinking this over, I'm no longer sure it's true. The redshift factor depends on the pressure as well as the density, and changing the density distribution will change the pressure distribution as well. It's not clear to me from looking at the equations (which are in
this post on my PF blog) that the changes will always work out to keep the redshift factor at the center the same.
I believe we had a thread on a related matter, in the thread "How does GR handle metric transition for a spherical mass shell?". The perma-link doesn't seem to be working properly, I have some remarks in post #202.
A sphere of highly pressurized gas, or liquid, or even a box of light can exist , but it must be enclosed in some pressure vessel, a sphere in tension, to keep the contents from escaping. Since pressure (and tension) cause gravity, one has to analyze the equilibrium system to get the correct equilibrium gravitational field, so one needs to be concerned with the details of the shell.
There are various ways to analyze it, I chose to have an enclosing sphere of exotic matter, whose density ##\rho## was zero, but whose tension was not. Tension is just negative pressure.
To recap the highlights:
Using a general spherically symmetric metric:
s = -f(r)\,dt^2 + h(r)\,dr^2 + r^2 \left(d \theta ^2 + \sin^2 \, \theta \: d\phi^2 \right)
f is the square of the "time dilation" factor.
h is another metric coefficient (closely related to spatial curvature as I recall).
I used eq 6.23 and 6.24 from Wald's "General Relativity", I recall you (Peter) had your own, the ones you mention in your blog, I haven't recast them in your form.
Setting ρ to zero and using eq 6.2.3 from Wald tells us that r (1 - 1/h) is constant through the shell. For a thin shell, this means that h is the same inside the shell and outside the shell, because r is the same at the interior of the shell and the exterior of the shell, so h-, h inside the shell, equals h+, h outside the shell.
Adding together 6.2.3 and 6.2.4 from Wald, we get
8 \pi \left(\rho + P \right) \; = \; \frac{ \left(dh/dr \right) } {r h^2 }+ \frac{ \left( df/dr \right) } {r \, f \, h} \; = \; \left( \frac{1}{ r \, f \, h^2 } \right) \, \frac{d}{dr} \left[ f \, h \right]
With ##\rho=0## and P nonzero, we must have f*h vary through the exotic matter shell.
Re-reading this, with P negative, f*h must be decreasing through the shell, which means f is decreasing. (For a thin shell, in the limit f jumps discontinuously). The decrease in f is consistent with the expected negative "Komar mass" of the exotic matter shell.
I haven't analyzed an "ordinary matter shell", but I would expect that f wouldn't decrease.
In any event, the time dilation factor won't be the same inside and outside the shell. In the limit of the shell having zero mass (which requires exotic matter), the difference in the time dilation between the inside and outside can be entirely attributed to the gravitational effects of the tension in the shell.