Solution (source code)

= Solution

Fix $x\in S$ and let $\sigma_x$ be its <principal vertex of a dual cube complex>. The combinatorial distance in the dual complex is the <wall metric>:
$$
d_C(\sigma_x,g\sigma_x)
=d_{\mathcal W}(x,gx)
=\#\{W\in\mathcal W:W\text{ separates }x\text{ from }gx\}.
$$
Consequently the <wall-metric properness criterion> says that the action on $C$ is metrically proper provided this number tends to infinity as $g$ leaves every finite subset of $G$. Equivalently, for every $R$, only finitely many $g$ separate $x$ from $gx$ by at most $R$ walls.