Discrete gauge symmetry in continuum theories | Synapse