Permutation of Indices of Product

Theorem
Let $R: \Z \to \left\{ {\mathrm T, \mathrm F}\right\}$ be a propositional function on the set of integers.

Let the fiber of truth of $R$ be finite.

Then:
 * $\displaystyle \prod_{R \left({j}\right)} a_j = \prod_{R \left({\pi \left({j}\right)}\right)} a_{\pi \left({j}\right)}$

where:
 * $\displaystyle \prod_{R \left({j}\right)} a_j$ denotes the product over $a_j$ for all $j$ that satisfy the propositional function $R \left({j}\right)$
 * $\pi$ is a permutation on the fiber of truth of $R$.