Momentum-space formalism for the total energy of solids | Synapse