Let $(\Sigma,\omega)$ be a compact symplectic surface, and let $\mathcal{D}$ be the group of diffeomorphisms of $\Sigma$. Is there some known variational approach to determine if an element $f\in\mathcal{D}$ is a symplectomorphism? I.e. does there exist a functional $$F:\mathcal{D}\longrightarrow\mathbb{R}$$ such that the minima of $F$ are exactly the symplectomorphisms?
Would the following functional work? $$F(\phi) = \int_\Sigma(1-\det(d\phi))^2\omega,$$ where $\det(d\phi)$ is the smooth map defined by $\phi^*\omega = \det(d\phi)\omega$. Then $F(\phi) = 0$ if, and only if $\phi^*\omega = \omega$, and this is an extremum in the path connected (i.e. isotopy) components of $\mathcal{D}$. Can it be analyzed in more depth somehow?