\section{Probability measures compatible with sums of semi-metrics}\label{sec:cost-measures} We now use the estimates of Section~\ref{sec:cost-information} to select the probability measures for cancellation. Choose a common sequence $\lambda_j\to\infty$ for the prescribed at most countable family. For each $\boldsymbol{M}=(M,c_M)$, denote the measure maximizing the sum of $\RateDistortionValue{\lambda_j}(\boldsymbol{M},\mu)/\lambda_j$ by $\mu_{\boldsymbol{M}}$. Its subscript is the pair $\boldsymbol{M}$, so distinct semi-metrics on the same underlying set remain distinguishable. Common scales allow us to compare the same terms on the factors and on their product. For two distinct input measures, $\RateDistortionValue{\lambda_j}(\boldsymbol{M},\cdot)$ satisfies the strict concavity inequality for all sufficiently large $j$. Each term is concave and each coefficient positive, so the multiscale sum is strictly concave and its maximizer is unique. For the product of $\boldsymbol{A}=(A,c_A)$ and $\boldsymbol{B}=(B,c_B)$ we prove subadditivity on arbitrary couplings and additivity on product measures. Consequently $\mu_{\boldsymbol{A}}\otimes\mu_{\boldsymbol{B}}$ maximizes the functional over all probability measures on the product. Uniqueness yields both factorization on products and invariance under semi-metric-preserving bijections (\Cref{prop:cost-compatible-finite-family}). In the next section we use these properties to compare the pushforwards that record the pairwise semi-metric values in each factor. Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\{\lambda_j\}_{j\geq0}$ be an increasing sequence of positive numbers tending to infinity. For each $\mu\in\ProbabilityMeasures(M)$ define $\Psi_{\boldsymbol{M}}\colon\ProbabilityMeasures(M)\to[0,+\infty]$ by \begin{equation}\label{eq:cost-maximizing-functional} \Psi_{\boldsymbol{M}}(\mu)=\sum_{j=0}^{\infty}\frac{\RateDistortionValue{\lambda_j}(\boldsymbol{M},\mu)}{\lambda_j}, \end{equation} and call it the \emph{multiscale rate--distortion functional}. As \Cref{ex:two-point-scale-series} shows, the series can diverge for some choices of scales. We next choose common scales such that the series converges uniformly to a finite function on each prescribed space. \begin{lemma}\label{lem:cost-common-scales} Let $\mathcal F$ be an at most countable family of compact spaces with continuous semi-metrics. Then there is an increasing sequence $\{\lambda_j\}_{j\geq0}$ of positive numbers tending to infinity such that for every $(M,c_M)\in\mathcal F$ the series in \eqref{eq:cost-maximizing-functional} converges uniformly on $\ProbabilityMeasures(M)$ to a finite function. \end{lemma} \begin{proof} If $\mathcal F$ is empty, any increasing sequence tending to infinity will do. Otherwise enumerate $\mathcal F$ as $\{\boldsymbol{M}_i\}_{i\in\Z_{\ge 0}}$, with $\boldsymbol{M}_i=(M_i,c_i)$, repeating terms if the family is finite. By \Cref{lem:cost-sublinear}, for each $i$ we have $b_{\boldsymbol{M}_i}(\lambda)/\lambda\to0$ as $\lambda\to\infty$. At stage $j$, use this limit for the first $j+1$ spaces to choose $\lambda_j$ large enough that \begin{equation}\label{eq:cost-common-scales} \lambda_j\geq2^{j+1},\qquad \max_{0\leq i\leq j}\frac{b_{\boldsymbol{M}_i}(\lambda_j)}{\lambda_j}\leq2^{-(j+1)}. \end{equation} For $j\geq1$, also require $\lambda_j>\lambda_{j-1}$. Fix $\boldsymbol{M}_i=(M_i,c_i)\in\mathcal F$. By the definition in \eqref{eq:cost-maximal-value}, $b_{\boldsymbol{M}_i}(\lambda_j)$ is the maximum of $\RateDistortionValue{\lambda_j}(\boldsymbol{M}_i,\cdot)$. Thus \eqref{eq:cost-common-scales} yields, for every $\mu\in\ProbabilityMeasures(M_i)$ and every $j\geq i$, \[ 0\leq\frac{\RateDistortionValue{\lambda_j}(\boldsymbol{M}_i,\mu)}{\lambda_j} \leq\frac{b_{\boldsymbol{M}_i}(\lambda_j)}{\lambda_j}\leq 2^{-(j+1)}. \] The bound is independent of $\mu$ and $\sum_{j=i}^{\infty}2^{-(j+1)}<\infty$. There are only finitely many terms with $j(1-t)\Psi_{\boldsymbol{M}}(\mu_0)+t\Psi_{\boldsymbol{M}}(\mu_1). \] \end{proof} \begin{corollary}\label{lem:cost-maximizer} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\{\lambda_j\}_{j\geq0}$ be an increasing sequence of positive numbers tending to infinity. If the series in \eqref{eq:cost-maximizing-functional} converges uniformly on $\ProbabilityMeasures(M)$ to a finite-valued function, then $\Psi_{\boldsymbol{M}}$ has a unique maximizing probability measure. \end{corollary} \begin{proof} Existence follows from \Cref{lem:probability,lem:cost-series-continuity}. If two distinct measures attained the maximum, \Cref{lem:cost-series-strict} would make the value at their midpoint greater than the maximum. \end{proof} \begin{proposition}\label{lem:cost-maximizer-support} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, let $\{\lambda_j\}_{j\geq0}$ be an increasing sequence of positive numbers tending to infinity, and take $\mu\in\ProbabilityMeasures(M)$. If the series in \eqref{eq:cost-maximizing-functional} converges uniformly on $\ProbabilityMeasures(M)$ to a finite-valued function and $\mu$ maximizes $\Psi_{\boldsymbol{M}}$, then $\supp\mu=M$. \end{proposition} \begin{proof} If $M$ is a singleton its only probability measure has full support. For the sake of contradiction, suppose that the support of a maximizing measure $\mu$ omits a point $z$. Choose a metric $\rho$ compatible with the topology of $M$ and apply \Cref{cor:cost-off-support} on $\MetricSpace{M}{\rho}$ to obtain $\kappa>0$ and a threshold for the parameter. For $00$ and $00}} f_i z_{ij}\log\frac{z_{ij}}{\rho_j} +\lambda\sum_{0\leq i,j0$. Write $\alpha,\beta$ for the marginals of $\nu\in\ProbabilityMeasures(A\times B)$. Then \begin{equation}\label{eq:cost-subadditivity} \RateDistortionValue{\lambda}(\boldsymbol{A}\times\boldsymbol{B},\nu)\leq \RateDistortionValue{\lambda}(\boldsymbol{A},\alpha)+\RateDistortionValue{\lambda}(\boldsymbol{B},\beta).\end{equation} \end{proposition} \begin{proof} Let $\nu\in\ProbabilityMeasures(A\times B)$ have marginals $\alpha,\beta$. Take minimizers $q_0,q_1$ of $J^{A}_\lambda(\alpha,\cdot)$ and $J^{B}_\lambda(\beta,\cdot)$, respectively. Equip $A\times B$ with the sum of the semi-metrics in \eqref{eq:sum-cost}. For each $(x,y)\in A\times B$, the integral in \eqref{eq:cost-kernel-integral} factors as \[ K^{A\times B}_\lambda[q_0\otimes q_1](x,y)=K^{A}_\lambda[q_0](x)K^{B}_\lambda[q_1](y). \] Taking negative logarithms and integrating against $\nu$ yields \[ J^{A\times B}_\lambda(\nu,q_0\otimes q_1) =J^{A}_\lambda(\alpha,q_0)+J^{B}_\lambda(\beta,q_1). \] By our choice of $q_0,q_1$ the right side is the sum of the minima on the factors. The measure $q_0\otimes q_1$ is an admissible candidate on the product, so $\RateDistortionValue{\lambda}(\boldsymbol{A}\times\boldsymbol{B},\nu)\leq J^{A\times B}_\lambda(\nu,q_0\otimes q_1)$. This proves \eqref{eq:cost-subadditivity}. \end{proof} \begin{proposition}\label{lem:cost-tensor-additivity} Let $\boldsymbol{A}=(A,c_A)$ and $\boldsymbol{B}=(B,c_B)$ be compact spaces with continuous semi-metrics and let $\lambda>0$. Then for $\alpha\in\ProbabilityMeasures(A)$ and $\beta\in\ProbabilityMeasures(B)$ we have \begin{equation}\label{eq:cost-additivity} \RateDistortionValue{\lambda}(\boldsymbol{A}\times\boldsymbol{B},\alpha\otimes\beta) =\RateDistortionValue{\lambda}(\boldsymbol{A},\alpha)+\RateDistortionValue{\lambda}(\boldsymbol{B},\beta).\end{equation} \end{proposition} \begin{proof} Let $\pi$ be any coupling on $(A\times B)^2$ with first marginal $\alpha\otimes\beta$. On the probability space $((A\times B)^2,\mathcal B((A\times B)^2),\pi)$, let $X,Y,\widehat X,\widehat Y$ be the measurable coordinate projections sending $((x,y),(a,b))$ to $x,y,a,b$, respectively, and put $U=(\widehat X,\widehat Y)$. Since $(X,Y)_*\pi=\alpha\otimes\beta$, the maps $X,Y$ are independent. Tensorization of mutual information (\Cref{thm:information-tensorization}) and the data processing inequality (\Cref{thm:information-processing}) for the coordinate projections of $U$ yield \[ I((X,Y);U)\geq I(X;U)+I(Y;U) \geq I(X;\widehat X)+I(Y;\widehat Y). \] By \eqref{eq:sum-cost} the mean distortion also splits as the sum of its two coordinate means. The first marginals of $(X,\widehat X)_*\pi$ and $(Y,\widehat Y)_*\pi$ are $\alpha,\beta$, respectively. By \Cref{prop:rate-distortion} the objective at $\pi$ is therefore at least $\RateDistortionValue{\lambda}(\boldsymbol{A},\alpha)+\RateDistortionValue{\lambda}(\boldsymbol{B},\beta)$. Taking the infimum over $\pi$ yields the reverse of the inequality in \Cref{lem:cost-tensor} and proves \eqref{eq:cost-additivity}. \end{proof} For minimizers $q_A,q_B$ on the two factors, the kernel product formula in the proof of \Cref{lem:cost-tensor} shows that $J^{A\times B}_\lambda(\alpha\otimes\beta,q_A\otimes q_B)$ equals the right side of \eqref{eq:cost-additivity}. Hence $q_A\otimes q_B$ is a minimizer on the product. Let $\mathcal F$ be an at most countable family of compact spaces with continuous semi-metrics. For each $\boldsymbol{A}=(A,c_A)\in\mathcal F$ denote by $\mu_{\boldsymbol{A}}$ a probability measure of full support on $A$. We call the family $\{\mu_{\boldsymbol{A}}\}_{\boldsymbol{A}\in\mathcal F}$ \emph{product-compatible} if it satisfies the following two conditions. \begin{enumerate}[label=\textup{(C\arabic*)},ref=\textup{(C\arabic*)}] \item\label{item:cost-compatible-bijection} For any $\boldsymbol{A}=(A,c_A),\,\boldsymbol{B}=(B,c_B)\in\mathcal F$ and any semi-metric-preserving bijection $v\colon A\to B$, we have $v_*\mu_{\boldsymbol{A}}=\mu_{\boldsymbol{B}}$. \item\label{item:cost-compatible-product} For any $\boldsymbol{A}=(A,c_A),\,\boldsymbol{B}=(B,c_B),\,\boldsymbol{C}=(C,c_C)\in\mathcal F$ and any bijection $u\colon A\times B\to C$ preserving the sum of the semi-metrics, we have $u_*(\mu_{\boldsymbol{A}}\otimes\mu_{\boldsymbol{B}})=\mu_{\boldsymbol{C}}$. \end{enumerate} \begin{theorem}\label{prop:cost-compatible-finite-family} Let $\mathcal F$ be an at most countable family of compact spaces $\boldsymbol{A}=(A,c_A)$ with continuous semi-metrics. Then there exists a product-compatible family $\{\mu_{\boldsymbol{A}}\}_{\boldsymbol{A}\in\mathcal F}$ of probability measures of full support. \end{theorem} \begin{proof} If $\mathcal F=\emptyset$, both conditions are vacuous. Otherwise use \Cref{lem:cost-common-scales} to choose common scales such that on every space the series \eqref{eq:cost-maximizing-functional} converges uniformly to a finite function. On each space take its maximizing measure, which is unique and has full support by \Cref{lem:cost-maximizer,lem:cost-maximizer-support}. By \Cref{lem:cost-homeomorphism}, a semi-metric-preserving bijection between such spaces is a homeomorphism. Take $\boldsymbol{A}=(A,c_A),\,\boldsymbol{B}=(B,c_B)\in\mathcal F$ and such a bijection $v\colon A\to B$. By \eqref{eq:cost-invariance} and the common choice of coefficients, $\Psi_{\boldsymbol{B}}(v_*\nu)=\Psi_{\boldsymbol{A}}(\nu)$ for $\nu\in\ProbabilityMeasures(A)$. Since $v_*$ is a bijection between $\ProbabilityMeasures(A)$ and $\ProbabilityMeasures(B)$, \[ \Psi_{\boldsymbol{B}}(v_*\mu_{\boldsymbol{A}})=\max_{\nu\in\ProbabilityMeasures(A)}\Psi_{\boldsymbol{A}}(\nu) =\max_{\rho\in\ProbabilityMeasures(B)}\Psi_{\boldsymbol{B}}(\rho). \] Uniqueness of the maximizer yields $v_*\mu_{\boldsymbol{A}}=\mu_{\boldsymbol{B}}$, proving condition~\ref{item:cost-compatible-bijection}. Fix $\boldsymbol{A}=(A,c_A),\,\boldsymbol{B}=(B,c_B),\,\boldsymbol{C}=(C,c_C)\in\mathcal F$ and a bijection $u\colon A\times B\to C$ preserving the sum of the semi-metrics. Let $\nu\in\ProbabilityMeasures(A\times B)$ have first and second marginals $\alpha,\beta$, respectively. By \eqref{eq:cost-invariance}, for each $N\in\Z_{\ge 0}$ we have \[ \sum_{j=0}^{N}\frac{\RateDistortionValue{\lambda_j}(\boldsymbol{A}\times\boldsymbol{B},\nu)}{\lambda_j} =\sum_{j=0}^{N}\frac{\RateDistortionValue{\lambda_j}(\boldsymbol{C},u_*\nu)}{\lambda_j}. \] Since $\boldsymbol{C}\in\mathcal F$, the partial sums on $\ProbabilityMeasures(C)$ converge uniformly to $\Psi_{\boldsymbol{C}}$. Composing with $u_*\colon\ProbabilityMeasures(A\times B)\to\ProbabilityMeasures(C)$, we see that both sides, as functions of $\nu\in\ProbabilityMeasures(A\times B)$, converge uniformly to $\nu\mapsto\Psi_{\boldsymbol{C}}(u_*\nu)$. Applying \eqref{eq:cost-subadditivity} term by term yields \begin{equation}\label{eq:cost-maximal-product-bound} \begin{aligned} \Psi_{\boldsymbol{C}}(u_*\nu)=\Psi_{\boldsymbol{A}\times\boldsymbol{B}}(\nu) &\leq\Psi_{\boldsymbol{A}}(\alpha)+\Psi_{\boldsymbol{B}}(\beta)\\ &\leq\Psi_{\boldsymbol{A}}(\mu_{\boldsymbol{A}})+\Psi_{\boldsymbol{B}}(\mu_{\boldsymbol{B}}), \end{aligned} \end{equation} where the last inequality uses maximality on each factor. By \eqref{eq:cost-additivity} the rightmost value is attained at $\nu=\mu_{\boldsymbol{A}}\otimes\mu_{\boldsymbol{B}}$. For every $\sigma\in\ProbabilityMeasures(C)$, taking $\nu=(u^{-1})_*\sigma$ yields $u_*\nu=\sigma$. Thus $u_*(\mu_{\boldsymbol{A}}\otimes\mu_{\boldsymbol{B}})$ maximizes $\Psi_{\boldsymbol{C}}$ and equals $\mu_{\boldsymbol{C}}$ by uniqueness. This proves condition~\ref{item:cost-compatible-product}. \end{proof} Equip finite ordered products with the sum of the factor semi-metrics. For $\boldsymbol{A}=(A,c_A)$ and $\boldsymbol{B}=(B,c_B)$, identify the products by concatenating coordinates. Compatibility with product measures then reads \begin{equation}\label{eq:cost-compatible-product} \mu_{\boldsymbol{A}\times\boldsymbol{B}}=\mu_{\boldsymbol{A}}\otimes\mu_{\boldsymbol{B}},\end{equation} and compatibility with a semi-metric-preserving bijection $u\colon A\to B$ reads \begin{equation}\label{eq:cost-compatible-bijection} u_*\mu_{\boldsymbol{A}}=\mu_{\boldsymbol{B}}.\end{equation} \begin{corollary}\label{prop:cost-compatible-measures} Let $\{(M_i,c_i)\}_{i\in I}$ be an at most countable family of compact spaces with continuous semi-metrics. Form all ordered products of a positive finite number of its members, allowing repetition, and use the sum of their semi-metrics. Then there exists a family of full-support probability measures on all these products satisfying \eqref{eq:cost-compatible-product} and \eqref{eq:cost-compatible-bijection} simultaneously. \end{corollary} \begin{proof} The set $\mathcal I=\bigcup_{k=1}^{\infty}I^k$ of finite words is at most countable. For a word $\boldsymbol i=(i_0,\ldots,i_{k-1})$ put $M_{\boldsymbol i}=\prod_{a=0}^{k-1}M_{i_a}$, and for $x,y\in M_{\boldsymbol i}$ define $c_{\boldsymbol i}(x,y)=\sum_{a=0}^{k-1}c_{i_a}(x_a,y_a)$. Set $\boldsymbol{M}_{\boldsymbol i}=(M_{\boldsymbol i},c_{\boldsymbol i})$ and apply \Cref{prop:cost-compatible-finite-family} to the family $\{\boldsymbol{M}_{\boldsymbol i}\}_{\boldsymbol i\in\mathcal I}$. Compatibility with bijections yields \eqref{eq:cost-compatible-bijection}. For any two words $\boldsymbol i,\boldsymbol j\in\mathcal I$, the bijection obtained by concatenating coordinates, \[ \begin{aligned} \iota_{\boldsymbol i,\boldsymbol j}\colon M_{\boldsymbol i}\times M_{\boldsymbol j}&\to M_{\boldsymbol i\boldsymbol j},\\ ((x_0,\ldots,x_{k-1}),(y_0,\ldots,y_{l-1}))&\mapsto(x_0,\ldots,x_{k-1},y_0,\ldots,y_{l-1}) \end{aligned} \] preserves the sum semi-metric. Product compatibility yields $(\iota_{\boldsymbol i,\boldsymbol j})_*(\mu_{\boldsymbol{M}_{\boldsymbol i}}\otimes\mu_{\boldsymbol{M}_{\boldsymbol j}})=\mu_{\boldsymbol{M}_{\boldsymbol i\boldsymbol j}}$, which under this identification is \eqref{eq:cost-compatible-product}. \end{proof} For each $\boldsymbol{A}=(A,c_A)$ we call the measure $\mu_{\boldsymbol{A}}$ selected in this corollary a \emph{product-compatible maximizing measure} for the prescribed family. Together the measures form a \emph{product-compatible system of maximizing measures}. The common scales may depend on the family. For cancellation and uniqueness of roots we start with the finite family of factors that occur in the isometry.