At the core-envelope interface, continuity at temperature requires the envelope pressure
to equal the nonrelativistic electron degeneracy pressure
Eliminating gives
Equating the two pressures and solving for luminosity gives Mestel's cooling law
In particular, .