  We carry on the approach used in [Sch] to provide a solution for the inverse
problem of the calculus of variations for Maxwell equations in vacuum and we
provide an abstract theory including all implicit differential equations that
can be formulated in terms of vector fields over pre-symplectic manifolds.
