Gärtner–Ellis theorem. Let (Zn)(Z_n) be Rd\mathbb{R}^d-valued and let an→∞a_n\to\infty. Define the scaled

Λn(θ)=1anlog⁡E[exp⁡(an⟨θ,Zn⟩)],θ∈Rd,\Lambda_n(\theta)=\frac{1}{a_n}\log \mathbb{E}\bigl[\exp\bigl(a_n\langle \theta, Z_n\rangle\bigr)\bigr],\qquad \theta\in\mathbb{R}^d,

and assume the pointwise limit Λ(θ)=lim⁡n→∞Λn(θ)\Lambda(\theta)=\lim_{n\to\infty}\Lambda_n(\theta) exists in (−∞,∞](-\infty,\infty] for every θ\theta. Suppose 00 lies in the interior of the effective domain of Λ\Lambda, and that Λ\Lambda is lower semicontinuous and essentially smooth: it is differentiable throughout that interior and is steep at its boundary. Then (Zn)(Z_n) satisfies a on Rd\mathbb{R}^d with speed ana_n and good

I(x)=sup⁡θ∈Rd{⟨θ,x⟩−Λ(θ)}.I(x)=\sup_{\theta\in\mathbb{R}^d}\bigl\{\langle \theta,x\rangle-\Lambda(\theta)\bigr\}.

The function II is the of Λ\Lambda. For empirical means of i.i.d. real variables, this recovers under standard regularity assumptions.