Let $f: P^4 \to \mathbb R^+$, $(A,B,C,D)\mapsto (AB-BC)^2+(BC-CD)^2+(CD-DA)^2+(AC-BD)^2$. Where $AB$ is the distance betwin $A$ and $B$.
Let $A$, $B$, $C$, $D$ be four points of the plane $P$, respectively in $S_A$, $S_B$, $S_C$, $S_D$ that are areas delimited by squares. We also suppose that no point is the corner of its square—but it can be on the egde.
Suppose that $f((A,B,C,D))>0$ (then $ABCD$ is not a square), does there always exist $A'\in S_A$, $B'\in S_B$, $C'\in S_C$, $D'\in S_D$ such that $f((A',B',C',D'))<f((A,B,C,D))$?