Let $P = (Y, {\preceq})$ be a D1103: Partially ordered set.
Let $f : X \to Y$ be a D18: Map.
A D2218: Set element $m \in f(X)$ is a maximum of $f$ with respect to $P$ if and only if
\begin{equation}
\forall \, x \in X : f(x) \preceq m
\end{equation}