[step:Append one more edge to obtain the subgradient inequality]
Fix $(x,y) \in \Gamma$. First, $\varphi(x)$ is finite. Indeed, for any admissible chain $(x_i,y_i) \in \Gamma$ for $i \in \{0,\dots,m\}$, cyclic monotonicity applied to the cycle $x_0,x_1,\dots,x_m,x,x_0$, using the final pair $(x,y)$ at the point $x$, gives
\begin{align*}
\sum_{i=0}^{m-1} y_i \cdot (x_{i+1} - x_i) + y_m \cdot (x - x_m) + y \cdot (x_0 - x) \leq 0.
\end{align*}
Hence every affine expression defining $\varphi(x)$ is at most $y \cdot (x-x_0)$, so
\begin{align*}
\varphi(x) \leq y \cdot (x-x_0) < \infty.
\end{align*}
Also $\varphi(x) > -\infty$ because the chain with $m=0$ gives the finite lower bound $y_0 \cdot (x-x_0)$.
Now let $z \in \mathbb{R}^n$. By the definition of $\varphi(x)$ as a supremum, for every real number $a < \varphi(x)$ there exists an admissible chain $(x_i,y_i) \in \Gamma$ for $i \in \{0,\dots,m\}$ such that
\begin{align*}
a < \sum_{i=0}^{m-1} y_i \cdot (x_{i+1} - x_i) + y_m \cdot (x - x_m).
\end{align*}
Append the point $(x,y)$ to this chain. The defining supremum for $\varphi(z)$ then gives
\begin{align*}
\varphi(z) \geq \sum_{i=0}^{m-1} y_i \cdot (x_{i+1} - x_i) + y_m \cdot (x - x_m) + y \cdot (z-x).
\end{align*}
Therefore
\begin{align*}
\varphi(z) > a + y \cdot (z-x).
\end{align*}
Letting $a \uparrow \varphi(x)$ yields
\begin{align*}
\varphi(z) \geq \varphi(x) + y \cdot (z-x).
\end{align*}
Since this holds for every $z \in \mathbb{R}^n$, the definition of the subdifferential gives $y \in \partial \varphi(x)$. Because $(x,y) \in \Gamma$ was arbitrary,
\begin{align*}
\Gamma \subset \{(x,y) \in \mathbb{R}^n \times \mathbb{R}^n : y \in \partial \varphi(x)\}.
\end{align*}
This proves the converse implication and completes the proof.
[/step]