I want to express the product of a three-dimensional array by two one-dimensional vectors over some ring $R$:
$$r = A \cdot b \otimes c$$
where
- $A \in R^{\ell \times m \times n}$
- $b \in R^n$
- $c \in R^m$
and the output $r\in R^\ell$ is defined in the "obvious" way by $r_i = \sum_{j=1}^n\sum_{k=1}^m a_{i,j,k} b_j c_k$.
In what I wrote above, I used the $\cdot$ to indicate the inner product part and $\otimes$ to indicate the outer product part, but I don't know if that notation is standard (at least the first one).
In particular, I need to use the fact that this operation is associative, i.e., $(A\cdot b)\otimes c = A\cdot(b \otimes c)$.
For context, this is for a computer science publication. I could easily define my own notation and write the one-line proof of associativity, but it feels kind of embarrassing to do that if there is already a nice way to express this.