Quasiadiabatic continuation of quantum states: The stability of topological ground-state degeneracy and emergent gauge invariance | Synapse