What you are exploring
A star's mass largely determines its luminosity, surface temperature and main-sequence lifetime. After core hydrogen is exhausted, it expands into a giant; lower-mass remnants eventually become white dwarfs.
tMS ≈ 10 Gyr × M⁻²·⁵; LMS ≈ M³·⁵