\section{The rate--distortion functional for continuous semi-metrics}\label{sec:cost-information} In Section~\ref{sec:cost-measures} we shall select an input measure $\mu_{\boldsymbol{M}}$ on each space $\boldsymbol{M}=(M,c_M)$ by maximizing the sum of the values $\RateDistortionValue{\lambda_j}(\boldsymbol{M},\mu)/\lambda_j$ over scales $\lambda_j$. Here we prove the single-scale estimates needed for this choice. For a fixed input measure $\mu$, minimization over an auxiliary measure $q$ yields an optimal reproduction measure and a coupling with that second marginal. As $\lambda$ increases, the mean distortion of the coupling tends to zero. For two fixed distinct input measures we use this limit to prove that, for sufficiently large $\lambda$, $\RateDistortionValue{\lambda}(\boldsymbol{M},\cdot)$ satisfies the strict concavity inequality (\Cref{lem:cost-strictness}). This implies uniqueness of the maximizing measure in the next section. For $z\notin\supp\mu$ and $\mu_t=(1-t)\mu+t\delta_z$, we estimate the right derivative at $t=0$ of $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu_t)-(1-t)\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ (\Cref{cor:cost-off-support,lem:cost-insertion}). This lower bound will imply that the maximizing measure has full support. \subsection{Continuous semi-metrics and their products} In the cancellation proof we add two transformed distance functions on a product. The transformation can destroy the triangle inequality, so we specify the topology and the values assigned to pairs of points separately. \begin{definition}[Continuous semi-metrics]\label{def:cost-space} A \emph{continuous semi-metric} on a nonempty compact metrizable space $M$ is a continuous function $c_M\colon M\times M\to[0,\infty)$ such that for every $x,y\in M$ we have \[ c_M(x,y)=c_M(y,x),\qquad c_M(x,y)=0\ \Longleftrightarrow\ x=y. \] We call the pair $\boldsymbol{M}=(M,c_M)$ a \emph{compact space with a continuous semi-metric}. We impose no triangle inequality. For two such spaces $(A,c_A)$ and $(B,c_B)$, equip $A\times B$ with the product topology and define its continuous semi-metric $c_{A\times B}$, for two points $(x,y),(z,w)\in A\times B$, by \begin{equation}\label{eq:sum-cost} c_{A\times B}((x,y),(z,w))=c_A(x,z)+c_B(y,w).\end{equation} For $\boldsymbol{A}=(A,c_A)$ and $\boldsymbol{B}=(B,c_B)$ write $\boldsymbol{A}\times\boldsymbol{B}=(A\times B,c_{A\times B})$ for this product. Given a bijection $u\colon A\to B$, we say that $u$ \emph{preserves the semi-metrics} if $c_B(u(x),u(y))=c_A(x,y)$ for all $x,y\in A$. \end{definition} In our terminology a pseudometric satisfies the triangle inequality. For example, if $\MetricSpace{M}{d}$ is a compact metric space and $h\colon[0,\infty)\to[0,\infty)$ is continuous and strictly increasing with $h(0)=0$, then $c_M=h\circ d$ is a continuous semi-metric. Taking $h(t)=t^p$ with $p>1$ need not produce a metric. Neighborhoods and weak convergence refer to the specified compact topology on $M$. When a distance estimate requires a compatible metric, we choose an auxiliary metric $\rho$. The next lemma allows us to transport Borel probability measures by semi-metric-preserving bijections. \begin{lemma}\label{lem:cost-homeomorphism} Let $(M,c_M)$ and $(N,c_N)$ be compact spaces with continuous semi-metrics and let $u\colon M\to N$ be a bijection. If $u$ preserves the semi-metric, then $u$ is a homeomorphism. \end{lemma} \begin{proof} Let $\{x_j\}_{j\in\Z_{\ge 0}}$ be a sequence converging to $x\in M$. Then \[ c_N(u(x_j),u(x))=c_M(x_j,x)\to0.\] For any subsequence with $u(x_{j_k})\to y$, continuity of $c_N$ implies \[ c_N(y,u(x))=\lim_{k\to\infty}c_N(u(x_{j_k}),u(x))=0, \] so the zero set of the semi-metric forces $y=u(x)$. Since $N$ is compact metrizable, each subsequence of $\{u(x_j)\}_{j\in\Z_{\ge 0}}$ has a convergent subsequence. Its limit must be $u(x)$, hence $u(x_j)\to u(x)$. Thus $u$ is a continuous bijection from a compact space to a Hausdorff space and is a homeomorphism. \end{proof} \subsection{The exponential kernel and continuity of the optimal value} If the minimum over reproduction measures $q$ depends continuously on the input measure $\mu$, compactness also yields a maximum over $\mu$. We first establish continuity in both arguments of the objective before minimization. Fix a compact space $\boldsymbol{M}=(M,c_M)$ with a continuous semi-metric and fix $\lambda>0$. Define the \emph{exponential similarity kernel} $k^M_\lambda\colon M\times M\to(0,1]$ for $x,y\in M$ by \begin{equation}\label{eq:cost-kernel} k^M_\lambda(x,y)=\exp(-\lambda c_M(x,y)).\end{equation} Write $C(M,(0,1])$ for the continuous functions from $M$ to $(0,1]$. Define the integral operator \[ K^M_\lambda\colon\ProbabilityMeasures(M)\to C(M,(0,1]),\qquad q\mapsto K^M_\lambda[q] \] and the function $f^M_{\lambda,q}\colon M\to[0,\infty)$ by setting, for $q\in\ProbabilityMeasures(M)$ and $x\in M$, \begin{equation}\label{eq:cost-kernel-integral} K^M_\lambda[q](x)=\int_M k^M_\lambda(x,y)\,dq(y), \qquad f^M_{\lambda,q}(x)=-\log K^M_\lambda[q](x).\end{equation} Thus $K^M_\lambda[q]$ is the continuous function obtained by averaging $k^M_\lambda$ in its second variable against $q$, and $f^M_{\lambda,q}$ is its negative logarithm. The space $M$ is compact Hausdorff, and $k^M_\lambda$ is a continuous nonnegative kernel with $k^M_\lambda(x,x)=1$. It is therefore a similarity kernel in the sense of Leinster and Roff (\cite[Definition~3.1]{LeinsterRoff2021}). For this kernel, $K^M_\lambda[q]$ is the \emph{typicality function} of $q$ (\cite[Definition~3.4]{LeinsterRoff2021}). For $\mu,q\in\ProbabilityMeasures(M)$ put \begin{equation}\label{eq:cost-objective} J^M_\lambda(\mu,q)=\int_M f^M_{\lambda,q}(x)\,d\mu(x).\end{equation} For a fixed input measure $\mu$, minimize this mean over the auxiliary measure $q$. For $\mu\in\ProbabilityMeasures(M)$ define \begin{equation}\label{eq:cost-functional} \RateDistortionValue{\lambda}(\boldsymbol{M},\mu)=\min_{q\in\ProbabilityMeasures(M)}J^M_\lambda(\mu,q).\end{equation} For fixed $\lambda$ we call the function $\mu\mapsto\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ of the input measure the \emph{rate--distortion functional}. By \Cref{prop:rate-distortion} its value is the minimum over couplings of mutual information plus $\lambda$ times mean distortion. This sum is the rate--distortion Lagrangian (for finite sets see \cite[Eq.~(1.2)]{ChenEtAl2024RateDistortion}). Finally put \begin{equation}\label{eq:cost-maximal-value} b_{\boldsymbol{M}}(\lambda)=\max_{\mu\in\ProbabilityMeasures(M)}\RateDistortionValue{\lambda}(\boldsymbol{M},\mu).\end{equation} This is the maximum of the rate--distortion functional over input measures. We prove existence of the minimum in \Cref{lem:cost-minimum} and of the maximum in \Cref{lem:cost-maximum}. The auxiliary measure $q$ ranges over all of $\ProbabilityMeasures(M)$, without a support restriction $\supp q\subseteq\supp\mu$. To vary the input and reproduction measures together, we use two continuity results concerning the typicality function and integration. \begin{theorem}[{Continuity of the typicality function, Leinster and Roff, \cite[Lemma~3.7]{LeinsterRoff2021}}]\label{thm:lr-typicality} Let $S$ be a nonempty compact Hausdorff space and let $\ProbabilityMeasures(S)$ denote the Radon probability measures on $S$. Assume that $k\colon S\times S\to[0,\infty)$ is continuous and $k(x,x)>0$ for every $x\in S$. Then the map sending $q\in\ProbabilityMeasures(S)$ to $x\mapsto\int_S k(x,y)\,dq(y)$ is continuous from the weak topology on $\ProbabilityMeasures(S)$ to the uniform norm topology on $C(S)$. \end{theorem} \begin{theorem}[{Continuity of the integration map, Leinster and Roff, \cite[Lemma~2.3(ii)]{LeinsterRoff2021}}]\label{thm:lr-integral-pairing} Let $S$ be a compact Hausdorff space and $Q$ a weak-star closed subset of the finite signed Radon measures on $S$. Assume that $\sup_{\eta\in Q}|\eta|(S)<\infty$. Equip $C(S)$ with the uniform norm topology and $Q$ with the weak-star topology. Then the integration map \[ C(S)\times Q\to\R,\qquad (f,\eta)\mapsto\int_S f\,d\eta \] is continuous in the product topology on $C(S)\times Q$. \end{theorem} \begin{lemma}\label{lem:cost-continuity} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Equip $\ProbabilityMeasures(M)$ with the weak topology. Then the function $J^M_\lambda$ is continuous in the product topology on $\ProbabilityMeasures(M)\times\ProbabilityMeasures(M)$. \end{lemma} \begin{proof} With $C=\max_{M\times M}c_M$ we have $\exp(-\lambda C)\leq K^M_\lambda[q]\leq1$. The kernel $k^M_\lambda$ is continuous and equals $1$ on the diagonal. By \Cref{thm:lr-typicality} and uniform continuity of $-\log$ on $[\exp(-\lambda C),1]$, whenever $q_j\to q$ we have \begin{equation}\label{eq:cost-uniform-continuity} \|K^M_\lambda[q_j]-K^M_\lambda[q]\|_\infty\to0,\qquad \|f^M_{\lambda,q_j}-f^M_{\lambda,q}\|_\infty\to0. \end{equation} Moreover, $\ProbabilityMeasures(M)$ is weak-star closed and every one of its elements has total variation norm $1$. Thus \Cref{thm:lr-integral-pairing} applies with $Q=\ProbabilityMeasures(M)$. Composing the integration map with $(\mu,q)\mapsto(f^M_{\lambda,q},\mu)$ establishes continuity of $J^M_\lambda$. \end{proof} \begin{corollary}\label{lem:cost-minimum} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Then for every $\mu\in\ProbabilityMeasures(M)$ the function $J^M_\lambda(\mu,\cdot)$ attains its minimum. \end{corollary} \begin{proof} By \Cref{lem:probability,lem:cost-continuity}, the space $\ProbabilityMeasures(M)$ is compact and $J^M_\lambda(\mu,\cdot)$ is continuous. \end{proof} \begin{theorem}[{Berge's maximum theorem for a fixed feasible set, \cite[Chapter~VI, \S\,3, Theorems~1--2, pp.~115--116]{Berge1963Topological}}]\label{thm:berge-value} Let $S$ be a Hausdorff space and $Q$ a nonempty compact Hausdorff space. If $g\colon S\times Q\to\R$ is continuous, then $x\mapsto\max_{q\in Q}g(x,q)$ is continuous on $S$. \end{theorem} \begin{corollary}\label{lem:cost-value-continuity} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Then $\RateDistortionValue{\lambda}(\boldsymbol{M},\cdot)$ is continuous on $\ProbabilityMeasures(M)$. \end{corollary} \begin{proof} The space $\ProbabilityMeasures(M)$ is nonempty, compact, and Hausdorff, and $J^M_\lambda$ is continuous in the product topology (\Cref{lem:probability-metrizable,lem:probability,lem:cost-continuity}). In \Cref{thm:berge-value} take $S=Q=\ProbabilityMeasures(M)$ and $g=-J^M_\lambda$. It follows that $\mu\mapsto\max_{q\in\ProbabilityMeasures(M)}(-J^M_\lambda(\mu,q))=-\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ is continuous. \end{proof} \begin{corollary}\label{lem:cost-maximum} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Then $\RateDistortionValue{\lambda}(\boldsymbol{M},\cdot)$ attains its maximum on $\ProbabilityMeasures(M)$. \end{corollary} \begin{proof} This follows from \Cref{lem:probability,lem:cost-value-continuity}. \end{proof} \subsection{Concavity in the input measure and upper bounds in terms of scale} We bound the optimal value for a mixture of input measures from below by the values for its two components. We also bound $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)/\lambda$ uniformly in $\mu$ by a quantity tending to $0$. In the next section this will allow us to choose scales for which the series converges uniformly. \begin{lemma}\label{lem:cost-nonnegative} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Then for every $\mu\in\ProbabilityMeasures(M)$ we have $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)\geq0$. \end{lemma} \begin{proof} Since $K^M_\lambda[q]\leq1$, we have $f^M_{\lambda,q}\geq0$. Integrate and minimize over $q$. \end{proof} \begin{corollary}\label{lem:cost-dirac} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Then for every $x\in M$ we have $\RateDistortionValue{\lambda}(\boldsymbol{M},\delta_x)=0$. \end{corollary} \begin{proof} We have $J^M_\lambda(\delta_x,\delta_x)=0$. The reverse bound follows from \Cref{lem:cost-nonnegative}. \end{proof} \begin{corollary}\label{lem:cost-concavity} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. Then $\RateDistortionValue{\lambda}(\boldsymbol{M},\cdot)$ is concave on $\ProbabilityMeasures(M)$. \end{corollary} \begin{proof} For $\mu_0,\mu_1\in\ProbabilityMeasures(M)$ and $0<\theta<1$, affinity of $J^M_\lambda(\cdot,q)$ implies \[ \begin{aligned} \RateDistortionValue{\lambda}(\boldsymbol{M},(1-\theta)\mu_0+\theta\mu_1) &=\min_{q\in\ProbabilityMeasures(M)}\bigl((1-\theta)J^M_\lambda(\mu_0,q)+\theta J^M_\lambda(\mu_1,q)\bigr)\\ &\geq(1-\theta)\RateDistortionValue{\lambda}(\boldsymbol{M},\mu_0)+\theta \RateDistortionValue{\lambda}(\boldsymbol{M},\mu_1). \end{aligned} \] \end{proof} \begin{proposition}\label{lem:cost-invariance} Let $\boldsymbol{M}=(M,c_M)$ and $\boldsymbol{N}=(N,c_N)$ be compact spaces with continuous semi-metrics and let $\lambda>0$. If $u\colon M\to N$ is a semi-metric-preserving bijection, then for every $\mu\in\ProbabilityMeasures(M)$ we have \begin{equation}\label{eq:cost-invariance} \RateDistortionValue{\lambda}(\boldsymbol{N},u_*\mu)=\RateDistortionValue{\lambda}(\boldsymbol{M},\mu).\end{equation} \end{proposition} \begin{proof} By \Cref{lem:cost-homeomorphism} the map $u$ is a homeomorphism. For $q\in\ProbabilityMeasures(M)$ and $x\in M$ we have \[ K^{N}_\lambda[u_*q](u(x)) =\int_M\exp\bigl(-\lambda c_N(u(x),u(y))\bigr)\,dq(y) =K^{M}_\lambda[q](x), \] where the last equality uses preservation of the semi-metrics by $u$. Integrating the negative logarithms against $\mu$ yields $J^{N}_\lambda(u_*\mu,u_*q)=J^{M}_\lambda(\mu,q)$. The inverse of $u_*$ is $(u^{-1})_*$, so as $q$ ranges over $\ProbabilityMeasures(M)$ its pushforward $u_*q$ ranges over $\ProbabilityMeasures(N)$. Hence the minima agree. \end{proof} \begin{proposition}\label{lem:cost-sublinear} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric. Then \begin{equation}\label{eq:cost-sublinear} \lim_{\lambda\to\infty}\frac{b_{\boldsymbol{M}}(\lambda)}{\lambda}=0.\end{equation} \end{proposition} \begin{proof} Fix $\varepsilon>0$. For each $y\in M$, the set $U_y=\{x\in M\mid c_M(x,y)<\varepsilon\}$ is an open neighborhood of $y$. By compactness of $M$ we can choose finitely many points so that $U_{y_0},\ldots,U_{y_{N-1}}$ cover $M$. Taking $q_N=N^{-1}\sum_{i=0}^{N-1}\delta_{y_i}$ yields $K^M_\lambda[q_N](x)\geq N^{-1}\exp(-\lambda\varepsilon)$ for every $x\in M$ and $\lambda>0$. Thus $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)\leq J^M_\lambda(\mu,q_N)\leq\log N+\lambda\varepsilon$ for every $\mu\in\ProbabilityMeasures(M)$, whence \[ 0\leq b_{\boldsymbol{M}}(\lambda)\leq\log N+\lambda\varepsilon.\] Divide by $\lambda$ and let $\lambda\to\infty$, then $\varepsilon\downarrow0$, to obtain \eqref{eq:cost-sublinear}. \end{proof} \subsection{Optimal reproduction measures and mean distortion}\label{subsec:cost-optimal-reproduction} For input measure $\mu$ and optimal reproduction measure $q$, we construct a coupling with these marginals and bound its mean distortion. In the next subsection we show that for two distinct input measures and each sufficiently large $\lambda$, the sets of optimal reproduction measures are disjoint. It follows that $\RateDistortionValue{\lambda}(\boldsymbol{M},\cdot)$ satisfies the strict concavity inequality for this pair at every mixing weight $0\log 3$ the slope of $R_{\mu,d}$ at $\bar c_M(\pi^\lambda)$ is $-\lambda$, so $\bar c_M(\pi^\lambda)=1/(1+\exp(\lambda))<1/4$ and $I_{\pi^\lambda}=R_{\mu,d}(\bar c_M(\pi^\lambda))>0$. For finite alphabets, Blahut first fixes an auxiliary reproduction measure $q$ and optimizes the transition probabilities separately for each input. The optimal row is obtained by multiplying the weight of each reproduction point under $q$ by the exponential kernel and normalizing the row (\cite[Theorem~4(c), p.~463]{Blahut1972RateDistortion}). Blahut then compares the resulting output marginal with $q$ (\cite[Corollary~4 and Theorem~5, pp.~463--464]{Blahut1972RateDistortion}). To apply this argument on a compact space, we use the input measure and the normalized kernel to form a joint measure $\pi$. The function $g^M_{\lambda,q}[\mu]$ below is the density of its second marginal with respect to $q$. Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, and let $\lambda>0$. Given a reproduction measure $q\in\ProbabilityMeasures(M)$ and an input measure $\mu\in\ProbabilityMeasures(M)$, define $g^M_{\lambda,q}[\mu]\colon M\to(0,\infty)$ at each $y\in M$ by \begin{equation}\label{eq:cost-optimality} g^M_{\lambda,q}[\mu](y)=\int_M\frac{k^M_\lambda(x,y)}{K^M_\lambda[q](x)}\,d\mu(x),\end{equation} and define a measure $\pi$ on $M\times M$ by requiring, for every Borel set $E\subseteq M\times M$, \begin{equation}\label{eq:cost-coupling} \pi(E)=\int_E\frac{k^M_\lambda(x,y)}{K^M_\lambda[q](x)}\,d(\mu\otimes q)(x,y). \end{equation} For finite input and reproduction alphabets, Blahut's optimality condition requires $g^M_{\lambda,q}[\mu](y)\leq1$ at every reproduction point $y$, with equality at each point where $q(\{y\})>0$ (\cite[Theorem~5, p.~464]{Blahut1972RateDistortion}). On a finite space these positive-mass points constitute $\supp q$. On a general compact space the inequality still characterizes optimality of $q$. For each optimal $q$ equality holds everywhere on $\supp q$ (\Cref{lem:cost-optimality,cor:cost-optimality-equality}). \begin{lemma}[{Csisz\'ar's optimality condition}]\label{lem:cost-optimality} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, let $\lambda>0$, and let $\mu,q\in\ProbabilityMeasures(M)$. Then $q$ minimizes $J^M_\lambda(\mu,\cdot)$ if and only if the function in \eqref{eq:cost-optimality} satisfies $g^M_{\lambda,q}[\mu](y)\leq1$ for every $y\in M$. \end{lemma} \begin{proof} First assume that $q$ is a minimizer. Following the variation used by Csisz\'ar in his optimality argument for couplings (\cite[Lemma~1.4, Eqs.~(1.28)--(1.31)]{Csiszar1974Extremum}), fix $y\in M$ and set $q_t=(1-t)q+t\delta_y$ for $0\leq t\leq1$. By linearity of the integral, for every $x\in M$ we have \[ K^M_\lambda[q_t](x)=(1-t)K^M_\lambda[q](x)+t k^M_\lambda(x,y). \] Differentiating the negative logarithm for $00$. Both $k^M_\lambda(x,y)$ and $K^M_\lambda[q_t](x)$ lie in $[a,1]$, so the absolute value of the derivative is at most $1/a$. By the mean value theorem the difference quotients from $t=0$ are also bounded in absolute value by $1/a$. Dominated convergence applied to these quotients yields \[ \begin{aligned} \left.\frac{d}{dt}J^M_\lambda(\mu,q_t)\right|_{t=0+} &=\int_M\frac{K^M_\lambda[q](x)-k^M_\lambda(x,y)} {K^M_\lambda[q](x)}\,d\mu(x)\\ &=1-\int_M\frac{k^M_\lambda(x,y)}{K^M_\lambda[q](x)}\,d\mu(x) =1-g^M_{\lambda,q}[\mu](y). \end{aligned} \] Since $q_0=q$ minimizes the objective, $J^M_\lambda(\mu,q_t)\geq J^M_\lambda(\mu,q_0)$. The right derivative is therefore nonnegative, so $g^M_{\lambda,q}[\mu](y)\leq1$. Conversely, assume that $g^M_{\lambda,q}[\mu]\leq1$ on $M$. For any $\widetilde q\in\ProbabilityMeasures(M)$, apply $-\log u\geq1-u$ to $u=K^M_\lambda[\widetilde q](x)/K^M_\lambda[q](x)>0$ to obtain \[ \begin{aligned} J^M_\lambda(\mu,\widetilde q)-J^M_\lambda(\mu,q) &\geq 1-\int_M\frac{K^M_\lambda[\widetilde q](x)}{K^M_\lambda[q](x)}\,d\mu(x)\\ &=1-\int_M g^M_{\lambda,q}[\mu](y)\,d\widetilde q(y)\geq0. \end{aligned} \] In the equality we expressed $K^M_\lambda[\widetilde q](x)$ as a kernel integral and interchanged the integrals by Fubini's theorem. Hence $q$ minimizes $J^M_\lambda(\mu,\cdot)$. \end{proof} \begin{corollary}\label{cor:cost-optimality-equality} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$ and $\mu\in\ProbabilityMeasures(M)$. If $q\in\ProbabilityMeasures(M)$ minimizes $J^M_\lambda(\mu,\cdot)$, then $g^M_{\lambda,q}[\mu](y)=1$ for every $y\in\supp q$. \end{corollary} \begin{proof} Fubini's theorem and the definition of $K^M_\lambda[q]$ imply \[ \int_M g^M_{\lambda,q}[\mu](y)\,dq(y) =\int_M\frac{\int_M k^M_\lambda(x,y)\,dq(y)}{K^M_\lambda[q](x)}\,d\mu(x)=1. \] By \Cref{lem:cost-optimality} the function $y\mapsto 1-g^M_{\lambda,q}[\mu](y)$ is nonnegative. Since $q$ is a probability measure, we obtain \[ \int_M\bigl(1-g^M_{\lambda,q}[\mu](y)\bigr)\,dq(y) =q(M)-\int_M g^M_{\lambda,q}[\mu](y)\,dq(y)=0. \] Thus $g^M_{\lambda,q}[\mu]=1$ holds $q$-almost everywhere. With $a=\min_{M\times M}k^M_\lambda>0$ we have $K^M_\lambda[q]\geq a$, and hence for any $y,z\in M$, \[ \bigl|g^M_{\lambda,q}[\mu](y)-g^M_{\lambda,q}[\mu](z)\bigr| \leq a^{-1}\sup_{x\in M}|k^M_\lambda(x,y)-k^M_\lambda(x,z)|. \] Since $k^M_\lambda$ is uniformly continuous on the compact space $M\times M$, $g^M_{\lambda,q}[\mu]$ is continuous. Its equality set $\{y\in M\mid g^M_{\lambda,q}[\mu](y)=1\}$ is closed and has full $q$-measure, so it contains $\supp q$. \end{proof} \begin{proposition}\label{lem:cost-optimizer} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, $\lambda>0$, and $\mu\in\ProbabilityMeasures(M)$. If $q\in\ProbabilityMeasures(M)$ minimizes $J^M_\lambda(\mu,\cdot)$, then $\pi$ defined by \eqref{eq:cost-coupling} is a probability measure with marginals $\mu,q$. \end{proposition} \begin{proof} For a Borel set $A\subseteq M$, take $E=A\times M$ in \eqref{eq:cost-coupling} to obtain \[ \pi_1(A)=\pi(A\times M) =\int_A\frac{\int_M k^M_\lambda(x,y)\,dq(y)}{K^M_\lambda[q](x)}\,d\mu(x) =\mu(A). \] In particular, $\pi(M\times M)=1$. Taking $E=M\times A$ and integrating first with respect to $x$ yields \[ \pi_2(A)=\pi(M\times A)=\int_A g^M_{\lambda,q}[\mu](y)\,dq(y)=q(A). \] The last equality follows from \Cref{cor:cost-optimality-equality}. \end{proof} For a minimizing measure $q$, we call the measure $\pi$ in \Cref{lem:cost-optimizer} the \emph{Gibbs coupling} associated with $\mu$ and $q$. \begin{lemma}\label{lem:cost-gibbs-identity} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, $\lambda>0$, and $\mu\in\ProbabilityMeasures(M)$. If $q\in\ProbabilityMeasures(M)$ minimizes $J^M_\lambda(\mu,\cdot)$, then the Gibbs coupling $\pi$ satisfies \[ \RateDistortionValue{\lambda}(\boldsymbol{M},\mu)=D(\pi\Vert\mu\otimes q)+\lambda\int c_M\,d\pi. \] \end{lemma} \begin{proof} By \eqref{eq:cost-coupling} the density of $\pi$ relative to $\mu\otimes q$ is $k^M_\lambda(x,y)/K^M_\lambda[q](x)$. Integrate its logarithm against $\pi$. Since $\log K^M_\lambda[q](x)$ depends only on the first coordinate and $\pi_1=\mu$ by \Cref{lem:cost-optimizer}, we obtain \[ \begin{aligned} D(\pi\Vert\mu\otimes q) &=-\lambda\int_{M^2}c_M\,d\pi-\int_M\log K^M_\lambda[q](x)\,d\mu(x)\\ &=-\lambda\int_{M^2}c_M\,d\pi+J^M_\lambda(\mu,q). \end{aligned} \] Since $q$ minimizes the objective, the last term equals $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$. \end{proof} \begin{corollary}\label{cor:cost-coupling-bound} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, $\lambda>0$, and $\mu\in\ProbabilityMeasures(M)$. If $q\in\ProbabilityMeasures(M)$ minimizes $J^M_\lambda(\mu,\cdot)$, then the mean distortion of the Gibbs coupling $\pi$ satisfies \begin{equation}\label{eq:cost-coupling-bound} \lambda\int_{M\times M}c_M(x,y)\,d\pi(x,y) \leq \RateDistortionValue{\lambda}(\boldsymbol{M},\mu).\end{equation} \end{corollary} \begin{proof} By \Cref{thm:gibbs-information}, $D(\pi\Vert\mu\otimes q)\geq0$. Substitution in the identity of \Cref{lem:cost-gibbs-identity} proves the estimate. By the definition in \eqref{eq:cost-maximal-value} we also have $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)\leq b_{\boldsymbol{M}}(\lambda)$, so we may use $\lambda\int c_M\,d\pi\leq b_{\boldsymbol{M}}(\lambda)$ below. \end{proof} The coupling obtained from an optimal $q$ also minimizes mutual information plus $\lambda$ times mean distortion. Csisz\'ar identified the optimal kernel from input to reproduction for fixed $q$ (\cite[Eq.~(1.16), Lemma~1.3 and its corollary, Eq.~(1.19)]{Csiszar1974Extremum}). For the variational and integral formulas on standard Borel spaces and the identification of an optimal $q$ with the second marginal, see also Yang, Eckstein, Nutz, and Mandt (\cite[Eqs.~(3)--(6), proof of Lemma~7.1]{YangEcksteinNutzMandt2023}). \begin{theorem}[{Csisz\'ar's variational formula, \cite[Eqs.~(1.11), (1.20), pp.~59--60]{Csiszar1974Extremum}}]\label{thm:csiszar-auxiliary} Let $X,Y$ be nonempty compact metrizable spaces and let $P\in\ProbabilityMeasures(X)$. Assume that $c\colon X\times Y\to[0,\infty)$ is continuous and satisfies $\min_{y\in Y}c(x,y)=0$ for every $x\in X$. For $\lambda>0$, with first marginal fixed at $P$, put \[ F(\lambda)= \inf_{\substack{\pi\in\ProbabilityMeasures(X\times Y)\\ \pi_1=P}} \left\{D(\pi\Vert P\otimes\pi_2)+\lambda\int_{X\times Y}c\,d\pi\right\}. \] Then the representation in terms of an auxiliary measure $q$ is \[ F(\lambda)=\inf_{q\in\ProbabilityMeasures(Y)} \left\{-\int_X\log\left(\int_Y\exp(-\lambda c(x,y))\,dq(y)\right)dP(x)\right\}. \] \end{theorem} \begin{proposition}[Rate--distortion variational formula]\label{prop:rate-distortion} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, $\mu\in\ProbabilityMeasures(M)$, and $\lambda>0$. Set $\Pi_1(\mu)=\{\pi\in\ProbabilityMeasures(M\times M)\mid(\operatorname{pr}_1)_*\pi=\mu\}$. For $\pi\in\Pi_1(\mu)$ denote the second marginal by $\pi_2=(\operatorname{pr}_2)_*\pi$ and the mutual information by $I_\pi=D(\pi\Vert\mu\otimes\pi_2)$. Then \begin{equation}\label{eq:cost-variational} \RateDistortionValue{\lambda}(\boldsymbol{M},\mu)=\min_{\pi\in\Pi_1(\mu)} \left\{I_\pi+\lambda\int_{M\times M}c_M(x,y)\,d\pi(x,y)\right\}. \end{equation} \end{proposition} \begin{proof} The function $c_M$ is continuous and $c_M(x,x)=0$. Moreover, with $C=\max_{M\times M}c_M$, for any $a\in M$ the coupling $\mu\otimes\delta_a$ has mean distortion at most $C$ and zero mutual information. Thus the assumption $R_{\mu,c_M}(\Delta)<\infty$ in the original theorem holds at $\Delta=C$. Apply \Cref{thm:csiszar-auxiliary} with $X=Y=M$, $c=c_M$, and $P=\mu$. The value $F(\lambda)$ in that theorem is the infimum on the right of \eqref{eq:cost-variational}. The auxiliary-measure representation has integrand $f^M_{\lambda,q}$, so the infimum equals $\inf_{q\in\ProbabilityMeasures(M)} J^M_\lambda(\mu,q)=\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$. By \Cref{lem:cost-minimum} there is a minimizing measure $q$. Applying \Cref{lem:cost-optimizer,lem:cost-gibbs-identity} shows that the corresponding $\pi$ attains the infimum on the right. \end{proof} We use the following decomposition to characterize the optimal joint measures. \begin{theorem}[{Csisz\'ar's decomposition of relative entropy, \cite[Lemma~1.3, Eq.~(1.17), p.~60]{Csiszar1974Extremum}}]\label{thm:csiszar-gibbs-decomposition} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, let $\lambda>0$, and let $\mu,q\in\ProbabilityMeasures(M)$. Let $\Gamma$ be the probability measure defined by \eqref{eq:cost-coupling} from $\mu$ and $q$. If $\pi\in\ProbabilityMeasures(M\times M)$ satisfies $\pi_1=\mu$ and $D(\pi\Vert\mu\otimes q)<\infty$, then \[ D(\pi\Vert\mu\otimes q)+\lambda\int_{M\times M}c_M\,d\pi =J^M_\lambda(\mu,q)+D(\pi\Vert\Gamma). \] \end{theorem} \begin{corollary}[Characterization of optimal couplings]\label{cor:cost-variational-minimizer} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$ and $\mu\in\ProbabilityMeasures(M)$. Then the minimizers in \eqref{eq:cost-variational} are precisely the Gibbs couplings obtained from \eqref{eq:cost-coupling} as $q$ ranges over the minimizers of $J^M_\lambda(\mu,\cdot)$. \end{corollary} \begin{proof} If $q$ minimizes $J^M_\lambda(\mu,\cdot)$, the corresponding Gibbs coupling has marginals $\mu,q$ and the objective in \eqref{eq:cost-variational} equals its minimum $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ (\Cref{lem:cost-optimizer,lem:cost-gibbs-identity}). Conversely, let $\pi$ attain the minimum in \eqref{eq:cost-variational} and put $q=\pi_2$. Denote by $\Gamma$ the measure formed from $\mu,q$ in \eqref{eq:cost-coupling}. For each $x$ the density $k^M_\lambda(x,\cdot)/K^M_\lambda[q](x)$ integrates to $1$ against $q$, so $\Gamma$ is a probability measure with first marginal $\mu$. Fix $a\in M$. Reporting $a$ for every input yields the joint measure $\mu\otimes\delta_a$, with zero mutual information and finite objective value $\lambda\int_M c_M(x,a)\,d\mu(x)$. The minimizing measure $\pi$ therefore satisfies $I_\pi=D(\pi\Vert\mu\otimes q)<\infty$. We can now apply Csisz\'ar's decomposition (\Cref{thm:csiszar-gibbs-decomposition}) to $\pi$ and its second marginal $q$ to obtain \[ I_\pi+\lambda\int_{M\times M} c_M\,d\pi =J^M_\lambda(\mu,q)+D(\pi\Vert\Gamma). \] The left side equals $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ and the first term on the right is at least this value. Gibbs' inequality and its equality condition (\Cref{thm:gibbs-information}) show that $q$ minimizes $J^M_\lambda(\mu,\cdot)$ and that $\pi=\Gamma$. \end{proof} \subsection{Limits of optimal reproductions and the strict concavity inequality} We determine the optimal mean distortion as $\lambda$ decreases to zero. The comparison value is the least mean distortion obtained by reproducing all inputs at a single fixed point (Polyanskiy and Wu, \cite[Theorem~24.4(d) and Remark~24.4, p.~418]{PolyanskiyWu2022Draft}). \begin{proposition}[Optimal mean distortion at small scales]\label{prop:cost-small-scale-distortion} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\mu\in\ProbabilityMeasures(M)$. Set $C=\max_{M\times M}c_M$ and $\Delta_{\max}=\min_{a\in M}\int_M c_M(x,a)\,d\mu(x)$. For $\lambda>0$ let $\pi^\lambda$ be any coupling attaining the minimum in \eqref{eq:cost-variational}. Its mutual information $I_{\pi^\lambda}$ and mean distortion $\bar c_M(\pi^\lambda)$ satisfy \[ 0\leq\frac{I_{\pi^\lambda}}{\lambda}\leq\Delta_{\max}-\bar c_M(\pi^\lambda) \leq\frac{C^2\lambda}{4}. \] \end{proposition} \begin{proof} The function $a\mapsto\int_M c_M(x,a)\,d\mu(x)$ is continuous on the compact space $M$ and has a minimizer $a_*$. The coupling $\mu\otimes\delta_{a_*}$ has zero mutual information and mean distortion $\Delta_{\max}$. Comparing it with $\pi^\lambda$ in \eqref{eq:cost-variational} yields $0\leq I_{\pi^\lambda}\leq\lambda(\Delta_{\max}-\bar c_M(\pi^\lambda))$. Fix $\lambda$ and $q=(\pi^\lambda)_2$. For $x\in M$ and $0\leq u\leq\lambda$ set \[ \begin{aligned} \phi_x(u)&=\log\int_M\exp(-u c_M(x,y))\,dq(y),\\ \frac{dq_{x,u}}{dq}(y)&=\exp\bigl(-u c_M(x,y)-\phi_x(u)\bigr). \end{aligned} \] Then $q_{x,u}$ is a probability measure on $M$. Put $m_x(u)=\int_M c_M(x,y)\,dq_{x,u}(y)$. The bound $0\leq c_M\leq C$ permits two differentiations under the integral and yields $\partial_u\phi_x(u)=-m_x(u)$. Using $c_M^2\leq Cc_M$, we obtain \begin{equation}\label{eq:cost-tilt-variance} \begin{aligned} 0\leq\partial_u^2\phi_x(u) &=\int_M c_M(x,y)^2\,dq_{x,u}(y)-m_x(u)^2\\ &\leq C m_x(u)-m_x(u)^2\leq C^2/4. \end{aligned} \end{equation} Since $q_{x,0}=q$, the integral $\int_M m_x(0)\,d\mu(x)$ is the average, with respect to $q$, of the mean distortion for reproduction at a single point $y$. It is therefore at least $\Delta_{\max}$. By \Cref{cor:cost-variational-minimizer}, the coupling $\pi^\lambda$ is the Gibbs coupling formed from $\mu,q$, so $\int_M m_x(\lambda)\,d\mu(x)=\bar c_M(\pi^\lambda)$. Consequently, \[ \begin{aligned} \Delta_{\max}-\bar c_M(\pi^\lambda) &\leq\int_M\bigl(m_x(0)-m_x(\lambda)\bigr)\,d\mu(x)\\ &=\int_M\int_0^\lambda\partial_u^2\phi_x(u)\,du\,d\mu(x) \leq\frac{C^2\lambda}{4}. \end{aligned} \] \end{proof} \begin{corollary}[Mutual information of an optimal reproduction at small scales]\label{cor:cost-small-scale-information} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric, let $\mu\in\ProbabilityMeasures(M)$ and $\lambda>0$, and set $C=\max_{M\times M}c_M$. If $\pi^\lambda$ attains the minimum in \eqref{eq:cost-variational}, then $0\leq I_{\pi^\lambda}\leq C^2\lambda^2/8$. \end{corollary} \begin{proof} Fix $q=(\pi^\lambda)_2$ and take $\phi_x$ as in the proof of \Cref{prop:cost-small-scale-distortion}. The log density of $\pi^\lambda$ with respect to $\mu\otimes q$ is $-\lambda c_M(x,y)-\phi_x(\lambda)$. Integrating it against $\pi^\lambda$ yields \[ I_{\pi^\lambda}=\int_M\bigl(-\lambda m_x(\lambda)-\phi_x(\lambda)\bigr)\,d\mu(x). \] By $\phi_x(0)=0$ and $m_x(u)=-\partial_u\phi_x(u)$, the expression in parentheses is $\int_0^\lambda u\,\partial_u^2\phi_x(u)\,du$. Integrating the bound in \eqref{eq:cost-tilt-variance} now yields $0\leq I_{\pi^\lambda}\leq (C^2/4)\int_0^\lambda u\,du=C^2\lambda^2/8$. \end{proof} Equip the finite set $M=\{x_0,\ldots,x_{N-1}\}$ with a semi-metric $c_M$ and put $\boldsymbol{M}=(M,c_M)$. Assume that each input $x_i$ has probability $f_i=\mu(\{x_i\})>0$. If the same point $a\in M$ is reported for every input, the mean distortion is \[ F_\mu(a)=\sum_{i=0}^{N-1}f_i c_M(x_i,a). \] Bavaud calls a point $a\in M$ minimizing $F_\mu\colon M\to[0,\infty)$ a \emph{medoid} and denotes the minimum $\min_{a\in M}F_\mu(a)$ by $\partial^\star$ (\cite[Section~3.4, Eqs.~(23a)--(23b), pp.~107--108]{Bavaud2022EffectiveEntropy}). Thus $\partial^\star=\Delta_{\max}$. His effective entropy equals $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ on this finite space, as we verify using transition matrices in Section~\ref{sec:cost-measures}. For fixed input frequencies, Bavaud's theorem yields $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)=\lambda\Delta_{\max}+O(\lambda^2)$ as $\lambda\downarrow0$ (\cite[Theorem~4, Eq.~(25), p.~108]{Bavaud2022EffectiveEntropy}). By \Cref{prop:cost-small-scale-distortion,cor:cost-small-scale-information}, for any optimal reproduction the mean distortion tends to $\Delta_{\max}$ and the mutual information to zero as $\lambda\downarrow0$. As $\lambda$ increases, the optimal coupling approaches the one that reproduces each input exactly. \begin{lemma}[Weak limit of optimal couplings]\label{lem:cost-diagonal-limit} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\mu\in\ProbabilityMeasures(M)$. The pushforward of $\mu$ under the diagonal map $\iota\colon M\to M\times M$, $\iota(x)=(x,x)$, is called the \emph{diagonal coupling} of $\mu$. Choose $\pi^\lambda\in\Pi_1(\mu)$ for each $\lambda>0$. If each $\pi^\lambda$ attains the minimum in \eqref{eq:cost-variational}, then $\pi^\lambda$ converges weakly to $\iota_*\mu$ as $\lambda\to\infty$. \end{lemma} \begin{proof} By nonnegativity of mutual information and \Cref{lem:cost-sublinear}, \[ 0\leq\int_{M\times M}c_M\,d\pi^\lambda \leq\frac{\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)}{\lambda} \leq\frac{b_{\boldsymbol{M}}(\lambda)}{\lambda}\longrightarrow0. \] Take any positive sequence $\{\lambda_j\}_{j\geq0}$ with $\lambda_j\to\infty$. The space $\ProbabilityMeasures(M\times M)$ is compact and metrizable in the weak topology (\Cref{lem:probability,lem:probability-metrizable}). Let $\pi$ be the limit of a weakly convergent subsequence of $\{\pi^{\lambda_j}\}_{j\geq0}$. By continuity of $c_M$, we have $\int_{M\times M}c_M\,d\pi=0$. The zero set of $c_M$ is the diagonal, so $\iota\circ\operatorname{pr}_1$ agrees with the identity $\pi$-almost everywhere. The first marginal of the limit is still $\mu$, whence $\pi=(\iota\circ\operatorname{pr}_1)_*\pi=\iota_*\mu$. Every weakly convergent subsequence has this limit, which proves the assertion. \end{proof} \begin{theorem}[{Mutual information of a variable with itself, Polyanskiy and Wu, \cite[Theorem~3.4(a), pp.~40--41]{PolyanskiyWu2022Draft}}]\label{thm:self-mutual-information} Let $Z\colon(\Omega,\mathcal F,\PP)\to S$ be a measurable map into a standard Borel space $S$, and put $\nu=Z_*\PP$, $p_s=\nu(\{s\})$, and $A_\nu=\{s\in S\mid p_s>0\}$. Then \[ I(Z;Z)= \begin{cases} -\displaystyle\sum_{s\in A_\nu}p_s\log p_s,&\nu(A_\nu)=1,\\ +\infty,&\nu(A_\nu)<1 \end{cases}. \] The sum in the first case may equal $+\infty$. \end{theorem} \begin{corollary}[Limiting mutual information of an optimal reproduction]\label{cor:cost-information-limit} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\mu\in\ProbabilityMeasures(M)$. For each $\lambda>0$ choose $\pi^\lambda$ attaining the minimum in \eqref{eq:cost-variational}. Let $Z\colon M\to M$ be the identity map on the probability space $(M,\mathcal B(M),\mu)$ and let $\iota(x)=(x,x)$. Then \[ \lim_{\lambda\to\infty}I_{\pi^\lambda}=D(\iota_*\mu\Vert\mu\otimes\mu)=I(Z;Z). \] \end{corollary} \begin{proof} Put $q_\lambda=(\operatorname{pr}_2)_*\pi^\lambda$. By \Cref{lem:cost-diagonal-limit}, $\pi^\lambda$ converges weakly to $\iota_*\mu$. Projection onto the second coordinate implies weak convergence of $q_\lambda$ to $\mu$. For every $f\in C(M\times M)$ the function $y\mapsto\int_M f(x,y)\,d\mu(x)$ is continuous, so $\mu\otimes q_\lambda$ converges weakly to $\mu\otimes\mu$. Lower semicontinuity of relative entropy (\Cref{thm:csiszar-relative-entropy-lsc}) now yields \[ I(Z;Z)=D(\iota_*\mu\Vert\mu\otimes\mu) \leq\liminf_{\lambda\to\infty}D(\pi^\lambda\Vert\mu\otimes q_\lambda) =\liminf_{\lambda\to\infty}I_{\pi^\lambda} . \] Mean distortion is nonnegative and the diagonal coupling $\iota_*\mu$ has mean distortion zero. Hence \eqref{eq:cost-variational} yields $I_{\pi^\lambda}\leq\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)\leq I(Z;Z)$. \end{proof} By \Cref{thm:self-mutual-information,cor:cost-information-limit}, if $\mu$ is concentrated on at most countably many points, the limit is the Shannon entropy of the point masses. If the nonatomic part has positive mass, the limit is $+\infty$. For example, equip $M=[0,1]$ with the metric $d(x,y)=|x-y|$ and take $c_M=d$ on $\MetricSpace{M}{d}$ with the Lebesgue probability measure $m$. The diagonal coupling $\iota_*m$ is the only coupling of mean distortion zero. The diagonal has $\iota_*m$-measure $1$ and $m\otimes m$-measure $0$, so $R_{m,c_M}(0)=+\infty$. For $\mu=(\delta_0+m)/2$ we likewise have $I_{\pi^\lambda}\to+\infty$. In Csisz\'ar's paper the finiteness assertion for $R_{\mu,c}(\Delta)$ is stated for $\Delta\geq0$ at the start of the theorem and for $\Delta>0$ at the start of the proof. The proof of his equation (2.18), as stated in \Cref{thm:csiszar-zero-distortion-limit}, also covers the value $+\infty$ at zero exhibited by this example (\cite[Theorem~2.2, Eqs.~(2.18), (2.20a)--(2.23), pp.~65--66]{Csiszar1974Extremum}). \begin{proposition}\label{lem:cost-strictness} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\mu_0,\mu_1\in\ProbabilityMeasures(M)$. If $\mu_0\ne\mu_1$, then for every sufficiently large $\lambda$ and every $0(1-t)\RateDistortionValue{\lambda}(\boldsymbol{M},\mu_0)+t\RateDistortionValue{\lambda}(\boldsymbol{M},\mu_1).\] \end{proposition} \begin{proof} We first show that there exists $\lambda_0>0$ such that, for each $\lambda\geq\lambda_0$, the sets of minimizers of $J^M_\lambda(\mu_0,\cdot)$ and $J^M_\lambda(\mu_1,\cdot)$ are disjoint. For the sake of contradiction, suppose that there are arbitrarily large values of $\lambda$ at which the two sets of minimizers intersect. Choose a strictly increasing sequence $\{\lambda_j\}_{j\geq0}$ with $\lambda_j\to\infty$ and, for each $j$, a common minimizer $q_j$ of $J^M_{\lambda_j}(\mu_0,\cdot)$ and $J^M_{\lambda_j}(\mu_1,\cdot)$. For each $i=0,1$, the Gibbs coupling $\pi_{i,j}$ constructed from $\mu_i,q_j$ has second marginal $q_j$ and attains the minimum in \eqref{eq:cost-variational} (\Cref{lem:cost-optimizer,cor:cost-variational-minimizer}). Apply \Cref{lem:cost-diagonal-limit} for each $i$ and project to the second coordinate. Then $q_j=(\operatorname{pr}_2)_*\pi_{i,j}$ converges weakly to $\mu_i$. Uniqueness of the weak limit yields $\mu_0=\mu_1$, contrary to the hypothesis. Fix $\lambda\geq\lambda_0$. For $00. \end{aligned} \] Indeed, both differences in parentheses on the right are nonnegative. At least one is positive because $q_t$ cannot minimize for both input measures, and both coefficients are positive. \end{proof} \subsection{Variation by adding mass outside the support} To prove full support in the next section, fix a point $z$ outside $\supp\mu$. We need a lower bound for $f^M_{\lambda,q}(z)$ that holds uniformly over all minimizers $q$ of $J^M_\lambda(\mu,\cdot)$. \begin{lemma}\label{lem:cost-localization} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric. Choose a metric $\rho$ compatible with the topology of $M$ and consider $\MetricSpace{M}{\rho}$. Let $\mu\in\ProbabilityMeasures(M)$ and set $S=\supp\mu$. Then for every $\eta>0$ there exists $\lambda_0>0$ such that for every $\lambda\geq\lambda_0$ and every minimizer $q$ of $J^M_\lambda(\mu,\cdot)$, \begin{equation}\label{eq:cost-localization} \supp q\subseteq\{y\in M\mid\dist_\rho(y,S)<\eta\}.\end{equation} \end{lemma} \begin{proof} Fix $\eta>0$. If no pair has $\rho$-distance at least $\eta$, then \eqref{eq:cost-localization} is immediate. Otherwise the minimum of $c_M$ on all such pairs is $m_\eta>0$. Choose finitely many $y_0,\ldots,y_{N-1}$ so that for every $x\in M$ there exists $0\leq i0$ and any minimizer $q$ of $J^M_\lambda(\mu,\cdot)$. Summing the inequality of \Cref{lem:cost-optimality} over these centers yields \begin{equation}\label{eq:cost-reciprocal-bound} \exp(-\lambda m_\eta/2)\int_M\frac{1}{K^M_\lambda[q](x)}\,d\mu(x) \leq\sum_{i=0}^{N-1} g^M_{\lambda,q}[\mu](y_i)\leq N.\end{equation} If $\dist_\rho(y,S)\geq\eta$, then $c_M(x,y)\geq m_\eta$ for every $x\in S$. Since $\mu(S)=1$, it follows from \eqref{eq:cost-reciprocal-bound} that \[ g^M_{\lambda,q}[\mu](y) \leq\exp(-\lambda m_\eta)\int_M\frac{d\mu(x)}{K^M_\lambda[q](x)} \leq N\exp(-\lambda m_\eta/2). \] The constants $N,m_\eta$ are independent of $q$, so we may choose $\lambda_0$ with $N\exp(-\lambda_0m_\eta/2)<1$. If $\lambda\geq\lambda_0$ and $\dist_\rho(y,S)\geq\eta$, then $g^M_{\lambda,q}[\mu](y)<1$. By \Cref{cor:cost-optimality-equality} this point $y$ does not belong to $\supp q$, proving \eqref{eq:cost-localization}. \end{proof} \begin{corollary}\label{cor:cost-off-support} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric. Choose a metric $\rho$ compatible with the topology of $M$ and consider $\MetricSpace{M}{\rho}$. Let $\mu\in\ProbabilityMeasures(M)$ and put $S=\supp\mu$. If $z\in M\setminus S$, then there exist $\kappa>0$ and $\lambda_1>0$ such that for every $\lambda\geq\lambda_1$ and every minimizer $q$ of $J^M_\lambda(\mu,\cdot)$, \begin{equation}\label{eq:cost-insertion-lower} f^M_{\lambda,q}(z)\geq\lambda\kappa.\end{equation} \end{corollary} \begin{proof} Fix $z\in M\setminus S$, put $\delta=\dist_\rho(z,S)>0$, and apply \eqref{eq:cost-localization} with $\eta=\delta/2$. For sufficiently large $\lambda$ and every minimizer $q$ of $J^M_\lambda(\mu,\cdot)$, each $y\in\supp q$ satisfies $\dist_\rho(y,S)<\delta/2$, so $\rho(z,y)\geq\delta-\dist_\rho(y,S)>\delta/2$. Since $q(\supp q)=1$, it follows that \[ q\{y\in M\mid\rho(z,y)>\delta/2\}=1.\] Let $\kappa$ be the minimum of $y\mapsto c_M(z,y)$ on the compact set $C_\delta=\{y\in M\mid\rho(z,y)\geq\delta/2\}$. The preceding estimate implies $q(C_\delta)=1$, so $C_\delta$ is nonempty. Since $z\notin C_\delta$ and $c_M(z,y)>0$ for every $y\in C_\delta$, continuity implies $\kappa>0$. Thus $K^M_\lambda[q](z)\leq \exp(-\lambda\kappa)$, proving \eqref{eq:cost-insertion-lower}. \end{proof} For $z\in M$ and $0\leq t<1$, put $\mu_t=(1-t)\mu+t\delta_z$. We first show that $\RateDistortionValue{\lambda}(\boldsymbol{M},\mu_t)-(1-t)\RateDistortionValue{\lambda}(\boldsymbol{M},\mu)$ is nonnegative (\Cref{lem:cost-direction-nonnegative}). After division by $t>0$, the limit as $t\downarrow0$ is the right derivative of this difference at zero. Combining the formula for the derivative in \Cref{lem:cost-insertion}, \eqref{eq:cost-insertion-limit}, with \eqref{eq:cost-insertion-lower} bounds it from below when $z\notin\supp\mu$. \begin{lemma}\label{lem:cost-direction-nonnegative} Let $\boldsymbol{M}=(M,c_M)$ be a compact space with a continuous semi-metric and let $\lambda>0$. For $\mu\in\ProbabilityMeasures(M)$, $z\in M$, and $00$. Write $\mathcal Q^M_\lambda(\mu)$ for the set of minimizers in \eqref{eq:cost-functional}. For $00$, the parameter $\lambda$ in the exponential kernel becomes $a\lambda$. Thus even for the same underlying set $M$ and the same uniform measure $\mu$, the value $\RateDistortionValue{\lambda}((M,a d),\mu)=\log(2/(1+\exp(-a\lambda)))$ depends on $a$.