In general relativity , mass (and energy) conservation in expanding volumes of space is a complex concept, subject to different definitions, and neither mass nor energy is as strictly and simply conserved as is the case in special relativity and in Minkowski space .