Furthermore, we can assume that a system shares electrons with its environment exclusively via valence levels. The population of core levels are then a constant in the ensemble. We note that this is a chemically motivated definition of what constitutes a core level: a level that cannot, in chemical interactions, share electrons with a surrounding environment. From such a definition follows that