The submanifold compatibility equations in magnetic geometry | Synapse