Total-energy differences and eigenvalue sums | Synapse