Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-generatedPipeline-generatedprecheck pass
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.

Finite iid log-likelihood averages concentrate

Statement

Let P=(px) and Q=(qx) be probability vectors on a finite nonempty alphabet with P≪Q. For n≥1, write Pn(x1,…,xn)=∏ipxi and Qn(x1,…,xn)=∏iqxi. Let X1,…,Xn be independent with common law P, define ℓ(x)=log⁡(px/qx) when px>0 and ℓ(x)=0 when px=0, and put Ln=∑i=1nℓ(Xi). Then Ln/n→D(P∥Q) in probability as n→∞. For every xn∈supp⁡(P)n, one also has Qn(xn)=Pn(xn)exp⁡(−Ln(xn)).

Facts & Assumptions

Given: P,Q with P≪Q, and an independent identically distributed sample X1,…,Xn with law P.

[F1]

Finite probability vectors: supp⁡P is finite and all its coordinates have positive mass; P≪Q gives qx>0 whenever px>0.

[F2]

Finite Kullback–Leibler divergence: the finite mean of ℓ(X)=log⁡(pX/qX) under P is ∑x:px>0pxlog⁡(px/qx)=D(P∥Q).

[F3]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the logarithm of a finite product of positive ratios is the sum of their logarithms.

[F4]
[F5]

The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x): exp⁡(−u)=1/exp⁡(u) for every real u.

[F6]

Expectation of a real random variable on a finite probability space: on a finite probability space, expectation is the finite probability-weighted sum.

Proof

1.1F1F3F4F5givenalgebra

For xn∈supp⁡(P)n, every ratio pxi/qxi is positive. By [F3], Ln(xn)=log⁡∏i(pxi/qxi). Applying [F4] and [F5] gives exp⁡(Ln(xn))=Pn(xn)/Qn(xn) and hence Qn(xn)=Pn(xn)exp⁡(−Ln(xn)).

2.1F1F2F6givenalgebra∎

The values ℓ(x) on the finite set supp⁡P form a bounded finite-valued random variable. Put Yi:=ℓ(Xi)−D(P∥Q); [F2] and the finite-sum expectation formula [F6] give E[Yi]=0. Let σ2=E[Yi2]<∞, which is independent of i since all Xi have law P. For i≠j, expanding the expectation on the product law Pn using [F6] gives E[YiYj]=(∑xpx(ℓ(x)−D(P∥Q)))2∏k≠i,j(∑xpx)=0, where the square is zero by [F2] and the remaining factors equal one by [F1]. Expanding E[(n−1∑iYi)2] therefore gives σ2/n. For every δ>0, the pointwise inequality δ21{∣n−1∑iYi∣≥δ}≤(n−1∑iYi)2 and [F6] imply Pn(∣Ln/n−D(P∥Q)∣≥δ)≤σ2/(nδ2)→0, since the expectation of an indicator is the probability of its event.

Depends on

Used by

Dependency tree · two levels

16 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