Low-degree functions over ZMod 3 -- degree arithmetic #
Monomials multiply by union of their coordinate sets, since every bit is
idempotent in ZMod 3. Hence degrees add under multiplication, and the
low-degree submodules are closed under the operations used by Smolensky's gate
approximators: constants, sums, differences, powers, and finite products.