Generalized canonical formalism for degenerate dynamical systems | Synapse