A mathematical proof shows that some quantum states can resist nature’s tendency to disorder – but only under very specific conditions