Each result cited is universally quantified over the data in its own statement.
Preliminaries. Let ϕ be the function s↦slogs of The Function slogs: Continuity, Young's Inequality and Lower Bounds, with the Elementary Bounds for the Exponential and the Logarithm, so ϕ(0)=0 and ϕ(t)=tlogt for positive t. By Relative Entropy of Probability Measures §relative-entropy fix a density f of ν with respect to γ such that ϕ∘f is integrable with respect to γ; then H(ν∣γ)=∫Sϕ∘fdγ. By the convention of The Radon-Nikodym Theorem for a Finite Measure and a Sigma-Finite Measure, and Uniqueness of Densities, ν is the measure with density f with respect to γ of claim 3 of Image Measures, Measures with Densities, and Change of Variables; thus f is measurable, 0≤f, and ν(A)=∫S1Afdγ for every A∈S. The function ϕ∘f is measurable by The Function slogs: Continuity, Young's Inequality and Lower Bounds, with the Elementary Bounds for the Exponential and the Logarithm §continuous, so ∣ϕ∘f∣ is measurable by claim 4 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions, and ∫S∣ϕ∘f∣dγ<∞ by the integrability criterion of Measure Spaces and the Lebesgue Integral: Standing Notation §integral, ϕ∘f being integrable. For A∈S the functions 1Af and 1A(ϕ∘f) are measurable by claims 1 and 3 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions; the first is nonnegative with ∫S1Afdγ=ν(A)≤1, so it is integrable with integral ν(A); for the second, ∣1A(ϕ∘f)∣ is measurable by claim 4 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions and satisfies ∣1A(ϕ∘f)∣≤∣ϕ∘f∣, so ∫S∣1A(ϕ∘f)∣dγ≤∫S∣ϕ∘f∣dγ<∞ by the monotonicity in Linearity and Monotonicity of the Lebesgue Integral §nonnegative, and 1A(ϕ∘f) is integrable by the criterion of Measure Spaces and the Lebesgue Integral: Standing Notation §integral; we write I(A)=∫S1A(ϕ∘f)dγ. Properties of log used below: log(st)=logs+logt for positive s,t by The Natural Logarithm, hence log1=log(exp0)=0 by claim 1 of Basic Properties of the Exponential Function and log(s/t)=logs−logt; log is increasing, being the inverse of the strictly increasing function exp (claim 4 of Basic Properties of the Exponential Function); and logt≤t−1 for positive t by The Function slogs: Continuity, Young's Inequality and Lower Bounds, with the Elementary Bounds for the Exponential and the Logarithm §log.
Claim 1, Step 1 (Positivity of qi). Let i∈[m]. If qi=γ(Ai)=0, then pi=ν(Ai)=0 by Relative Entropy on a Measurable Space: the Gibbs Inequality, the Variational Criterion and Formula, the Entropy Inequality, Small Sets and Data Processing §small-sets. Hence 0<qi whenever 0<pi, which is the hypothesis of The Partition Entropy of a Probability Measure Relative to Another over a Finite Measurable Partition §partition-entropy, so hA(ν∣γ) is defined. Let IA={i∈[m]:0<pi}, nonempty as recorded in the preamble of The Partition Entropy of a Probability Measure Relative to Another over a Finite Measurable Partition.
Claim 1, Step 2 (A density of the piece). Fix i∈IA, so 0<pi and 0<qi. By The Conditioned Probability Measure Given a Set of Positive Measure §conditioned, the piece γi=γ(⋅∣Ai) is the measure with density ki=qi−11Ai with respect to γ of claim 3 of Image Measures, Measures with Densities, and Change of Variables. Let ci=qi/pi, a positive real number, and fi=ci1Aif, a nonnegative measurable function by claims 1, 2 and 3 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions. For B∈S, claim 3 of Image Measures, Measures with Densities, and Change of Variables (measure space (S,S,γ), density ki, nonnegative measurable function 1Bfi) gives ∫S1Bfidγi=∫S1Bfikidγ. Pointwise 1Bfiki=pi−11B∩Aif, because 1Ai1Ai=1Ai and ciqi−1=pi−1. By the homogeneity in Linearity and Monotonicity of the Lebesgue Integral §nonnegative and the Preliminaries,
∫S1Bfidγi=pi−1∫S1B∩Aifdγ=piν(B∩Ai)=νi(B),
the last equality being The Conditioned Probability Measure Given a Set of Positive Measure §conditioned for the piece νi=ν(⋅∣Ai).
So fi is a density of the probability measure νi with respect to γi in the sense of The Radon-Nikodym Theorem for a Finite Measure and a Sigma-Finite Measure, and Uniqueness of Densities.
Claim 1, Step 3 (Entropy of the piece). Keep i∈IA. We claim that, pointwise on S,
ϕ∘fi=ci1Ai(ϕ∘f)+cilog(ci)1Aif.
At x∈/Ai both sides are ϕ(0)=0. At x∈Ai with f(x)=0 both sides are 0. At x∈Ai with 0<f(x), ϕ(cif(x))=cif(x)log(cif(x))=ciϕ(f(x))+cilog(ci)f(x). Multiplying by ki and using 1Ai1Ai=1Ai and ciqi−1=pi−1,
(ϕ∘fi)ki=pi−11Ai(ϕ∘f)+pi−1log(ci)1Aif.
By the Preliminaries and Linearity and Monotonicity of the Lebesgue Integral §integrable, the right-hand side is integrable with respect to γ with integral pi−1I(Ai)+pi−1log(ci)pi=pi−1I(Ai)−log(pi/qi), since log(ci)=log(qi/pi)=−log(pi/qi). The function ϕ∘fi is measurable by The Function slogs: Continuity, Young's Inequality and Lower Bounds, with the Elementary Bounds for the Exponential and the Logarithm §continuous, so claim 3 of Image Measures, Measures with Densities, and Change of Variables (density ki, real-valued function ϕ∘fi) shows that ϕ∘fi is integrable with respect to γi with ∫Sϕ∘fidγi=pi−1I(Ai)−log(pi/qi). By Step 2 and Relative Entropy of Probability Measures §relative-entropy, νi has finite relative entropy with respect to γi and
piH(νi∣γi)=I(Ai)−pilogqipi.
Claim 1, Step 4 (Cells of ν-measure 0). Let i∈[m] with pi=0. Then ∫S1Aifdγ=0, so 1Aif=0 γ-almost everywhere by The Lebesgue Integral and Null Sets: Almost-Everywhere Comparison, Markov's Inequality, and Dominated Convergence Almost Everywhere §vanishing. At every x with 1Ai(x)f(x)=0 one has 1Ai(x)ϕ(f(x))=0, either because x∈/Ai or because f(x)=0 and ϕ(0)=0. Thus 1Ai(ϕ∘f) equals the zero function almost everywhere, and The Lebesgue Integral and Null Sets: Almost-Everywhere Comparison, Markov's Inequality, and Dominated Convergence Almost Everywhere §comparison gives I(Ai)=0.
Claim 1, Step 5 (Summation). The cells are pairwise disjoint with union S (Finite Measurable Partitions and Their Refinements §partition), so ∑i=1m1Ai(x)=1 for every x∈S and ϕ∘f=∑i=1m1Ai(ϕ∘f). Applying Linearity and Monotonicity of the Lebesgue Integral §integrable once for each additional summand (induction on the number of summands) and then Step 4 with Sums over Finite Index Sets: Finite Unions, Disjoint Unions, Vanishing Terms, Dependent Pairs, Conjugation and the Modulus §vanishing and claim 1 of Properties of a Sum over a Finite Index Set,
H(ν∣γ)=i=1∑mI(Ai)=i∈IA∑I(Ai).
Summing the identity of Step 3 over i∈IA (claims 3 and 4 of Properties of a Sum over a Finite Index Set) gives ∑i∈IApiH(νi∣γi)=H(ν∣γ)−hA(ν∣γ), which is the chain rule. This proves claim 1.
Claim 2. Let i∈IA. By claim 1, νi has finite relative entropy with respect to γi, so Relative Entropy on a Measurable Space: the Gibbs Inequality, the Variational Criterion and Formula, the Entropy Inequality, Small Sets and Data Processing §data-processing, applied to the probability measures νi and γi and the measurable map R, shows that R#νi has finite relative entropy with respect to R#γi and H(R#νi∣R#γi)≤H(νi∣γi). Multiplying by pi>0, summing over IA, adding hA(ν∣γ) and using the chain rule of claim 1 gives the asserted inequality.
Claim 3, Step 1 (Notation). Write B=(B1,…,Bl), pj′=ν(Bj), qj′=γ(Bj), J={j∈[l]:0<pj′}, and let νj′, γj′ be the pieces of ν and γ on Bj for j∈J; by claim 1 applied to B, 0<qj′ for j∈J. Let IA be as in claim 1.
Claim 3, Step 2 (hB≤H). By claim 1 applied to B, each νj′, j∈J, has finite relative entropy with respect to γj′, hence 0≤H(νj′∣γj′) by Relative Entropy on a Measurable Space: the Gibbs Inequality, the Variational Criterion and Formula, the Entropy Inequality, Small Sets and Data Processing §gibbs, and H(ν∣γ)=hB(ν∣γ)+∑j∈Jpj′H(νj′∣γj′). The sum is a finite sum of nonnegative numbers, so hB(ν∣γ)≤H(ν∣γ).
Claim 3, Step 3 (Assigning cells of B to cells of A). Let j∈J. Then Bj=∅, since the empty set has measure 0. By Finite Measurable Partitions and Their Refinements §refines there is i∈[m] with Bj⊆Ai, and it is unique: if also Bj⊆Ai′ with i′=i, the nonempty set Bj would lie in the empty set Ai∩Ai′. Call it ι(j). Then 0<pj′≤pι(j) by monotonicity of ν, so ι(j)∈IA. For i∈[m] let Ji={j∈J:ι(j)=i}. For i∈[m] and j∈[l]: if j∈Ji then Bj∩Ai=Bj; if j∈J∖Ji then Bj∩Ai⊆Aι(j)∩Ai=∅; if j∈/J then ν(Bj∩Ai)≤pj′=0. Since B is a partition, Ai is the union of the pairwise disjoint sets Bj∩Ai, j∈[l], and finite additivity of ν and γ (Measure Spaces and the Lebesgue Integral: Standing Notation §space) gives pi=∑j=1lν(Bj∩Ai) and qi=∑j=1lγ(Bj∩Ai). In the first sum every term with j∈/Ji vanishes, and the terms with j∈Ji are pj′; in the second the terms with j∈Ji are qj′ and all terms are nonnegative. Now let i∈IA. The set Ji is nonempty, since otherwise every term of the first sum would vanish and pi=0 by Sums over Finite Index Sets: Finite Unions, Disjoint Unions, Vanishing Terms, Dependent Pairs, Conjugation and the Modulus §vanishing and claim 1 of Properties of a Sum over a Finite Index Set; hence the same two results give pi=∑j∈Jipj′. If [l]∖Ji is empty, the second sum is qi=∑j∈Jiqj′; otherwise Sums over Finite Index Sets: Finite Unions, Disjoint Unions, Vanishing Terms, Dependent Pairs, Conjugation and the Modulus §disjoint-union splits it as qi=∑j∈Jiqj′+∑j∈[l]∖Jiγ(Bj∩Ai), and dropping the nonnegative second summand gives ∑j∈Jiqj′≤qi, which therefore holds in both cases. Finally the sets Ji, i∈IA, are pairwise disjoint with union J.
Claim 3, Step 4 (The log-sum inequality on one cell). Let i∈IA. For j∈Ji put tj=qipj′piqj′, a positive real number, so that log(pi/qi)−log(pj′/qj′)=logtj≤tj−1. Using pi=∑j∈Jipj′ and ∑j∈Jiqj′≤qi from Step 3,
pilogqipi−j∈Ji∑pj′logqj′pj′=j∈Ji∑pj′logtj≤j∈Ji∑(qipiqj′−pj′)=qipij∈Ji∑qj′−pi≤0.
Claim 3, Step 5 (hA≤hB). Summing Step 4 over i∈IA,
hA(ν∣γ)≤i∈IA∑(j∈Ji∑pj′logqj′pj′)=j∈J∑pj′logqj′pj′=hB(ν∣γ).
The middle equality holds because, by Sums over Finite Index Sets: Finite Unions, Disjoint Unions, Vanishing Terms, Dependent Pairs, Conjugation and the Modulus §pairs, the iterated sum is the sum over the set P of pairs (i,j) with i∈IA and j∈Ji, and by Step 3 the map (i,j)↦j is a bijection of P onto J, with inverse j↦(ι(j),j), so that claim 2 of Properties of a Sum over a Finite Index Set applies. Together with Step 2 this proves claim 3.
Claim 4, Step 1 (Choice of a test function). Let ε be a positive real number and put δ=ε/2. By Relative Entropy on a Measurable Space: the Gibbs Inequality, the Variational Criterion and Formula, the Entropy Inequality, Small Sets and Data Processing §supremum, H(ν∣γ) is the least upper bound of the numbers Λwγ(ν), w bounded measurable, so by Approximation Property of the Supremum and the Infimum in R §epsilon-above we first choose a bounded measurable w:S→R with H(ν∣γ)−δ<Λwγ(ν), then a bound M for w, and then, by The Archimedean Property of the Real Numbers, a natural number N with 2M+δ<Nδ.
Claim 4, Step 2 (A level-set partition). For k∈{0,1,…,N} let ak=−M−δ+kδ, so ak−ak−1=δ for k∈[N], a0<−M and M<aN. For k∈[N] let Ek={x∈S:ak−1<w(x)≤ak}, which is the difference of the sets {w>ak−1} and {w>ak}, both in S by Measure Spaces and the Lebesgue Integral: Standing Notation §measurable; so Ek∈S. The sets Ek are pairwise disjoint: if x∈Ek∩Ek′ with k<k′, then w(x)≤ak≤ak′−1<w(x). They cover S: given x∈S, the set of k∈[N] with w(x)≤ak contains N because w(x)≤M<aN; let k be its least element; if k=1 then a0<−M≤w(x), and if 1<k then k−1 is not in that set, so ak−1<w(x); in both cases x∈Ek. Thus A′=(E1,…,EN) is a finite measurable partition of S. Write pk=ν(Ek), qk=γ(Ek) and P={k∈[N]:0<pk}; by claim 1 applied to A′, 0<qk for k∈P, and hA′(ν∣γ) is defined. Moreover P is nonempty and ∑k∈Ppk=∑k=1Npk=1, as recorded in the preamble of The Partition Entropy of a Probability Measure Relative to Another over a Finite Measurable Partition.
Claim 4, Step 3 (A step function). Let s=∑k=1Nak1Ek, measurable by claims 1 and 2 of Arithmetic, Absolute Values, and Pointwise Limits of Measurable Real-Valued Functions. At x∈Ek one has s(x)=ak and exp(s(x))=exp(ak), since the other indicators vanish there; hence exp∘s=∑k=1Nexp(ak)1Ek, and w(x)≤s(x)<w(x)+δ because ak−δ=ak−1<w(x)≤ak. In particular ∣s∣≤M+δ, so s is bounded measurable.
Claim 4, Step 4 (Λsγ(ν)≥Λwγ(ν)−δ). By Relative Entropy on a Measurable Space: the Gibbs Inequality, the Variational Criterion and Formula, the Entropy Inequality, Small Sets and Data Processing §functional, w and s are integrable with respect to ν, exp∘w and exp∘s are bounded measurable, hence integrable with respect to γ, and Zw=∫Sexp∘wdγ and Zs=∫Sexp∘sdγ are positive. Since w≤s, the monotonicity in Linearity and Monotonicity of the Lebesgue Integral §integrable gives ∫Swdν≤∫Ssdν. Since s<w+δ, claims 4 and 1 of Basic Properties of the Exponential Function give exp∘s≤exp(δ)(exp∘w) pointwise, so Zs≤exp(δ)Zw by Linearity and Monotonicity of the Lebesgue Integral §integrable; as log is increasing, logZs≤log(exp(δ)Zw)=δ+logZw. Therefore
Λsγ(ν)=∫Ssdν−logZs≥∫Swdν−logZw−δ=Λwγ(ν)−δ>H(ν∣γ)−2δ=H(ν∣γ)−ε.
Claim 4, Step 5 (Finite Gibbs inequality). By The Integral of an Indicator Function is the Measure of the Set each 1Ek has integral pk with respect to ν and qk with respect to γ, both finite, so it is integrable with these integrals; by Linearity and Monotonicity of the Lebesgue Integral §integrable and Step 3, ∫Ssdν=∑k=1Nakpk and Zs=∑k=1Nexp(ak)qk. In the first sum the terms with k∈/P vanish, so ∫Ssdν=∑k∈Pakpk by claim 1 of Properties of a Sum over a Finite Index Set and Sums over Finite Index Sets: Finite Unions, Disjoint Unions, Vanishing Terms, Dependent Pairs, Conjugation and the Modulus §vanishing, P being nonempty. The second sum dominates ∑k∈Pexp(ak)qk: it equals it if P=[N], and otherwise Sums over Finite Index Sets: Finite Unions, Disjoint Unions, Vanishing Terms, Dependent Pairs, Conjugation and the Modulus §disjoint-union splits it into that sum plus the sum of the nonnegative terms with k∈[N]∖P. For k∈P put uk=pkZsqkexp(ak), a positive real number with loguk=ak−logZs−log(pk/qk), using log(exp(ak))=ak. Using ∑k∈Ppk=1 and loguk≤uk−1,
Λsγ(ν)−hA′(ν∣γ)=k∈P∑pkloguk≤k∈P∑pk(uk−1)=Zs1k∈P∑qkexp(ak)−1≤0.
Combining with Step 4, H(ν∣γ)−ε<Λsγ(ν)≤hA′(ν∣γ), which proves claim 4.