Proposition 9.7.7.10 (Generalized Associativity). Let $\{ \operatorname{\mathcal{C}}_ i \} _{ i \in I }$ and $\{ \operatorname{\mathcal{D}}_ j \} _{j \in J}$ be finite collections of $\mathbb {K}$-cocomplete $\infty $-categories. Suppose we are given a function $f: I \rightarrow J$ and, for each $j \in J$, a functor $T_{j}: \prod _{ f(i) = j} \operatorname{\mathcal{C}}_ i \rightarrow \operatorname{\mathcal{D}}_ j $ which exhibits $\operatorname{\mathcal{D}}_ j$ as a tensor product of the collection $\{ \operatorname{\mathcal{C}}_ i \} _{f(i) = j}$. Then, for every $\mathbb {K}$-cocomplete $\infty $-category $\operatorname{\mathcal{E}}$, precomposition with $\prod _{j \in J} T_ j$ induces an equivalence of $\infty $-categories
$\Newextarrow{\xhookrightarrow}{10,10}{0x21AA}$
\[ \theta : \operatorname{Fun}^{ \mathbb {K} -\mathrm{Mult} }( \prod _{j \in J} \operatorname{\mathcal{D}}_ j, \operatorname{\mathcal{E}}) \rightarrow \operatorname{Fun}^{ \mathbb {K}-\mathrm{Mult} }( \prod _{i \in I} \operatorname{\mathcal{C}}_ i, \operatorname{\mathcal{E}}). \]
Proof. We proceed by induction on the cardinality of $J$. If $J$ is empty, then $\theta $ identifies with the identity functor $\operatorname{id}_{\operatorname{\mathcal{E}}}$ (Example 9.7.7.3) and there is nothing to prove. If $J = \{ j\} $ has a single element, then the desired result follows immediately from the hypothesis on $T_{j}$. Let us therefore assume that $J$ has at least two elements, so that there is a nonempty proper subset $J' \subset J$. Set $I' = f^{-1}(J')$. Using Remark 9.7.7.5, we can identify $\theta $ with the composition
\[ \xymatrix { \operatorname{Fun}^{ \mathbb {K} -\mathrm{Mult} }( \prod _{j \in J'} \operatorname{\mathcal{D}}_ j, \operatorname{Fun}^{\mathbb {K}-\mathrm{Mult}}( \prod _{j \in J \setminus J'} \operatorname{\mathcal{D}}_ j, \operatorname{\mathcal{E}}) ) \ar [d]^{\theta '} \\ \operatorname{Fun}^{ \mathbb {K} -\mathrm{Mult} }( \prod _{i \in I'} \operatorname{\mathcal{C}}_ i, \operatorname{Fun}^{\mathbb {K}-\mathrm{Mult}}( \prod _{j \in J \setminus J'} \operatorname{\mathcal{D}}_ j, \operatorname{\mathcal{E}}) ) \ar [d]^{\theta ''} \\ \operatorname{Fun}^{ \mathbb {K} -\mathrm{Mult} }( \prod _{i \in I'} \operatorname{\mathcal{C}}_ i, \operatorname{Fun}^{\mathbb {K}-\mathrm{Mult}}( \prod _{i \in I \setminus I'} \operatorname{\mathcal{C}}_ i, \operatorname{\mathcal{E}}) ),} \]
where $\theta '$ and $\theta ''$ are equivalences of $\infty $-categories by virtue of our inductive hypothesis. $\square$