\section{Introduction}\label{sec:introduction} In Problem 77(b) of the \emph{Scottish Book}, Ulam asked whether two metric spaces with isometric squares must themselves be isometric. He used the Euclidean product metric as an example (\cite[Problem~77(b), p.~21]{UlamScottish1977}) and later explicitly included the maximum product metric (\cite[Chapter~III, Section~3, p.~39]{Ulam1960}). Let $d,e$ be the restrictions of the usual metric on the real line to $\mathbb Q$ and $\sqrt{2}\,\mathbb Q$, respectively. Fournier showed that $\MetricSpace{\mathbb Q}{d}$ and $\MetricSpace{\sqrt{2}\,\mathbb Q}{e}$ are not isometric, although rotation of the plane through $\pi/4$ restricts to an isometry between their Euclidean squares (\cite[p.~622]{Fournier1971}). In 1987 Mauldin and Ulam reported that the square problem remained open for compact metric spaces and for complete metric spaces. They cited a 1945 paper of Kelly (\cite{Kelly1945}) establishing sufficient conditions for recovering the spaces from their squares when one space is finite (\cite[Section~IV.2, p.~309]{MauldinUlam1987}). Moszy\'nska formulated two problems for compact metric spaces. The \emph{cancellation problem} asks whether two spaces must be isometric if their products with a common factor are isometric. The \emph{generalized Ulam problem} asks, for every positive integer $n$, whether isometric $n$th powers have isometric base spaces (\cite[Section~5, p.~156]{Moszynska1992}). In 1994 Herburt recorded that both problems were open for the Euclidean product metric on general compact metric spaces (\cite[p.~156]{Herburt1994}). We prove cancellation of a common factor and uniqueness of finite roots for nonempty compact metric spaces $\MetricSpace{X}{d}$, $\MetricSpace{Y}{e}$, and $\MetricSpace{K}{\rho}$. For example, when $1\leq p<\infty$, write $d\times_p\rho$ for the $\ell^p$ product metric formed from $d$ and $\rho$, and $d^{\times_p n}$ for the $n$-fold $\ell^p$ product metric formed from $d$. The two assertions then read \[ \begin{aligned} \MetricSpace{X\times K}{d\times_p\rho}\cong\MetricSpace{Y\times K}{e\times_p\rho} &\ \Longrightarrow\ \MetricSpace{X}{d}\cong\MetricSpace{Y}{e},\\ \MetricSpace{X^n}{d^{\times_p n}}\cong\MetricSpace{Y^n}{e^{\times_p n}} &\ \Longrightarrow\ \MetricSpace{X}{d}\cong\MetricSpace{Y}{e}, \end{aligned} \] where $\cong$ denotes isometry and $n\geq2$ is any integer. For the $\ell^p$ product with $p=2$, \Cref{cor:finite-p-cancellation} answers the cancellation problem recorded by Herburt and \Cref{cor:finite-p-roots} answers the generalized Ulam problem. A metric space is \emph{proper} if every closed bounded subset is compact. Lytchak proved uniqueness of finite roots for Euclidean products of proper metric spaces (\cite[Theorem~A]{Lytchak2026}). He also constructed two closed subsets of a separable Hilbert space that have isometric Euclidean squares although the subsets themselves are not isometric (\cite[Theorem~B]{Lytchak2026}). Thus the square problem has a negative answer for general complete metric spaces. Lytchak's decomposition theorem also implies cancellation for compact metric spaces (\cite[Theorem~D, p.~2]{Lytchak2026}). It decomposes a proper metric space into a Euclidean factor and an $\ell^2$ product of pointed irreducible factors. For a compact metric space $\MetricSpace{P}{D}$, the Euclidean factor $\MetricSpace{\mathbb R^m}{d_2}$, with Euclidean metric $d_2$, is compact as the image of a continuous coordinate projection. Hence $m=0$. Each remaining irreducible factor $\MetricSpace{P_i}{d_i}$, for $i\in I$, is likewise compact. Given a finite set $J\subseteq I$, choose two points realizing the diameter in each of its coordinates and fix all other coordinates at their basepoints. This yields \[ \sum_{i\in J}\bigl(\diam_{d_i}P_i\bigr)^2\leq\bigl(\diam_D P\bigr)^2. \] By the uniqueness assertion in Lytchak's Theorem~D, an isometry between the two products matches their irreducible factor fibers through corresponding basepoints up to permutation. Thus each nontrivial irreducible isometry type has the same total multiplicity in the two products. Since this type has positive diameter, the diameter bound makes its multiplicity finite. We may therefore subtract its multiplicity in the common factor from both totals. Choose isometries between the remaining matching factors. The distance from the image of each basepoint to the corresponding basepoint is bounded by the diameter of that factor, so these distances are square summable. The product of the chosen isometries therefore defines an isometry of the two $\ell^2$ products. For $1\leq p\leq2$, raising each metric to the power $p/2$ turns the $\ell^p$ product into a Euclidean product and yields the same two conclusions. We prove both assertions by a measure-theoretic argument throughout the range $1\leq p<\infty$. Part I concerns products whose distances, after a change of scale, are sums of transformed coordinate distances. Let $h,\psi\colon[0,\infty)\to[0,\infty)$ be continuous and strictly increasing with $h(0)=\psi(0)=0$. Set $F(s,t)=\psi(h(s)+h(t))$ and use the formula \[ (d\times_F e)((x,y),(z,w)) =\psi\bigl(h(d(x,z))+h(e(y,w))\bigr) \] to assign a value to a pair of points in $X\times Y$. If this rule defines metrics on both $X\times K$ and $Y\times K$, the common factor can be cancelled (\Cref{thm:general-cancellation}). For each integer $n\geq2$, assign to the $n$ coordinate distances $s_0,\ldots,s_{n-1}$ the value $\psi(\sum_{i=0}^{n-1}h(s_i))$. If this formula defines metrics on both $X^n$ and $Y^n$, isometric powers have isometric base spaces (\Cref{prop:general-roots}). The transformed function $c_X=h\circ d$ need not satisfy the triangle inequality. We treat it as a continuous semi-metric in the sense of \Cref{def:cost-space}. For every $1\leq p<\infty$ the choices $h(s)=s^p$ and $\psi(t)=t^{1/p}$ establish both conclusions for the $\ell^p$ product metric. The representation by an additive generator also yields cancellation and uniqueness of roots for products defined by metrical functions. Part II treats the maximum product, whose metric has no such additive representation and is given by \[ (d\boxt e)((x,y),(z,w)) =\max\{d(x,z),e(y,w)\}. \] For maximum products of nonempty finite metric spaces, cancellation and uniqueness of finite roots follow from Lov\'asz's theorem on direct products in locally finite categories (\cite[Theorems~1--2, pp.~320--321]{Lovasz1972DirectProduct}). \Cref{thm:cancellation,thm:roots} establish both conclusions for all nonempty compact metric spaces. Without compactness, Lemin's theorem yields complete ultrametric spaces of diameter at most $1$ whose squares are isometric although their base spaces are not even homeomorphic (\cite[Section~2, p.~431]{Lemin1988}). An isometry $u$ between products need not act coordinatewise. Applying $u$ to each point of a finite tuple nevertheless preserves all pairwise distances. We choose probability measures on the domain and codomain of $u$. For each $m\geq2$ we compare the pushforwards of their $m$-fold product measures under the respective distance matrix maps. These pushforwards agree if $u$ sends the chosen measure on its domain to the chosen measure on its codomain. To obtain a product formula for distance matrices, we also require the measure on a product to be the product of the measures on its factors. For example, given $u\colon \MetricSpace{X\times K}{d\boxt \rho}\to \MetricSpace{Y\times K}{e\boxt \rho}$, we require \[ u_*(\CoverMaxMeasure{d}\otimes\CoverMaxMeasure{\rho})=\CoverMaxMeasure{e}\otimes\CoverMaxMeasure{\rho}. \] Here the subscripts $d,e,\rho$ are the metrics on the spaces carrying the respective measures. The \emph{support} $\supp\mu$ of a probability measure $\mu$ on a compact metric space $\MetricSpace{M}{d}$ consists of those points for which every open neighborhood has positive $\mu$-measure. We say that $\mu$ has \emph{full support} if $\supp\mu=M$. Every finite distance matrix realized in $M$ then belongs to the support of the pushforward of the corresponding finite power of $\mu$ under the distance matrix map (\Cref{lem:distance-law-support}). Our choice of measure is guided by the amount of information needed to describe a point to a prescribed accuracy for a fixed input measure. In both parts we use this information to construct a functional that is additive on product measures and select the measure that maximizes it. We begin on a finite set by asking what a reproduced value tells us about the original point. \subsection*{Relative entropy and mutual information} Given a probability space $(\Omega,\mathcal F,\PP)$ and a measurable space $(S,\mathcal S)$, an $S$-valued \emph{random variable} is a measurable map $Z\colon(\Omega,\mathcal F)\to(S,\mathcal S)$. The \emph{pushforward} $Z_*\PP$ of $\PP$ under $Z$ is the probability measure on $S$ given by $(Z_*\PP)(E)=\PP(Z^{-1}(E))$ for $E\in\mathcal S$. We equip each finite set with the $\sigma$-algebra of all its subsets. When a topological space $S$ is the target of a random variable, we use its Borel sets $\mathcal B(S)$. A parcel is equally likely to be delivered to any of four addresses $\mathcal A=\{a_0,a_1,b_0,b_1\}$. The letters denote two city blocks, and the subscripts distinguish the two houses on each block. The sender observes the address, given by a measurable map $Z\colon\Omega\to\mathcal A$. The address reported by the receiver is the \emph{reproduction}, given by a measurable map $\widehat Z\colon\Omega\to\mathcal A$. Reporting the full address identifies the house. Reporting only the block leaves two possibilities. We measure this difference by the length needed to describe an address. Consider probability measures $\rho,\sigma$ on a measurable space $(\Omega,\mathcal F)$. We write $\rho\ll\sigma$ if $\sigma(E)=0$ implies $\rho(E)=0$ for every $E\in\mathcal F$. Write $\log$ for the natural logarithm and set $0\log 0=0$. The \emph{relative entropy}, or \emph{Kullback--Leibler divergence}, of $\rho$ with respect to $\sigma$ is \[ \RelativeEntropyFormula. \] Here we follow Polyanskiy and Wu (\cite[Definition~2.1]{PolyanskiyWu2022Draft}). When $\rho\ll\sigma$, the density $w$ satisfies $\rho(E)=\int_E w\,d\sigma$. \begin{theorem}[{Gibbs' inequality, Polyanskiy and Wu, \cite[Theorem~2.3]{PolyanskiyWu2022Draft}}]\label{thm:gibbs-information} For probability measures $\rho,\sigma$ on the same measurable space, $D(\rho\Vert\sigma)\geq0$, with equality if and only if $\rho=\sigma$. \end{theorem} The four addresses can be encoded by $00,01,10,11$, using two bits per address. A sender who expects the four addresses to occur with probabilities $1/2,1/4,1/8,1/8$ might instead assign them the codewords $0,10,110,111$. These codewords can be read from a continuous stream because none is a prefix of another. Under the actual, uniform probabilities, the second code has mean length $(1+2+3+3)/4=9/4$ bits. The change in the assumed probabilities costs an average of $1/4$ bit per address. More generally, let $\rho_s=\rho(\{s\})$ be the actual probability of a symbol $s$ in a finite set $S$ and let $\sigma_s=\sigma(\{s\})$ be the probability used to describe it. The \emph{ideal code length} corresponding to probability $p>0$ is $-\log p$. With natural logarithms a length of $\log 2$ corresponds to one bit. If $\rho\ll\sigma$, the two mean ideal code lengths differ by \[ \sum_{\rho_s>0}\rho_s(-\log\sigma_s) -\sum_{\rho_s>0}\rho_s(-\log\rho_s) =\sum_{\rho_s>0}\rho_s\log\frac{\rho_s}{\sigma_s}=D(\rho\Vert\sigma). \] The sums run over $s\in S$ with $\rho_s>0$, where the density is $w(s)=\rho_s/\sigma_s$. The first sum is the \emph{cross entropy} of $\rho$ and $\sigma$ (\cite[Eq.~(3.51)]{GoodfellowBengioCourville2016}). In the address example all the ideal lengths are integers when expressed in bits, so the difference equals the increase in the actual mean code length. In general, there is a binary prefix code with lengths $\lceil-\log_2\sigma_s\rceil$ for $\sigma_s>0$. Rounding up adds less than one bit on average (Cover and Thomas, \cite[Theorem~5.4.3, Eq.~(5.42), p.~89]{CoverThomas1991}). For finite-valued measurable maps $Z,\widehat Z$ on a probability space $(\Omega,\mathcal F,\PP)$, their \emph{joint measure} is the pushforward $\pi=(Z,\widehat Z)_*\PP$ under $\omega\mapsto(Z(\omega),\widehat Z(\omega))$. Write $\pi_1=\mu=Z_*\PP$ and $\pi_2=\widehat Z_*\PP$ for its marginals. The independent coupling with first marginal $\mu$ and second marginal $\pi_2$ is their product $\mu\otimes\pi_2$. The \emph{mutual information} of $Z$ and $\widehat Z$ is the relative entropy $D(\pi\Vert\mu\otimes\pi_2)$ of their joint measure $\pi$ with respect to the product $\mu\otimes\pi_2$ of its marginals. We denote it by $I(Z;\widehat Z)$ or $I_\pi$ (\cite[Definition~1.3.5]{ChambertLoir2022}). For a pair $(z,\hat z)$ of positive probability we have \[ \frac{\mathbb P(Z=z,\widehat Z=\hat z)}{\mathbb P(Z=z)\mathbb P(\widehat Z=\hat z)} =\frac{\mathbb P(Z=z\mid\widehat Z=\hat z)}{\mathbb P(Z=z)}. \] Thus $I_\pi$ is the mean reduction in ideal code length when one uses the observed reproduction to describe the input, compared with using only the input measure $\mu$. The equality condition in \Cref{thm:gibbs-information} shows that $I_\pi=0$ if and only if $Z$ and $\widehat Z$ are independent. \subsection*{An introduction to rate--distortion theory} In the address example, assign distortion zero to the correct house and one to any other house. The mean distortion is the probability of an incorrect address, $\PP(Z\ne\widehat Z)$. If only the block is sent, let the receiver report house $0$ on that block. Knowing the block reduces four equally likely addresses to two, conveying one bit about the address. The table compares mean distortion and mutual information for the three rules. \[ \begin{array}{@{}lcc@{}} \text{Address reported} & \text{Mean distortion} & \text{Mutual information (bits)}\\ \hline \text{Actual address} &0&2\\ \text{House $0$ on the correct block} &1/2&1\\ \text{Always }a_0 &3/4&0 \end{array} \] Can a sender describing many addresses together use less than one bit per address while keeping the mean distortion at most $1/2$? Rate--distortion theory encodes a long input sequence by a single index and reconstructs the sequence from that index. It asks how small the information sent per input can be as the block length increases. Fix nonempty finite sets $\mathcal Z$ of input values and $\widehat{\mathcal Z}$ of possible decoder outputs in each coordinate. The choice of reproduction alphabet is part of the problem. For example, the output might be one of four houses or one of two blocks. This choice and the distortion function determine what counts as a correct reproduction. Let $\mu$ be a probability measure on $\mathcal Z$ and $c\colon\mathcal Z\times\widehat{\mathcal Z}\to[0,\infty)$ a \emph{distortion function}. The input $Z$ is a measurable map from a probability space $(\Omega,\mathcal F,\mathbb P)$ to $\mathcal Z$ with $Z_*\mathbb P=\mu$. Thus \[ \mathbb P\{Z=z\}=\mu(\{z\})\qquad(z\in\mathcal Z). \] For an input sequence of length $m$, equip $\mathcal Z^m$ with the product measure $\mu^{\otimes m}$. For $0\leq i0$ there exists an integer $m_0$ such that, for each $m\geq m_0$, a single code of length $m$ satisfies both bounds \[ r_m\leq R_{\mu,c}(\Delta)+\varepsilon,\qquad \Delta_m\leq\Delta+\varepsilon. \] For the four addresses, coding a long sequence can achieve a lower rate than reporting the block for each address separately. \begin{example}\label{ex:four-address-rate} Let $\mu$ be uniform on the four addresses, and let $c(z,\hat z)=\mathbf1_{\{z\ne\hat z\}}$. At mean distortion at most $1/2$, the required asymptotic rate is $R_{\mu,c}(1/2)/\log 2=1-\tfrac12\log_2 3$ bits per address, or about $0.208$ bits. \end{example} \begin{proof} Given the input address, report it with probability $1/2$ and report each of the other three addresses with probability $1/6$. The reproduction is uniform. Given a reported address $\hat z$, the conditional probability $w_{\hat z}(z)$ of input $z$ is $1/2$ if $z=\hat z$ and $1/6$ otherwise. This rule has mean distortion $1/2$ and mutual information $\tfrac12\log 2+\tfrac12\log(2/3)$. Conversely, consider any rule with error probability $\varepsilon\leq1/2$. For every $\hat z$ of positive probability, apply Gibbs' inequality (\Cref{thm:gibbs-information}) to the conditional input probabilities and $w_{\hat z}$. Averaging over the reported addresses yields \[ I(Z;\widehat Z)\geq\EE[\log(4w_{\widehat Z}(Z))] =(1-\varepsilon)\log 2+\varepsilon\log(2/3) \geq\log 2-\tfrac12\log 3. \] The first rule attains this lower bound, so the stated rate follows from \eqref{eq:rate-distortion-function}. \end{proof} For a general distortion function $c$, the smallest possible mean distortion is \[ \Delta_{\min}=\sum_{z\in\mathcal Z}\mu(\{z\})\min_{\hat z\in\widehat{\mathcal Z}}c(z,\hat z). \] Every code satisfies $\Delta_m\geq\Delta_{\min}$, and every joint measure with first marginal $\mu$ satisfies $\int c\,d\pi\geq\Delta_{\min}$. Thus for $\Delta<\Delta_{\min}$ both \eqref{eq:operational-rate} and \eqref{eq:rate-distortion-function} equal $+\infty$, with the infimum of the empty set taken to be $+\infty$. If $\Delta\geq\Delta_{\min}$, choose a minimizer of $c(z,\cdot)$ for each $z$ and reproduce $z$ by that point. The resulting joint measure has mean distortion $\Delta_{\min}$, so the admissible set in \eqref{eq:rate-distortion-function} is nonempty. For a source of independent symbols, Shannon proved a lower bound on the rate of every code at a given distortion (\cite[Theorem~1]{Shannon1959RateDistortion}) and constructed codes approaching this bound with long blocks (\cite[Theorem~2]{Shannon1959RateDistortion}). For finite input and reproduction alphabets with mean distortion in the range $\Delta_{\min}<\Delta<\min_{\hat z\in\widehat{\mathcal Z}}\sum_{z\in\mathcal Z}\mu(\{z\})c(z,\hat z)$, Wolfowitz also identified the asymptotic minimum rate with the same minimum of mutual information (\cite[Section~11.4]{Wolfowitz1978}). The upper endpoint is the least mean distortion achievable with a constant reproduction. \smallskip\noindent\textbf{Coding temperatures and images.} Consider temperatures from $0$ to $50$ degrees, recorded in increments of $0.01$ degrees and displayed in increments of $0.5$ degrees. The alphabets are \[ \mathcal Z=\{k/100\mid k=0,\ldots,5000\},\qquad \widehat{\mathcal Z}=\{k/2\mid k=0,\ldots,100\}. \] For a code sending one temperature at a time, take $N_1=101$ and, for each index $j\in\{1,\ldots,N_1\}$, set $g_1(j)=(j-1)/2$. Choose $e_1(z)$ as the index of the reproduction value closest to $z$, breaking ties by choosing the smaller index. For example, $23.47\xrightarrow{\ e_1\ }48\xrightarrow{\ g_1\ }23.5$. Under the distortion $c(z,\hat z)=|z-\hat z|$ the error for this input is $0.03$ degrees and the rate is $r_1=\log 101$. Lossy image compression takes account of both code length and reconstruction error. Baseline JPEG partitions each image component into $8\times8$ blocks and applies a discrete cosine transform to each block. Each coefficient is divided by the corresponding quantization step and rounded to the nearest integer (\cite[A.3.4]{ITUJPEG1992}). The resulting coefficients are encoded (\cite[F.1.1.2]{ITUJPEG1992}). For a grayscale image of $n$ pixels encoded in $B$ bits, write the value of pixel $0\leq i0$ and minimize mutual information plus $\lambda$ times mean distortion. Denote this minimum by $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ (\Cref{prop:rate-distortion}). The two quantities satisfy \[ \RateDistortionValue{\lambda}(\boldsymbol{M},\mu) =\min_{\substack{\pi\in\ProbabilityMeasures(M\times M)\\\pi_1=\mu}} \left\{I_\pi+\lambda\int c_M\,d\pi\right\} =\inf_{\Delta\geq0}\{R_{\mu,c_M}(\Delta)+\lambda\Delta\}. \] On the right we also vary the allowable distortion $\Delta$. For each joint measure $\pi$ the admissible range of $\Delta$ is $\Delta\geq\int c_M\,d\pi$, and $\lambda\Delta$ is minimized on that range at $\Delta=\int c_M\,d\pi$. For a fixed input measure $\mu$, a smaller $\lambda$ puts less weight on mean distortion in the objective. For each $\lambda>0$ choose an optimal joint measure $\pi^\lambda$. For any joint measure $\pi$ write $\bar c_M(\pi)=\int_{M\times M}c_M(x,y)\,d\pi(x,y)$ for its mean distortion. The chosen reproduction has mutual information $I_{\pi^\lambda}$ and mean distortion $\bar c_M(\pi^\lambda)$. For any joint measure $\pi$ with first marginal $\mu$ and mean distortion at most $\bar c_M(\pi^\lambda)$, optimality of $\pi^\lambda$ yields $I_\pi-I_{\pi^\lambda}\geq\lambda(\bar c_M(\pi^\lambda)-\int_{M\times M}c_M\,d\pi)\geq0$. Since $\pi^\lambda$ also satisfies the constraint, we obtain \begin{equation}\label{eq:optimal-rate-distortion} I_{\pi^\lambda}=R_{\mu,c_M}(\bar c_M(\pi^\lambda)). \end{equation} Thus $(\bar c_M(\pi^\lambda),I_{\pi^\lambda})$ belongs to the \emph{rate--distortion curve}, the graph of $\Delta\mapsto R_{\mu,c_M}(\Delta)$. Let $0<\lambda<\eta$. Comparing the objective at $\pi^\lambda$ and $\pi^\eta$ for each of the coefficients $\lambda$ and $\eta$ yields \[ \lambda(\bar c_M(\pi^\lambda)-\bar c_M(\pi^\eta))\leq I_{\pi^\eta}-I_{\pi^\lambda}\leq\eta(\bar c_M(\pi^\lambda)-\bar c_M(\pi^\eta)). \] Hence $\bar c_M(\pi^\eta)\leq\bar c_M(\pi^\lambda)$ and $I_{\pi^\lambda}\leq I_{\pi^\eta}$. As $\lambda$ increases, the mean distortion of an optimal reproduction is nonincreasing and the information it retains about the input is nondecreasing. In the two-point example in Section~\ref{subsec:cost-optimal-reproduction}, the mutual information remains zero throughout $0<\lambda\leq\log 3$. Reproducing every input by the same point $a$ requires zero mutual information. When the input measure is $\delta_a$, reproduction at $a$ also has zero distortion, so $\RateDistortionValue{\lambda}(\boldsymbol{M},\delta_a)=0$ for every $\lambda>0$. The smallest mean distortion achievable in this way is $\Delta_{\max}=\min_{a\in M}\int_M c_M(x,a)\,d\mu(x)$ (Polyanskiy and Wu, \cite[Theorem~24.4(d) and Remark~24.4, p.~418]{PolyanskiyWu2022Draft}). The bounds $0\leq I_{\pi^\lambda}\leq\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)\leq\lambda\Delta_{\max}$ imply that $I_{\pi^\lambda}$ and $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ tend to zero as $\lambda\downarrow0$. Set $C=\max_{M\times M}c_M$. By \Cref{prop:cost-small-scale-distortion}, $0\leq\Delta_{\max}-\bar c_M(\pi^\lambda)\leq C^2\lambda/4$, so $\bar c_M(\pi^\lambda)\to\Delta_{\max}$. By \Cref{cor:cost-small-scale-information}, $I_{\pi^\lambda}\leq C^2\lambda^2/8$. Both constants are sharp on the uniform two-point space (\eqref{eq:cost-sharp-binary}). As $\lambda\to\infty$, we have $\bar c_M(\pi^\lambda)\to0$, and the optimal joint measures converge weakly to the joint measure for exact reproduction. If $\mu$ is concentrated on at most countably many points, the limit of $I_{\pi^\lambda}$ is the Shannon entropy of its point masses. If the nonatomic part has positive mass, then $I_{\pi^\lambda}\to+\infty$ (\Cref{lem:cost-diagonal-limit,thm:self-mutual-information,cor:cost-information-limit}). The reproduction marginal also converges weakly to $\mu$. Thus for two distinct input measures there is no common optimal reproduction measure for sufficiently large $\lambda$. In \Cref{lem:cost-strictness} we use this fact to obtain the strict concavity inequality for their mixture. In Part II choose a metric $d$ inducing the topology of $M$. We measure diameters and scales in the compact metric space $\MetricSpace{M}{d}$. The input alphabet is $\mathcal Z=M$. For each finite open cover $\mathcal U=\{U_j\}_{j=1}^L$, the reproduction alphabet is the set $\widehat{\mathcal Z}=Y=\{1,\ldots,L\}$ of its labels. Equip $M\times Y$ with a joint measure $\pi$ whose first marginal is $\mu$. The random input $Z\colon M\times Y\to M$ and the reproduction label $J\colon M\times Y\to Y$ are the coordinate projections $Z(z,j)=z$ and $J(z,j)=j$. The label $j$ specifies $U_j$ as the reproduction set. The distortion $c_{\mathcal U}(z,j)=\mathbf1_{M\setminus U_j}(z)$ is zero if $z\in U_j$ and one otherwise. At zero mean distortion the selected set contains the input point almost surely, that is, $\pi\{(z,j)\in M\times Y\mid z\in U_j\}=1$. Fix $r>0$ as the desired resolution and require each cover element to have diameter less than $r$. For example, given GPS coordinates $z$ on a map, send the index $j$ of a region $U_j$ satisfying $z\in U_j$. The receiver displays $U_j$ on the map. In the variational definition on $M\times Y$, take $c=c_{\mathcal U}$ and $\Delta=0$. The infimum of $R_{\mu,c_{\mathcal U}}(0)$ over all finite open covers satisfying the diameter restriction equals $H_r(\MetricSpace{M}{d},\mu)$ (\Cref{prop:cover-zero-distortion}). So far we have fixed the input measure $\mu$ and optimized the reproduction. For input and reproduction in the same metric space $\MetricSpace{M}{d}$, with $d$ as distortion, Polyanskiy and Wu compare $\sup_{\mu\in\ProbabilityMeasures(M)}R_{\mu,d}(\Delta)$ for $\Delta>0$ with logarithms of covering and packing numbers (\cite[Theorem~27.16]{PolyanskiyWu2022Draft}). For compact $\MetricSpace{M}{d}$ these numbers are finite at every positive scale. We vary the input measure $\mu$ as well and use several scales to select a probability measure on each space. Fix distinct input measures $\mu_0,\mu_1$. In Part I, for all sufficiently large $\lambda$, the strict concavity inequality for $\RateDistortionValue{\lambda}(\boldsymbol{M},\cdot)$ holds for this pair at every mixing weight $0