Why gauge invariance applies to statistical mechanics | Synapse