A Differential-Algebraic Framework for Inverse Variational Problems: From Differential Equations to Variational Structures | Synapse