Informal description
Let $\alpha$ be a type with decidable equality, $M$ an additive monoid, and $N$ a commutative monoid. Given two finitely supported functions $f, g \colon \alpha \to_{\text{f}} M$ and a function $h \colon \alpha \to M \to N$ such that:
1. For all $a$ in the union of the supports of $f$ and $g$, $h(a, 0) = 1$ (where $0$ is the zero element of $M$).
2. For all $a$ in the union of the supports of $f$ and $g$, and for all $b_1, b_2 \in M$, $h(a, b_1 + b_2) = h(a, b_1) \cdot h(a, b_2)$ (i.e., $h(a, \cdot)$ is multiplicative).
Then the product of $h$ over the support of $f + g$ equals the product of $h$ over the support of $f$ multiplied by the product of $h$ over the support of $g$:
\[
\prod_{a \in \text{supp}(f + g)} h(a, (f + g)(a)) = \left(\prod_{a \in \text{supp}(f)} h(a, f(a))\right) \cdot \left(\prod_{a \in \text{supp}(g)} h(a, g(a))\right).
\]