Rate-distortion function (source code)

= Rate-distortion function
{title2=$R(d)$}
{wiki}

For source $X$ and distortion function $d(x,y)$, the rate-distortion function is
$$
R(D)=\inf_{P_{Y\mid X}:\,\mathbb E d(X,Y)\leq D}I(X;Y).
$$