A higher-order generalization of group theory | Synapse