Matching is as easy as matrix inversion | Synapse