Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Kullback–Leibler divergence is nonnegative

Statement

Assume AC and use the directional convention of Kullback–Leibler divergence. For probability measures P,Q on one measurable space, D(P∥Q)≥0, and D(P∥Q)=0 if and only if P=Q.

There is also the following normalized-density identity. Let (X,A,μ) be a sigma-finite measure space: it is a set with a sigma-algebra and measure (Measure spaces), and there is a countable measurable cover by sets of finite μ-measure (Finite, sigma-finite, and semifinite measures). Let γ:X→[0,∞) be a finite-valued measurable function with Z:=∫γ dμ∈(0,∞), and put π=γ/Z. Let q:X→[0,∞) be a finite-valued measurable probability density, so ∫q dμ=1, and suppose q=0 μ-almost everywhere on {γ=0}. Assume ∫q(∣log⁡γ∣+∣log⁡q∣) dμ<∞, where each term with q=0 is defined to be zero. Then log⁡Z=∫q(log⁡γ−log⁡q) dμ+D(q μ∥π μ). In particular, the first integral is at most log⁡Z. This identity concerns normalized densities only; it does not assert posterior existence for an unspecified statistical model.

Facts & Assumptions

Given: AC and probability measures P,Q; for the normalized-density clause, a sigma-finite measure space (X,A,μ), finite-valued measurable γ,q≥0, 0<Z=∫γ dμ<∞, π=γ/Z, ∫q dμ=1, q=0 almost everywhere on {γ=0}, and the stated absolute-integrability condition.

[A1]

The Axiom of Choice: AC supplies the Radon–Nikodym representative used by the published KL definition. The marginalization and density computations below use no further choice.

[F1]

Kullback–Leibler divergence: if P≪̸Q, then D(P∥Q)=+∞. If P≪Q and r=dP/dQ, then D(P∥Q)=∫log⁡r dP=∫rlog⁡r dQ, with 0log⁡0=0 and a finite negative part; the definition sets the logarithm to zero on {r=0}.

[F2]

A sigma-finite signed measure that is absolutely continuous with respect to a sigma-finite positive measure has a unique almost-everywhere density: for finite positive P≪Q, a measurable density r=dP/dQ satisfies P(E)=∫Er dQ for every measurable E.

[F3]

Jensen's integral inequality for a probability measure: on a probability space, if r and φ(r) are integrable and φ is convex, then φ(∫r)≤∫φ(r).

[F4]

The integral logarithm L(x):=∫1xdtt for x>0 and The integral logarithm L is the published natural logarithm: for t>0, log⁡t=∫1tdu/u and this integral logarithm is the natural logarithm.

[F8]

A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative: a twice differentiable function on an open interval with nonnegative second derivative is convex there.

[F9]
[F10]

A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion: a continuous real-valued function on a compact interval is Riemann integrable.

[F12]

A nonnegative measurable function has integral 0 exactly when it vanishes almost everywhere: a nonnegative measurable function has integral zero exactly when it vanishes almost everywhere.

[F13]

Measure spaces and Finite, sigma-finite, and semifinite measures: a measure space is a set with a sigma-algebra and measure; sigma-finiteness means there is a countable measurable cover by sets of finite measure.

[F14]

Probability measures and probability spaces: a probability measure has total mass one.

[F15]

The measure with density f relative to μ: for a nonnegative measurable density f, the associated measure is (f dμ)(E)=∫Ef dμ.

[F16]

Integrating against a density agrees with integrating the product: for nonnegative measurable g,f, ∫g d(f dμ)=∫gf dμ.

[F17]

Monotonicity and nonnegative homogeneity of the nonnegative integral: multiplying a nonnegative measurable function by a positive finite scalar multiplies its integral by that scalar.

[F18]

The Borel sigma-algebra on the extended real line: the extended-real Borel sigma-algebra is generated by rays (a,+∞] and contains Borel intervals in [0,+∞].

[F19]

Threshold characterisations of real-valued and extended-real-valued measurability: an extended-real function is Borel measurable if all strict upper threshold preimages are Borel.

[F20]

Composition with a Borel measurable outer map preserves measurability: composition of a measurable map with a Borel measurable outer map is measurable.

[F21]

Arithmetic and lattice operations preserve measurability whenever they are defined: pointwise products of extended-real measurable functions are measurable under its stated zero-times-infinity convention.

[F22]

The positive and negative parts of a function: for a measurable real-valued function h, h=h+−h− and ∣h∣=h++h−.

[F23]

Basic properties of the absolute value: −∣a∣≤a≤∣a∣ and ∣−a∣=∣a∣ for real a. Adding the bounds for a and b gives −(∣a∣+∣b∣)≤a+b≤∣a∣+∣b∣, hence ∣a+b∣≤∣a∣+∣b∣.

[F25]

The Lebesgue integral is linear on L1(μ): L1(Q) is a vector space and the integral is linear on it.

Proof

1.1F1given

If P≪̸Q, [F1] gives D(P∥Q)=+∞. If P≪Q but D(P∥Q)=+∞, nonnegativity is immediate. It remains to consider P≪Q with finite divergence; let r=dP/dQ.

1.2F1F5F7F8algebra

Put φ(0)=0 and φ(t)=tlog⁡t for t>0. By [F5] and [F7], φ′′(t)=1/t>0 for t>0, so [F8] makes φ convex on (0,∞). Its continuity at zero is part of [F1]; taking limits in the convexity inequality as a positive endpoint tends to zero extends convexity to [0,∞).

1.3F4F6F9F10F11F24algebra

Define g(t):=tlog⁡t−t+1 for t>0 and g(0):=1. For s>1, set c=(1+s)/2. By [F11], log⁡s=∫1cdu/u+∫csdu/u. On [1,c], 1/u≤1, while on [c,s], 1/u≤1/c<1; [F9] and [F24] give log⁡s<s−1. For 0<s<1, set c=(1+s)/2. By [F11], log⁡s=−∫s1du/u=−(∫scdu/u+∫c1du/u). On [s,c], 1/u≥1/c>1, and on [c,1], 1/u≥1; [F9] and [F24] give log⁡s<s−1. The integrands and comparison constants are integrable on these compact intervals by [F10]. Equality holds at s=1. Applying this inequality to s=1/t and using [F6] gives tlog⁡t≥t−1, strictly unless t=1. Hence g≥0 and its only zero is 1.

1.4F13F14F15F17givenalgebra

For the normalized-density clause on the measure space [F13], put P:=q μ and Q:=π μ. By [F17], ∫π dμ=Z−1∫γ dμ=1; hence [F15] and [F14] make P and Q probability measures.

1.5F12F15F16F17F18F19F20F21givenalgebra

If Q(E)=0, [F15] gives ∫Eπ dμ=0, hence ∫Eγ dμ=0 because Z is finite and positive, using [F17]. By [F12], γ=0 μ-almost everywhere on E. The support hypothesis on q then gives P(E)=0, so P≪Q. Define ρ:[0,∞]→[0,∞] by ρ(t)=1/t for finite t>0 and ρ(0)=ρ(+∞)=0. For a<0, {ρ>a}=[0,∞]; for a=0 it is (0,∞); and for a>0 it is (0,1/a). These are Borel by [F18], so [F19] makes ρ Borel. By [F20]–[F21], r:=q ρ(π) is measurable and equals q/π on {π>0} and zero on {π=0}. For every measurable E, [F16] gives ∫Er dQ=∫Erπ dμ=∫Eq dμ=P(E), because q=0 μ-almost everywhere on {π=0}. Thus r=dP/dQ.

2.1A1F1F2step 1.1

By [F2] with E equal to the whole space, ∫r dQ=P(Ω)=1. The negative part of rlog⁡r is finite by [F1], so finiteness of D(P∥Q) also makes its positive part finite. Thus r and rlog⁡r are integrable with respect to the probability measure Q. The Radon–Nikodym representative here is the one whose selection is covered by [A1].

2.2A1F1F16F22F23givenstep 1.5algebra

On the P-full-measure subset of {q>0} where γ>0, we have π=γ/Z>0 and ℓ:=log⁡r=log⁡q−log⁡γ+log⁡Z. Where q=0, the KL logarithm ℓ is defined to be zero. By [F23], q∣ℓ∣≤q∣log⁡q∣+q∣log⁡γ∣+q∣log⁡Z∣ almost everywhere. The right-hand side has finite integral by the hypotheses and ∫q=1; hence [F16] gives ∫∣ℓ∣ dP=∫q∣ℓ∣ dμ<∞. By [F1], [F16], and [F22], applying [F16] to the positive and negative parts of ℓ gives D(P∥Q)=∫log⁡r dP=∫q(log⁡q−log⁡γ+log⁡Z) dμ. Using ∫q dμ=1 and rearranging proves the identity.

3.1F1F3step 2.1step 1.2

Apply [F3] on (Ω,A,Q) to r and φ. Steps 2.1 and 1.2 check its integrability and convexity hypotheses, and ∫r dQ=1 by step 2.1. Therefore 0=φ(1)=φ ⁣(∫r dQ)≤∫φ(r) dQ=D(P∥Q).

3.2A1F1F2F12F21F25step 2.1step 1.3algebra

The representative r is finite-valued and measurable by [F1], and φ(r) is measurable there; the arithmetic measurability result [F21] therefore makes g(r)=φ(r)−r+1 measurable. It is nonnegative by step 1.3. By step 2.1, r,φ(r)∈L1(Q), and 1∈L1(Q) because Q is a probability measure. Linearity [F25] now gives g(r)∈L1(Q) and ∫g(r) dQ=∫φ(r) dQ−∫r dQ+∫1 dQ=D(P∥Q)−1+1=D(P∥Q). Thus if D(P∥Q)=0, [F12] applies to the measurable nonnegative integrand and gives g(r)=0 Q-almost everywhere. By step 1.3, r=1 Q-almost everywhere, and the Radon–Nikodym identity [F2] gives P(E)=Q(E) for every measurable E. Conversely, if P=Q then r=1 almost everywhere and [F1] gives D(P∥Q)=0.

4.1step 2.2step 3.1algebra∎

Step 2.2 identifies the normalized-density divergence as finite, and step 3.1 proves it is nonnegative. Therefore ∫q(log⁡γ−log⁡q) dμ≤log⁡Z, as claimed.

Depends on

Used by

Dependency tree · two levels

113 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources