Theorem. Permutation weights are the twisted traces [fdip-00O2]

Keep the weighted integral of Theorem [fdip-00O1]. An algebra automorphism \(\sigma \) of \(A\) is a twist of the integral when \[\int f\omega =\int \omega \,\sigma (f)\] for every function \(f\) and every \(1\)-form \(\omega \). If the support of \(w\) is contained in the graph of a permutation \(\pi \) of \(X\), the automorphism \((\sigma f)(y)=f(\pi ^{-1}y)\) is a twist. Conversely, when the only idempotents of \(k\) are \(0\) and \(1\), a twist exists only in that case. The shift of the directed cycle is the permutation \(i\mapsto i+1\). The unrestricted converse fails for a general commutative ring: on \(X=\{1,2,3\}\) with \(k=\mathbb Z\times \mathbb Z\), the weights \(w_{12}=(1,0)\) and \(w_{13}=(0,1)\) admit a twist, and vertex \(1\) has two outgoing edges in the support.

The twisted identity is the degree-one case of the cocycle condition in Differential calculi over quantum groups and twisted cyclic cocycles[kustermans2003twisted].