Yu-Liang Wu

An introduction to large deviation theory

PDF

1. Introduction

1.1. Overview

The aim of this lecture note is to give a very brief introduction to the theory of large deviations. In probability theory, a recurrent theme is the convergence of random variables, and the law of large numbers (LLN) is among the fundamental results concerning their “typical” behavior. But beyond this scope, mathematicians yearn for a more refined picture of the “atypical configurations” or “rare events” that deviate from the expected outcome either by a small or a large amount. In this pursuit, the former is addressed in the central limit theorem (CLT) while the latter gives rise to the large deviation principle (LDP). To demonstrate these, we would like to begin with the following example.

Example 1.1 (Bernoulli trial). A Bernoulli trial is a series of identical and independent experiments with exactly two possible outcomes, say 0 and 1, which may be modeled as a sequence of i.i.d. random variables (𝑋𝑖)𝑖=1∞ with the Bernoulli distribution:

ℙ ( 𝑋 𝑖 = 1 ) = 𝑝 and ℙ ( 𝑋 𝑖 = 0 ) = 1 − 𝑝 ( 𝑝 ∈ ( 0 , 1 ) ) .

The core questions regarding these trials revolve around the number of 1′s in an 𝑛-trial, which is mathematically phrased as a random variable 𝑆𝑛=∑𝑖=1𝑛𝑋𝑖. It is not hard to determine the distribution of 𝑆𝑛:

ℙ ( 𝑆 𝑛 = ⌊ 𝑛 𝑥 ⌋ ) = ( 𝑛 ⌊ 𝑛 𝑥 ⌋ ) 𝑝 ⌊ 𝑛 𝑥 ⌋ ( 1 − 𝑝 ) 𝑛 − ⌊ 𝑛 𝑥 ⌋ if 𝑥 ∈ [ 0 , 1 ] ,

for which, here and throughout our study, we intend to examine the logarithm of the probability of the associated events. Specifically, by Stirling’s approximation (log𝑛!=𝑛log𝑛−𝑛+𝑂(log𝑛)),

𝑛 − 1 log ℙ ( 𝑆 𝑛 = ⌊ 𝑛 𝑥 ⌋ ) = ⌊ 𝑛 𝑥 ⌋ 𝑛 log ( 𝑝 ⌊ 𝑛 𝑥 ⌋ 𝑛 ) + ( 1 − ⌊ 𝑛 𝑥 ⌋ 𝑛 ) log ( 1 − 𝑝 1 − ⌊ 𝑛 𝑥 ⌋ 𝑛 ) + 𝑂 ( log 𝑛 𝑛 ) .

Asymptotically, given that 𝑥↦−𝑥log𝑥 is uniformly continuous on [0,1],

lim 𝑛 → ∞ 𝑛 − 1 log ℙ ( 𝑆 𝑛 = ⌊ 𝑛 𝑥 ⌋ ) = − 𝐼 ( 𝑥 ) ,

where

𝐼 ( 𝑥 ) = 𝑥 log ( 𝑥 𝑝 ) + ( 1 − 𝑥 ) log ( 1 − 𝑥 1 − 𝑝 )

is plotted in Figure 1. In the language of large deviation theory, the sequence 𝑛−1𝑆𝑛 is said to satisfy the large deviation principle (which will be defined rigorously later) with rate function 𝐼.

Some comments are in order.

  • 𝐼(𝑥) is a convex function with

    𝐼′ ( 𝑥 ) = log ( 𝑥 1 − 𝑥 ) − log ( 𝑝 1 − 𝑝 ) and 𝐼″ ( 𝑥 ) = 1 𝑥 + 1 1 − 𝑥 .
    In particular, its minimum is attained by a unique point 𝑥 = 𝑝 = 𝔼 ( 𝑋 1 ) . This implies the law of large numbers by the Borel-Cantelli lemma.
  • Observe that the second-order Taylor expansion

    𝐼 ( 𝑥 ) = ( 𝑥 − 𝑝 ) 2 2 𝑝 ( 1 − 𝑝 ) + 𝑂 ( | 𝑥 − 𝑝 | 2 ) .

    When considering a small deviation 𝑥=𝑝+𝑦/𝑛, this is “roughly” consistent with the central limit theorem:

    ℙ ( 𝑛 ( 𝑛 − 1 𝑆 𝑛 − 𝑝 ) 𝑝 ( 1 − 𝑝 ) = 𝑦 𝑝 ( 1 − 𝑝 ) ) ≈ 1 2 𝜋 𝑝 ( 1 − 𝑝 ) 𝑒 𝑦 2 2 𝑝 ( 1 − 𝑝 ) .
rate function 𝐼(𝑥)
Figure 1: rate function 𝐼(𝑥)

1.2. General settings

Throughout the note, we let {𝜇𝜀}𝜀 be a collection of probability measures on a common measurable space (𝒳︀,ℬ︀). The family is indexed by a set of non-negative real numbers 𝜀>0 with an accumulation point at 0, as we are primarily interested in the limiting behavior of these measures as 𝜀→0. Within this framework, we assume that 𝒳︀ is a Hausdorff topological space and that ℬ︀ contains the Borel 𝜎-algebra ℬ︀𝒳︀.

Definition 1.2 (rate function). Let 𝐼:𝒳︀→[0,∞] be a function with sublevel sets Ψ𝐼(𝛼)≔{𝑥:𝐼(𝑥)≤𝛼} and effective domain 𝒟︀𝐼≔{𝑥:𝐼(𝑥)<∞}.

  • 𝐼 is called a rate function if it is lower semicontinuous.
  • A rate function 𝐼 is said to be good if Ψ𝐼(𝛼) is compact for all 𝛼<∞.

Definition 1.3 (large deviation principle). The family {𝜇𝜀}𝜀 is said to satisfy the large deviation principle with rate 𝐼:𝒳︀→[0,∞] if for every Γ∈ℬ︀,

− inf 𝑥 ∈ Γ ˚ 𝐼 ( 𝑥 ) ≤ lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( Γ ) ≤ lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( Γ ) ≤ − inf 𝑥 ∈ Γ ─ 𝐼 ( 𝑥 ) .
(1.1)

This definition of large deviation principle provides the most general framework for our discussion. In particular, one can further adapt the definition for any sequence of random variables as follows: The sequence (𝑋𝑛)𝑛∈ℕ is said to satisfy the large deviation principle if the associated family of probability laws {𝜇𝑛−1}𝑛∈ℕ satisfies the large deviation principle. This convention is applied to all statements concerning random variables.

The rationale behind our specific settings is tied directly to the following characterizations of the large deviation principle. By assuming ℬ︀𝒳︀⊆ℬ︀, we immediately have the following equivalent statement.

Remark 1.4. Suppose ℬ︀𝒳︀⊆ℬ︀. Then, {𝜇𝜀}𝜀 satisfies the large deviation principle with rate 𝐼 if and only if the following hold.

  • (upper bound) For any closed set 𝐹⊂𝒳︀,

    lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐹 ) ≤ − inf 𝑥 ∈ 𝐹 𝐼 ( 𝑥 ) .
    (1.2)
  • (lower bound) For any open set 𝐺⊂𝒳︀,

    lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐺 ) ≥ − inf 𝑥 ∈ 𝐺 𝐼 ( 𝑥 ) .
    (1.3)

As for the Hausdorff assumption, it ensures that compact sets are well-behaved, particularly concerning the notion of exponential tightness.

Definition 1.5. Suppose ℬ︀ contains all compact subsets of 𝒳︀. The family {𝜇𝜀} is exponentially tight if for every 𝛼<∞, there exists a compact set 𝐾 such that

lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐾 𝑐 ) < − 𝛼 .

As every compact set is closed in a Hausdorff space, we can relax the LDP conditions under the assumption of exponential tightness as follows:

Proposition 1.6. Suppose ℬ︀𝒳︀⊂ℬ︀. If {𝜇𝜀} is exponentially tight, then the following hold.

  • (upper bound) If (1.2) holds for every compact set, so does it for every closed set.
  • (lower bound) If (1.3) holds for every open set, then 𝐼 is good.

Notably, any {𝜇𝜀} admitting a rate function that satisfies the relaxed conditions is said to satisfy the weak LDP.

Proof. Suppose {𝜇𝜀} is exponentially tight. If 𝐹 is a closed set, then for any closed set 𝐹,

lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐹 ) ≤ − inf 𝑥 ∈ 𝐹 𝐼 ( 𝑥 )

. For all ∞>𝛼>0, there exists a compact set 𝐾𝛼 such that

lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐾 𝛼 𝑐 ) < − 𝛼 .

Hence,

lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐹 ) ≤ max { lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐹 ∩ 𝐾 𝛼 ) , lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐾 𝛼 𝑐 ) } = lim 𝑎 → ∞ lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐹 ∩ 𝐾 𝛼 ) ≤ − inf 𝑥 ∈ 𝐹 ∩ 𝐾 𝛼 𝐼 ( 𝑥 ) ,

where the last inequality holds as 𝐹∩𝐾𝛼 is compact due to the Hausdorff assumption.

With exponential tightness and the lower bound for open sets, we can find for every ∞>𝛼>0 a compact set 𝐾𝛼 such that

− 𝛼 > lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐾 𝛼 𝑐 ) ≥ − inf 𝑥 ∈ 𝐾 𝛼 𝑐 𝐼 ( 𝑥 ) .

This naturally implies

Ψ 𝐼 ( 𝛼 ) ⊂ 𝐾 𝛼 ,

which is a closed subset due to lower semicontinuity and therefore compact due to the Hausdorff assumption. □

2. Cramér’s theorem in ℝ

In this section, we establish the Large Deviation Principle for the empirical mean of i.i.d. random variables. We begin by introducing the primary tools of our analysis: the logarithmic moment generating function and its Fenchel-Legendre transform. Let (𝑋𝑖)𝑖=1∞ be i.i.d. random variables with law 𝜇∈𝑀1(ℝ), and let 𝜇𝑛 be the law of the empirical mean 𝑆ˆ𝑛=1𝑛∑𝑖=1𝑛𝑋𝑖. We denote the expectation of 𝑋1 by 𝑥─≔𝔼𝑋1, whenever it is well-defined.

Definition 2.1. The logarithmic moment generating function (log MGF) associated with the law 𝜇 is defined as

Λ ( 𝜆 ) ≔ log 𝔼 ( 𝑒 ⟨ 𝜆 , 𝑋 1 ⟩ ) .
(2.1)

Definition 2.2. The Fenchel-Legendre transform of Λ(𝜆) is

Λ ∗ ( 𝑥 ) ≔ sup 𝜆 ∈ ℝ [ ⟨ 𝜆 , 𝑥 ⟩ − Λ ( 𝜆 ) ] .
(2.2)

Example 2.3. There is a geometric interpretation of the Fenchel-Legendre transform of Λ(𝜆); that is, Λ∗(𝑥) is the supremum of the 𝑦-intercepts of all lines with slope 𝑥 that lie below Λ.

rate function 𝐼(𝑠)
Figure 2: rate function 𝐼(𝑠)

For the empirical means, the large deviation principle takes the following form:

Theorem 2.4 (Cramér). Let 𝑋𝑖, 𝜇𝑛, Λ, and Λ∗ be as defined on ℝ. Then, {𝜇𝑛} satisfies the LDP with the convex rate function Λ∗, namely,

  1. For any closed set 𝐹, lim sup𝑛→∞1𝑛log𝜇𝑛(𝐹)≤−inf𝑥∈𝐹Λ∗(𝑥).
  2. For any open set 𝐺, lim sup𝑛→∞1𝑛log𝜇𝑛(𝐺)≥−inf𝑥∈𝐺Λ∗(𝑥).

Furthermore,

  1. If 0∈𝒟︀Λ˚, then Λ∗ is good.

To motivate the proof, we first examine the role of the log MGF. For real-valued random variables, Markov’s inequality provides the key estimate for the LDP upper bound ((1.2)). Specifically, for any 𝜆≥0:

𝜇 𝑛 [ 𝑥 , ∞ ) ≤ 𝑒 − 𝜆 𝑥 𝔼 ( 𝑒 𝜆 𝑆 ˆ 𝑛 ) = 𝑒 − 𝜆 𝑥 ( 𝔼 ( 𝑒 𝜆 𝑋 1 ) ) 𝑛 ⇒ lim sup 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 [ 𝑥 , ∞ ) ≤ inf 𝜆 ≥ 0 − 𝜆 𝑥 + Λ ( 𝜆 ) .

Similarly,

lim sup 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( − ∞ , 𝑥 ] ≤ inf 𝜆 ≤ 0 − 𝜆 𝑥 + Λ ( 𝜆 ) .

These observations suggest that Λ∗ is the natural candidate for the rate function. The following lemma summarizes the key properties of Λ and Λ∗.

Lemma 2.5. Let Λ and Λ∗ be as defined. Then,

  1. Λ is a convex function and Λ∗ is a convex rate function.
  2. Either of following holds.

    • If Λ(𝜆)<∞ only when 𝜆=0, then Λ∗ is identically zero.
    • If Λ(𝜆)<∞ for some 𝜆>0 (respectively, 𝜆<0), then 𝑥─<∞ (respectively, 𝑥─>−∞) is well-defined. Under the circumstances,

      Λ ∗ ( 𝑥 ) = { sup 𝜆 ≥ 0 [ 𝜆 𝑥 − Λ ( 𝜆 ) ] if 𝑥 ≥ 𝑥 ─ , sup 𝜆 ≤ 0 [ 𝜆 𝑥 − Λ ( 𝜆 ) ] if 𝑥 ≤ 𝑥 ─ ,
      (2.3)

      which satisfies

      • Λ∗ is decreasing on (−∞,𝑥─] and increasing on [𝑥─,∞), and
      • inf𝑥∈ℝΛ∗(𝑥)=0 and if 𝑥─∈ℝ, then Λ∗(𝑥─)=0.
  3. Λ is differentiable in 𝒟︀˚Λ with Λ′(𝜆)=(𝔼(𝑒𝜆𝑋1))−1𝔼(𝑋1𝑒𝜆𝑋1) and

    Λ′ ( 𝜆 ) = 𝑥 ⇒ Λ ∗ ( 𝑥 ) = 𝜆 𝑥 − Λ ( 𝜆 ) .
  4. If 0∈𝒟︀˚Λ, then Λ∗ is a good rate function. Moreover, if 𝒟︀Λ=ℝ, then lim|𝑥↦∞Λ∗(𝑥)|𝑥|=∞.

Proof. (1) By Hölder’s inequality, given any 𝜆,𝜆′∈ℝ and any 𝑡,𝑡′∈[0,1] satisfying 𝑡+𝑡′=1,

log 𝔼 ( 𝑒 ⟨ 𝑡 𝜆 + 𝑡′ 𝜆′ , 𝑋 1 ⟩ ) ≤ 𝑡 log 𝔼 ( 𝑒 ⟨ 𝜆 , 𝑋 1 ⟩ ) + 𝑡′ log 𝔼 ( 𝑒 ⟨ 𝜆′ , 𝑋 1 ⟩ ) ,

proving the convexity of Λ. The convexity of Λ∗ follows from definition:

sup 𝜆 ∈ ℝ [ ⟨ 𝜆 , 𝑡 𝑥 + 𝑡′ 𝑥 ⟩ − Λ ( 𝜆 ) ] ≤ 𝑡 sup 𝜆 ∈ ℝ [ ⟨ 𝜆 , 𝑥 ⟩ − Λ ( 𝜆 ) ] + 𝑡′ sup 𝜆 ∈ ℝ [ ⟨ 𝜆 , 𝑥′ ⟩ − Λ ( 𝜆 ) ] .

To prove the lower semicontinuity, observe that for any 𝜆∈ℝ and any 𝑥∈ℝ,

lim inf 𝑦 → 𝑥 ⟨ 𝜆 , 𝑦 ⟩ − Λ ( 𝜆 ) = ⟨ 𝜆 , 𝑥 ⟩ − Λ ( 𝜆 ) ,

implying lim inf𝑦→𝑥Λ∗(𝑦)≥Λ∗(𝑥). The non-negativity of Λ∗ follows from the fact Λ∗(𝑥)≥⟨0,𝑥⟩−Λ(0)=0.

(2) The case 𝒟︀Λ={0} is automatic. If Λ(𝜆)<∞ for some 𝜆>0, then, due to the fact that 𝑒𝑥≥𝑥 for all 𝑥≥0,

𝔼 [ 𝑋 1 𝟙 { 𝑋 1 ≥ 0 } ] ≤ 𝜆 − 1 𝔼 [ 𝑒 ⟨ 𝜆 , 𝑋 1 ⟩ 𝟙 { 𝑋 1 ≥ 0 } ] ≤ 𝜆 − 1 exp ( Λ ( 𝜆 ) ) < ∞ ,

meaning both 𝔼(⟨𝜆,𝑋1⟩) and Λ(𝜆) are well-defined. Hence, by Jensen’s inequality,

𝑥 ─ = 𝜆 − 1 log ∘ exp ( 𝔼 ( ⟨ 𝜆 , 𝑋 1 ⟩ ) ) ≤ 𝜆 − 1 Λ ( 𝜆 ) < ∞ .

The argument proceeds similarly for Λ(𝜆)>−∞ whenever 𝜆<0.

We then proceed to prove (2.3) and its related properties. Since now 𝑥─ is well-defined, by Jensen’s inequality, for all 𝜂<0 and 𝑥≥𝑥─ (similar for 𝜂>0 and 𝑥≤𝑥─),

⟨ 𝜂 , 𝑥 ⟩ − Λ ( 𝜂 ) = log 𝔼 ( 𝑒 ⟨ 𝜂 , 𝑥 − 𝑋 1 ⟩ ) ≤ ⟨ 𝜂 , 𝑥 − 𝑥 ─ ⟩ ≤ 0 = ⟨ 0 , 𝑥 ⟩ − Λ ( 0 ) ,
(2.4)

from which (2.3) follows. Moreover, (2.3) implies the monotonicity on (𝑥─,∞) and (∞,𝑥─). Finally, if 𝑥─∈ℝ, then by (2.4), inf𝑥∈ℝΛ∗(𝑥)=Λ∗(𝑥─)=0. If 𝑥─=−∞ (similar for 𝑥─=−∞), we deduce from Markov’s inequality that for all 𝜆≥0

log 𝜇 [ 𝑥 , ∞ ) ≤ log 𝑒 − ⟨ 𝜆 , 𝑥 ⟩ 𝔼 ( 𝑒 ⟨ 𝜆 , 𝑋 1 ⟩ ) ,

from which it follows that 0≤inf𝑥∈ℝΛ∗(𝑥)≤lim𝑥→𝑥─Λ∗(𝑥)≤0, as desired.

(3) The differentiability follows from the dominated convergence theorem. Let 𝑓𝜀(𝑥)=𝑒(𝜆+𝜀)𝑥−𝑒𝜆𝑥𝜀 so that 𝑓𝜀(𝑥)→𝑥𝑒𝜆𝑥 as 𝜀→0 and |𝑓𝜀(𝑥)|≤𝑒𝜆𝑥(𝑒𝛿|𝑥|−1)𝛿≕ℎ𝛿(𝑥) whenever |𝜀|<𝛿. Since 𝔼(ℎ𝛿(𝑋1))<∞ for all sufficiently small 𝛿, we may apply the dominated convergence theorem to derive the derivative of Λ. Finally, the function 𝑔(𝜂)≔⟨𝜂,𝑥⟩−Λ(𝜂) is concave and thus 𝑔′(𝜆)=0 implies 𝑔(𝜆)=sup𝜂∈ℝ𝑔(𝜂), proving the proposed property.

(4) Suppose [𝜆−,𝜆+]⊂𝒟︀Λ is a non-degenerate interval containing 0. Then, for 𝜆∈[𝜆−,𝜆+]

lim inf | 𝑥 ↦ ∞ Λ ∗ ( 𝑥 ) | 𝑥 | ≥ lim inf | 𝑥 ↦ ∞ [ 𝜆 sign ( 𝑥 ) − Λ ( 𝜆 ) | 𝑥 | ] ≥ min { − 𝜆 − , 𝜆 + } > 0 ,

implying Λ∗(𝑥)→∞ as |𝑥|→∞. Hence, the sublevel set ΨΛ∗(𝛼) is closed and bounded for all 𝛼<∞, and Λ∗ is good. When 𝒟︀Λ=ℝ, then the result follows by letting 𝜆+=−𝜆−→∞. □

Proof of Theorem 2.4. (1) For brevity, let 𝐼𝐹=inf𝑥∈𝐹⟨𝜆,𝑥⟩−Λ(𝜆). If 𝐼𝐹=0, then the inequality is trivial. Hence, we assume 𝐼𝐹>0. Under the circumstances, the numbers 𝑥+=inf[𝑥─,∞)∩𝐹 and 𝑥−=sup(−∞,𝑥─]∩𝐹 are different from 𝑥─. By Markov’s inequality, for all 𝜆>0 and 𝜆′<0,

𝜇 𝑛 ( 𝐹 ) ≤ 𝜇 𝑛 [ 𝑥 + , ∞ ) + 𝜇 𝑛 ( − ∞ , 𝑥 − ] ≤ 𝑒 − 𝑛 ( ⟨ 𝜆 , 𝑥 + ⟩ − Λ ( 𝜆 ) ) + 𝑒 − 𝑛 ( ⟨ 𝜆′ , 𝑥 − ⟩ − Λ ( 𝜆′ ) ) .

By Lemma 2.5,

𝜇 𝑛 ( 𝐹 ) ≤ 𝑒 − 𝑛 Λ ∗ ( 𝑥 + ) + 𝑒 − 𝑛 Λ ∗ ( 𝑥 − ) ≤ 2 𝑒 𝐼 𝐹 .

Taking the normalized logarithm and letting 𝑛→∞ yields the desired inequality.

(2) It suffices to show that for all measures 𝜇 and all 𝛿>0,

lim inf 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( − 𝛿 , 𝛿 ) ≥ inf 𝜆 ∈ ℝ Λ ( 𝜆 ) = − Λ ∗ ( 0 ) ,
(2.5)

for once this is proved, one may simply consider the translation 𝑌=𝑋−𝑥 to deduce that the log MGF Λ𝑌(𝜆)=Λ(𝜆)−⟨𝜆,𝑥⟩ and that Λ𝑌∗(𝑧)=Λ∗(𝑧+𝑥), which in turn imply

lim inf 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( 𝑥 − 𝛿 , 𝑥 + 𝛿 ) ≥ − Λ ∗ ( 𝑥 ) .

This proves the desired lower bound.

To prove (2.5), assume first that (a) 𝜇(−∞,0)>0, (b) 𝜇(0,∞)>0, and (c) 𝜇 is boundedly supported. Under the circumstances, (a) and (b) imply Λ(𝜆)→∞ as |𝜆|→∞, and (c) implies Λ is finite on ℝ. Consequently, by Lemma 2.5, there exists 𝜂∈ℝ such that

Λ′ ( 𝜆 ) = 0 and Λ ( 𝜆 ) = inf 𝜂 ∈ ℝ Λ ( 𝜂 ) .

Define a probability measure 𝜇~ by

𝑑 𝜇 ~ 𝑑 𝜇 ( 𝑥 ) = 𝑒 ⟨ 𝜆 , 𝑥 ⟩ − Λ ( 𝜆 ) .

Observe that

𝜇 𝑛 ( − 𝜀 , 𝜀 ) = ∫ | ∑ 𝑖 = 1 𝑛 𝑥 𝑖 | < 𝑛 𝜀 𝑑 𝜇 ( 𝑥 1 ) ⋯ 𝑑 𝜇 ( 𝑥 𝑛 ) = ∫ | ∑ 𝑖 = 1 𝑛 𝑥 𝑖 | < 𝑛 𝜀 𝑒 ∑ 𝑖 = 1 𝑛 [ − ⟨ 𝜆 , 𝑥 𝑖 ⟩ + Λ ( 𝜆 ) ] 𝑑 𝜇 ~ ( 𝑥 1 ) ⋯ 𝑑 𝜇 ~ ( 𝑥 𝑛 ) . ≥ 𝑒 𝑛 Λ ( 𝜆 ) − 𝑛 𝜀 | 𝜆 | 𝜇 ~ 𝑛 ( − 𝜀 , 𝜀 ) .

By Lemma 2.5,

𝔼 𝑋 ~ ∼ 𝜇 ~ ( 𝑋 ~ ) = ∫ 𝑥 𝑒 ⟨ 𝜆 , 𝑥 ⟩ − Λ ( 𝜆 ) 𝑑 𝜇 ( 𝑥 ) = ( 𝔼 ( 𝑒 ⟨ 𝜆 , 𝑥 ⟩ ) ) − 1 𝔼 ( 𝑋 1 𝑒 ⟨ 𝜆 , 𝑋 1 ⟩ ) = Λ′ ( 𝜆 ) = 0 .

Hence, by the law of large numbers,

lim 𝑛 → ∞ 𝜇 ~ 𝑛 ( − 𝜀 , 𝜀 ) = 1 .

Hence, for all 0<𝜀<𝛿,

lim inf 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( − 𝛿 , 𝛿 ) ≥ lim inf 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( − 𝜀 , 𝜀 ) ≥ Λ ( 𝜆 ) − 𝜀 | 𝜆 | ,

proving (2.5) by letting 𝜀→0.

Now, if the support of 𝜇 is not bounded, fix 𝑀>0 such that (a) 𝜇[−𝑀,0)>0, (b) 𝜇(0,𝑀]>0. Hence, by letting 𝜈 be the normalized law of 𝑋1 on {|𝑋1|≤𝑀}, we have that

𝜇 𝑛 ( − 𝛿 , 𝛿 ) ≥ ∫ 1 𝑛 ∑ 𝑖 = 1 𝑛 𝑥 𝑖 ∈ ( − 𝛿 , 𝛿 ) ∏ 𝑖 = 1 𝑛 𝟙 [ − 𝑀 , 𝑀 ] ( 𝑥 𝑖 ) 𝑑 𝜇 ( 𝑥 1 ) ⋯ 𝑑 𝜇 ( 𝑥 𝑛 ) = 𝜈 𝑛 ( − 𝛿 , 𝛿 ) ⋅ 𝜇 [ − 𝑀 , 𝑀 ] 𝑛

and that the log MGF associated with 𝜈 is

log ∫ − 𝑀 𝑀 𝑒 ⟨ 𝜆 , 𝑥 ⟩ 𝑑 𝜇 ( 𝑥 ) − log 𝜇 [ − 𝑀 , 𝑀 ] ≕ Λ 𝑀 ( 𝜆 ) − log 𝜇 [ − 𝑀 , 𝑀 ] .

Hence, by the case of bounded support,

lim inf 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( − 𝜀 , 𝜀 ) ≥ log 𝜇 [ − 𝑀 , 𝑀 ] + lim inf 𝑛 → ∞ 1 𝑛 log 𝜈 𝑛 ( − 𝜀 , 𝜀 ) ≥ inf 𝜆 ∈ ℝ Λ 𝑀 ( 𝜆 ) ,

and therefore, by writing 𝐼𝑀=−inf𝜆∈ℝΛ𝑀(𝜆) and 𝐼∗=lim sup𝑀→∞𝐼𝑀,

lim inf 𝑛 → ∞ 1 𝑛 log 𝜇 𝑛 ( − 𝜀 , 𝜀 ) ≥ − 𝐼 ∗ .
(2.6)

Since Λ𝑀 is increasing in 𝑀, so is −𝐼𝑀. Therefore, 𝐼∗>=−∞ and the level sets {𝜆:Λ𝑀(𝜆)≤−𝐼∗} are decreasing compacted sets, admitting some 𝜆0 in their intersection. By monotone convergence theorem,

Λ ( 𝜆 0 ) = lim 𝑀 → ∞ Λ 𝑀 ( 𝜆 0 ) ≤ − 𝐼 ∗ .
(2.7)

Combining (2.6) and (2.7) proves (2.5).

Finally, if 𝜇(−∞,0)=0 or 𝜇(0,∞)=0, then Λ is monotone and inf𝜆∈ℝΛ(𝜆)=log𝜇({0}). The bound 𝜇𝑛(−𝛿,𝛿)≥𝜇𝑛({0})=𝜇({0})𝑛 then yields (2.5).

(3) It follows from Lemma 2.5(4). □

3. Gärtner-Ellis theorem.

Let Λ𝜀 be the log MGF associated with 𝑑-dimensional real random variables 𝑍𝜀, which can be defined as

Λ 𝜇 𝜀 ( 𝜆 ) ≔ log 𝔼 [ 𝑒 ⟨ 𝜆 , 𝑍 𝜀 ⟩ ] .

The Gärtner-Ellis theorem states the following.

Definition 3.1. A convex function Λ:ℝ𝑑→(−∞,∞] is essentially smooth if:

  1. 𝒟︀Λ˚ is nonempty.
  2. Λ is differentiable throughout 𝒟︀Λ˚.
  3. Λ is steep, namely, lim𝑛→∞|∇Λ(𝜆𝑛)|=∞ whenever (𝜆𝑛)𝑛∈ℕ is a sequence in 𝒟︀Λ˚ converging to a boundary point of 𝒟︀Λ˚.

Theorem 3.2 (Gärtner-Ellis). Suppose that Λ(𝜆)≔lim𝜀→0𝜀Λ𝜀(𝜀𝜆) exists for all 𝜆∈ℝ𝑑 as extended real numbers and 0∈𝒟︀Λ˚.

  1. For any closed set 𝐹,

    lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐹 ) ≤ − inf 𝑥 ∈ 𝐹 Λ ∗ ( 𝑥 ) .
  2. For any open set 𝐺,

    lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐺 ) ≥ − inf 𝑥 ∈ 𝐺 ∩ ℱ︀ Λ ∗ ( 𝑥 ) ,
    where ℱ︀ is the set of exposed points of Λ ∗ admitting an exposing hyperplane belonging to 𝒟︀ Λ ˚ .
  3. If Λ is an essentially smooth, lower semicontinuous function, then the LDP holds with the good rate function Λ∗.

The proof of the third statement relies on several results from convex analysis; for clarity, we state these results here and defer their proofs.

Lemma 3.3. Under the same assumption as in Theorem 3.2, the following hold.

  1. Λ(𝜆) is a convex function, Λ(𝜆)>−∞ everywhere.
  2. Λ∗(𝑥) is a good convex rate function.
  3. Suppose that 𝑦=∇Λ(𝜂) for some 𝜂∈𝒟︀Λ˚. Then Λ∗(𝑦)=⟨𝜂,𝑦⟩−Λ(𝜂). Moreover 𝑦∈ℱ︀, with 𝜂 being the exposing hyperplane for 𝑦.
Lemma 3.4 (Rockafellar). If Λ:ℝ𝑑→(−∞,∞] is an essentially smooth, lower semicontinuous, convex function, then ri𝒟︀Λ∗⊆ℱ︀.

With these tools, we can now proceed with the proof of the Gärtner-Ellis theorem. For convenience, we first introduce the following auxiliary function:

Definition 3.5. The 𝛿-rate function associated with a rate function 𝐼 is a function defined as

𝐼 𝛿 ( 𝑥 ) = min { 𝐼 ( 𝑥 ) − 𝛿 , 1 𝛿 } .
(3.1)

Proof of Theorem 3.2. (1) It suffices to prove the inequality for all compact sets and that {𝜇𝜀} is exponentially tight.

The upper bound for compact sets follows essentially from Markov’s inequality. Choose for each 𝑥∈Γ a 𝜆𝑥∈ℝ𝑑 and an open neighborhood 𝐴𝑥 of 𝑥 such that

⟨ 𝜆 𝑥 , 𝑥 ⟩ − Λ ( 𝑥 ) ≥ 𝐼 𝛿 ( 𝑥 ) , inf 𝑦 ∈ 𝐴 𝑥 [ ⟨ 𝜆 𝑥 , 𝑦 ⟩ − ⟨ 𝜆 𝑥 , 𝑥 ⟩ ] ≥ − 𝛿 ,

where 𝐼𝛿 is the 𝛿-rate function associated with Λ∗ as defined in (3.1). Applying Markov’s inequality yields

𝜇 𝜀 ( 𝐴 𝑥 ) ≤ 𝔼 ( 𝑒 ⟨ 𝜆 𝑥 𝜀 , 𝑍 𝜀 ⟩ − ⟨ 𝜆 𝑥 𝜀 , 𝑥 ⟩ ) exp ( − inf 𝑦 ∈ 𝐴 𝑥 ⟨ 𝜆 𝑥 𝜀 , 𝑦 ⟩ − ⟨ 𝜆 𝑥 𝜀 , 𝑥 ⟩ ) ,

which in turn implies

𝜀 log 𝜇 𝜀 ( 𝐴 𝑥 ) ≤ 𝛿 − [ ⟨ 𝜆 𝑥 , 𝑥 ⟩ − 𝜀 Λ 𝜇 𝜀 ( 𝜆 𝑥 𝜀 ) ] .

Now that Γ is a compact set, one can find a finite cover {𝐴𝑥𝑖}𝑖=1𝑁 with 𝑥𝑖∈Γ such that

lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 ( Γ ) ≤ 𝛿 − min 1 ≤ 𝑖 ≤ 𝑁 𝐼 𝛿 ( 𝑥 𝑖 ) ≤ 𝛿 − inf 𝑥 ∈ Γ 𝐼 𝛿 ( 𝑥 ) ,

proving the theorem by letting 𝛿→0.

It is left to demonstrate the exponential tightness of 𝜇𝜀, which is equivalent to that for all marginals 𝜇𝑗 of 𝜇 on 𝑗-th coordinate and follows essentially from Lemma 2.5 (4). Let 𝛽>0 be sufficiently small so that 𝐵─𝜌(0)⊂𝒟︀˚Λ𝑗. By Markov’s inequality, we have that for all 𝜌∈ℝ,

lim sup 𝜀 → 0 𝜀 log 𝜇 𝜀 𝑗 [ 𝜌 , ∞ ) ≤ lim sup 𝜀 → 0 − 𝛽 𝜌 + 𝜀 Λ 𝜇 𝜀 ( 𝜀 − 1 𝛽 𝐞 𝑗 ) ≤ − 𝛽 𝜌 + Λ ∗ ( 𝛽 𝐞 𝑗 ) ,
(3.2)

where 𝐞𝑗 is the 𝑗-th vector in the standard basis and the right-hand side converges to −∞ as 𝜌→∞. The same arguments applies to lim sup∞𝜀log𝜇𝜀𝑗(−∞,𝜌]. The two estimates combined prove the exponential tightness.

(2) The case Λ(𝜆)=−∞ for some 𝜆∈𝒳︀∗ is trivial, for Λ∗(⋅)=∞ everywhere. Assuming Λ(𝜆)<∞ for all 𝜆∈𝒳︀∗, one may adopt the change of measure argument as before in the following manner. Let 𝐺 be any fixed open set, 𝑦∈𝐺∩ℱ︀, 𝛿>0, and 𝜂∈𝒟︀˚Λ be an exposing hyperplane for Λ∗. By continuity of 𝜂, we choose an open neighborhood 𝐵𝛿⊂𝐺 of 𝑦 such that

sup 𝑧 ∈ 𝐵 𝛿 ⟨ 𝜂 , 𝑧 − 𝑦 ⟩ < 𝛿 .

Now that Λ𝜇𝜀(𝜂𝜀) is well-defined for every sufficiently small 𝜀>0, we define a probability measure 𝜇~𝜀 equivalent to 𝜇𝜀:

𝑑 𝜇 ~ 𝜀 𝑑 𝜇 𝜀 ( 𝑧 ) = exp [ ⟨ 𝜂 𝜀 , 𝑧 ⟩ − Λ 𝜇 𝜀 ( 𝜂 𝜀 ) ]

so that

𝜀 log 𝜇 𝜀 ( 𝐵 𝛿 ) = 𝜀 log ∫ 𝐵 𝛿 exp [ − ⟨ 𝜂 𝜀 , 𝑧 ⟩ + Λ 𝜇 𝜀 ( 𝜂 𝜀 ) ] 𝑑 𝜇 ~ 𝜀 ( 𝑧 ) = 𝜀 Λ 𝜇 𝜀 ( 𝜂 𝜀 ) − ⟨ 𝜂 , 𝑦 ⟩ + 𝜀 log ∫ 𝐵 𝛿 exp [ ⟨ 𝜂 𝜀 , 𝑦 − 𝑧 ⟩ ] 𝑑 𝜇 ~ 𝜀 ( 𝑧 ) ,

yielding

lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐵 𝛿 ) ≥ Λ ( 𝜂 ) − ⟨ 𝜂 , 𝑦 ⟩ + lim 𝛿 → 0 lim inf 𝜀 → 0 𝜀 log 𝜇 ~ 𝜀 ( 𝐵 𝛿 ) , ≥ − Λ ∗ ( 𝑦 ) + lim 𝛿 → 0 lim inf 𝜀 → 0 𝜀 log 𝜇 ~ 𝜀 ( 𝐵 𝛿 ) .

It remains to show that lim𝛿→0lim inf𝜀→0𝜀log𝜇~𝜀(𝐵𝛿)=0. To this end, we claim that

lim sup 𝜀 → 0 𝜀 log 𝜇 ~ 𝜀 ( 𝐵 𝛿 𝑐 ∩ [ − 𝜌 , 𝜌 ] 𝑑 ) < 0 for all 𝛿 > 0 , 𝜌 > 0 ,
(3.3)
lim sup 𝜀 → 0 𝜀 log 𝜇 ~ 𝜀 ( ( [ − 𝜌 , 𝜌 ] 𝑑 ) 𝑐 ) < 0 for all large 𝜌 > 0 ,
(3.4)

which together implies the desired estimate. To prove (3.3), define the function

Λ ~ ( ⋅ ) ≔ lim sup 𝜀 → 0 𝜀 Λ 𝜇 ~ 𝜀 ( ⋅ 𝜀 )

and observe that

Λ ~ ( ⋅ ) = Λ ( ⋅ + 𝜂 ) − Λ ( 𝜂 ) , Λ ~ ∗ ( ⋅ ) = Λ ∗ ( ⋅ ) + Λ ( 𝜂 ) − ⟨ 𝜂 , ⋅ ⟩ .

One deduces from the Markov’s inequality that

lim sup 𝜀 → 0 𝜀 log 𝜇 ~ 𝜀 ( 𝐵 𝛿 𝑐 ∩ 𝐾 𝛼 ) ≤ − inf 𝑧 ∈ 𝐵 𝛿 𝑐 ∩ 𝐾 𝛼 Λ ~ ∗ ( 𝑧 ) < 0 ,

since Λ~∗ is lower semicontinuous and 𝜂 is an exposing hyperplane. For (3.4), observe that 0∈𝒟︀˚Λ~, so the inequality follows from (3.2).

(3) With Lemma 3.3 and Lemma 3.4, we have that for ever open set 𝐺,

lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐺 ) ≥ − inf 𝑥 ∈ 𝐺 ∩ ℱ︀ Λ ∗ ( 𝑥 ) = − inf 𝑥 ∈ 𝐺 Λ ∗ ( 𝑥 )

□

We now prove the lemmas.

Proof of Lemma 3.3. (1) The convexity follows from Hölder’s inequality as in Lemma 2.5. Precisely, given any 𝑡,𝑡′∈[0,1] satisfying 𝑡+𝑡′=1,

log 𝔼 ( 𝑒 ⟨ 𝑡 𝜆 + 𝑡′ 𝜆′ , 𝑍 𝜀 ⟩ ) ≤ 𝑡 log 𝔼 ( 𝑒 ⟨ 𝜆 , 𝑍 𝜀 ⟩ ) + 𝑡′ log 𝔼 ( 𝑒 ⟨ 𝜆′ , 𝑍 𝜀 ⟩ ) ,

proving the convexity of Λ𝜇𝜀 and hence Λ─.

If Λ(𝜆)=−∞ for some 𝜆∈ℝ𝑑, then by convexity Λ(𝛼𝜆)=−∞ for all 𝛼∈(0,1]. Since Λ(0)=0, it follows by convexity that Λ(−𝛼𝜆)=∞ for all 𝛼∈(0,1], contradicting the assumption that 0∈𝒟︀˚. Thus, Λ>−∞ everywhere.

(2) Since 0∈𝒟︀Λ˚, it follows that 𝐵𝛿(0)⊂𝒟︀Λ˚ for some 𝛿>0, and 𝑐=sup𝜆∈𝐵𝛿(0)Λ(𝜆)<∞ since the convex function Λ is continuous in 𝒟︀Λ˚. Therefore,

Λ ∗ ( 𝑥 ) ≥ sup 𝜆 ∈ 𝐵 ─ 𝛿 ( 0 ) [ ⟨ 𝜆 , 𝑥 ⟩ − Λ ( 𝜆 ) ] ≥ | 𝛿 | | 𝑥 | − sup 𝜆 ∈ 𝐵 ─ 𝛿 ( 0 ) Λ ( 𝑥 ) ,

implying ΨΛ∗(𝛼) is bounded for every 𝛼<∞. The function Λ∗ is convex and lower semicontinuous by a routine check as conducted in Lemma 2.5. Combining these implies that Λ∗ is a good convex rate function.

(3) Suppose now that for some 𝑥∈ℝ𝑑,

Λ ( 𝜂 ) = ⟨ 𝜂 , 𝑦 ⟩ − Λ ∗ ( 𝑦 ) ≤ ⟨ 𝜂 , 𝑥 ⟩ − Λ ∗ ( 𝑥 ) .

Then, for every 𝜃∈ℝ𝑑,

⟨ 𝜃 , 𝑥 ⟩ ≤ Λ ( 𝜂 + 𝜃 ) − Λ ( 𝜂 ) .

In particular,

⟨ 𝜃 , 𝑥 ⟩ ≤ lim 𝜀 → 0 1 𝜀 [ Λ ( 𝜂 + 𝜀 𝜃 ) − Λ ( 𝜂 ) ] = ⟨ 𝜃 , ∇ Λ ( 𝜂 ) ⟩ .

Since the inequality holds for all 𝜃∈ℝ𝑑, 𝑥=∇Λ(𝜂)=𝑦. Hence, 𝑦 is an exposed point of Λ∗ with exposing hyperplane 𝜂∈𝒟︀Λ˚. □

Before proving Rockafellar’s lemma, let us recall the definition of relative interior of a convex set.

Definition 3.6. The relative interior of a nonempty convex set 𝐶 is defined as

ri 𝐶 = { 𝑦 ∈ 𝐶 : for all 𝑥 ∈ 𝐶 , 𝑦 − 𝜀 ( 𝑥 − 𝑦 ) ∈ 𝐶 for some 𝜀 > 0 } .

Proof of Lemma 3.4. Assume without loss of generality that 𝒟︀Λ∗≠∅ for the lemma is vacuous otherwise. Under the circumstances, fix henceforth 𝑥∈ri𝒟︀Λ∗ and define a function

𝑓 ( 𝜆 ) ≔ Λ ( 𝜆 ) − ⟨ 𝜆 , 𝑥 ⟩ + Λ ∗ ( 𝑥 ) .
Observe that 𝑓 : ℝ 𝑑 → [ 0 , ∞ ] is convex, lower semincontinuous, and inf 𝜆 ∈ ℝ 𝑑 𝑓 ( 𝜆 ) = 0 . Moreover, 𝑓 ∗ ( ⋅ ) = Λ ∗ ( ⋅ + 𝑥 ) − Λ ∗ ( 𝑥 ) . Therefore, from 𝑥 ∈ ri 𝒟︀ Λ ∗ it follows that 0 ∈ ri 𝒟︀ 𝑓 ∗ . By Lemma C.2, there exists 𝜂 ∈ 𝒟︀ Λ such that 𝑓 ( 𝜂 ) = 0 . Let Λ ~ ( ⋅ ) = Λ ( ⋅ + 𝜂 ) − Λ ( 𝜂 ) , so that Λ ~ is an essentially smooth, convex function and Λ ~ ( 0 ) = 0 . Consequently, by Lemma C.3, Λ ~ is finite in a neighborhood of the origin and thus 𝜂 ∈ 𝒟︀ Λ ˚ , at which 𝑓 is differentiable by the assumption. Hence, 𝑓 ( 𝜂 ) = inf 𝜆 ∈ ℝ 𝑑 𝑓 ( 𝜆 ) , implying that ∇ 𝑓 ( 𝜂 ) = 0 , i.e., 𝑥 = ∇ Λ ( 𝜂 ) . It now follows from Lemma 3.3(2) that 𝑥 ∈ ℱ︀ . Since 𝑥 ∈ ri 𝒟︀ Λ ∗ is arbitrary, the proof is complete. □

The following theorem is a generalization of the Gärtner-Ellis theorem (Theorem 3.2), which essentially follows from the same proof with marginal distributions replaced by projection measures in every direction. Its proof can be found in [1].

Theorem 3.7 (Baldi). Suppose {𝜇𝜀} is an exponentially tight family of probability measures on 𝒳︀.

  1. For every closed set 𝐹⊂𝒳︀, lim sup𝜀→0𝜀log𝜇𝜀(𝐹)≤−inf𝑥∈𝐹Λ─∗(𝑥).
  2. Let ℱ︀ be the set of exposed points of Λ─∗ with an exposing hyperplane 𝜆 for which

    Λ ( 𝜆 ) = lim 𝜀 → 0 𝜀 Λ 𝜇 𝜀 ( 𝜆 𝜀 ) exists and Λ ─ ( 𝛾 𝜆 ) < ∞ for some 𝛾 > 1 .
    (3.5)

    Then, for every open set 𝐺⊂𝒳︀,

    lim inf 𝜀 → 0 𝜀 log 𝜇 𝜀 ( 𝐺 ) ≥ − inf 𝑥 ∈ 𝐺 ∩ ℱ︀ Λ ─ ∗ ( 𝑥 ) .
  3. If for every open set 𝐺⊂𝒳︀, inf𝑥∈𝐺∩ℱ︀Λ─∗(𝑥)=inf𝑥∈𝐺Λ─∗(𝑥), then {𝜇𝜀} satisfies the LDP with the good rate function Λ─∗.
Proof. See [1, Theorem 4.5.20]. □

The theorem is accompanied by a generalized criterion of differentiability of Λ in the following sense.

Definition 3.8 (Gateaux differentiable). Let 𝒳︀ be a topological vector space. A function 𝑓:𝒳︀∗→ℝ is said to be Gateaux differentiable if for all 𝜆,𝜃∈𝒳︀∗, the function 𝑡∈ℝ↦𝑓(𝜆+𝑡𝜃) is differentiable at 𝑡=0.
Corollary 3.9. Let {𝜇𝜀} be exponentially tight probability measures on the Banach space 𝒳︀. Suppose that Λ(⋅)=lim𝜀→0Λ𝜇𝜀(·𝜀) is finite-valued, Gateaux differentiable, and lower semicontinuous in 𝒳︀∗ with respect to the weak* topology. Then {𝜇𝜀} satisfies the LDP with the good rate function Λ∗.
Proof. See [1, Corollary 4.5.27]. □

4. Applications

4.1. Cramér’s theorem in ℝ𝑑

Combining the Gärtner-Ellis theorem with our previous results, we can establish the LDP for 𝑑-dimensional i.i.d. random variables (𝑋𝑖)𝑖. As before, let 𝜇𝑛 be the law of the empirical mean, and let Λ and Λ∗ be defined accordingly.

Theorem 4.1 (Cramér). Suppose 𝒟︀Λ=ℝ𝑑, then the family {𝜇𝑛} satisfies the LDP with the convex good rate function Λ∗.

While powerful, this theorem does not encompass all scenarios where an LDP holds; a refined version requires only that 0∈𝒟︀Λ˚ for the result to remain valid.

Example 4.2. Let 𝜇 be a Borel probability measure on ℝ with a density 𝑓(𝑥)=𝐶𝑑⋅𝑒−‖𝑥‖/(1+‖𝑥‖𝑑+2) and Λ be its log MGF, where 𝐶𝑑 is the normalizing constant. We will show in the following that 0∈𝒟︀˚Λ={𝜆∈ℝ𝑑:‖𝜆‖≤1}, so the large deviation principle holds with a good rate function; however, Λ is not steep and hence the Gärtner-Ellis theorem does not apply.

On one hand, with the aid of Cauchy-Schwarz inequality |⟨𝜆,𝑥⟩|≤‖𝜆‖‖𝑥‖, we realize that the estimate

𝑒 ⟨ 𝜆 , 𝑥 ⟩ 𝑓 ( 𝑥 ) ≤ 𝐶 𝑑 𝑒 ‖ 𝑥 ‖ ( ‖ 𝜆 ‖ − 1 ) 1 + ‖ 𝑥 ‖ 𝑑 + 2 ( ∀ 𝜆 ∈ ℝ 𝑑 )

holds and therefore 𝒟︀Λ⊇{𝜆∈ℝ𝑑:‖𝜆‖≤1}. On the other hand, given any 𝜆≠0, we have that along direction 𝜆,

𝑒 ⟨ 𝜆 , 𝑥 ⟩ 𝑓 ( 𝑥 ) = 𝐶 𝑑 𝑒 𝑡 ‖ 𝜆 ‖ ( ‖ 𝜆 ‖ − 1 ) 1 + ‖ 𝑥 ‖ 𝑑 + 2 ( 𝑥 = 𝑡 𝜆 , ∀ 𝑡 ∈ ℝ ) ,

is unbounded as 𝑡→∞ if ‖𝜆‖>1, implying 𝒟︀Λ={𝜆∈ℝ𝑑:‖𝜆‖≤1}. Finally, we have uniform bound

𝐶 𝑑 𝑒 − 2 ‖ 𝑥 ‖ 1 + ‖ 𝑥 ‖ 𝑑 + 2 ≤ 𝑒 ⟨ 𝜆 , 𝑥 ⟩ 𝑓 ( 𝑥 ) ≤ 𝐶 𝑑 1 + ‖ 𝑥 ‖ 𝑑 + 2 ( 𝜆 ∈ 𝒟︀ Λ ) ,

Therefore, within the interior of 𝒟︀Λ,

sup 𝜆 ∈ 𝒟︀ ˚ Λ | ∇ Λ ( 𝜆 ) | ≤ ( ∫ 𝑒 − 2 ‖ 𝑥 ‖ 1 + ‖ 𝑥 ‖ 𝑑 + 2 𝑑 𝑥 ) − 1 ∫ ‖ 𝑥 ‖ 𝑒 − 2 ‖ 𝑥 ‖ 1 + ‖ 𝑥 ‖ 𝑑 + 2 𝑑 𝑥 < ∞ .

This proves that Λ is not steep.

4.2. Large deviations for finite state Markov chains

In this section, we study the large deviations of Markov chains on a finite alphabet Σ. Let 𝚷={𝜋(𝑖,𝑗)}𝑖,𝑗=1|Σ| be a stochastic matrix, and consider a Markov chain (𝑌𝑘)𝑘≥0 with transition probability 𝚷. We denote by ℙ𝜎𝜋 the probability law of the chain starting at state 𝜎∈Σ:

ℙ 𝜎 𝜋 ( 𝑌 1 = 𝑦 1 , ⋯ , 𝑌 𝑛 = 𝑦 𝑛 ) = 𝜋 ( 𝜎 , 𝑦 1 ) ∏ 𝑖 = 1 𝑛 − 1 𝜋 ( 𝑦 𝑖 , 𝑦 𝑖 + 1 ) .

We are interested in the empirical mean

𝑍 𝑛 = ∑ 𝑘 = 1 𝑛 𝑋 𝑘 ,

where 𝑋𝑘=𝑓(𝑌𝑘) for a given function 𝑓:Σ→ℝ𝑑. The log MGF can be analyzed using the following family of non-negative matrices:

𝜋 𝜆 ( 𝑖 , 𝑗 ) = 𝜋 ( 𝑖 , 𝑗 ) 𝑒 ⟨ 𝜆 , 𝑓 ( 𝑗 ) ⟩ ( 𝑖 , 𝑗 ∈ Σ ) .

Theorem 4.3 (Perron-Frobenius). Let 𝐁={𝐵(𝑖,𝑗)}𝑖,𝑗=1|Σ| be an irreducible matrix. Then 𝐵 possesses an eigenvalue 𝜌 (called the Perron–Frobenius eigenvalue) such that:

  1. 𝜌>0 is real.
  2. For any eigenvalue 𝜆 of 𝐵, |𝜆|≤𝜌.
  3. There exist left and right eigenvectors corresponding to the eigenvalue 𝜌 that have strictly positive coordinates.
  4. The left and right eigenvectors 𝜇, 𝜃 corresponding to the eigenvalue 𝜌 are unique up to a constant multiple.
  5. For every 𝑖∈Σ and every 𝜑=(𝜑1,⋯,𝜑|Σ|) such that 𝜑𝑗>0 for all 𝑗,

    lim 𝑛 → ∞ 1 𝑛 log [ ∑ 𝑗 = 1 | Σ | 𝐵 𝑛 ( 𝑖 , 𝑗 ) 𝜑 𝑗 ] = lim 𝑛 → ∞ 1 𝑛 log [ ∑ 𝑗 = 1 | Σ | 𝜑 𝑗 𝐵 𝑛 ( 𝑗 , 𝑖 ) ] = log 𝜌 .
Proof. See, for example, Wikipedia. □

Theorem 4.4. Let {𝑌𝑘} be a finite state Markov chain possessing an irreducible transition matrix 𝚷. For every 𝑧∈ℝ𝑑 , define

𝐼 ( 𝑧 ) = sup 𝜆 ∈ ℝ 𝑑 { ⟨ 𝜆 , 𝑧 ⟩ − log 𝜌 ( 𝚷 𝜆 ) }

Then the empirical mean 𝑍𝑛 satisfies the LDP with the convex, good rate function 𝐼. Explicitly, for any set Γ⊆ℝ𝑑 , and any initial state 𝜎∈Σ,

− inf 𝑧 ∈ Γ ˚ 𝐼 ( 𝑧 ) ≤ lim inf 𝑛 → ∞ 1 𝑛 log ℙ 𝜎 𝜋 ( 𝑍 𝑛 ∈ Γ ) ≤ lim sup 𝑛 → ∞ 1 𝑛 log ℙ 𝜎 𝜋 ( 𝑍 𝑛 ∈ Γ ) ≤ − inf 𝑧 ∈ Γ ─ 𝐼 ( 𝑧 ) .

Proof. Consider the logarithmic generating function

Λ 𝑛 ( 𝜆 ) ≔ log 𝔼 𝜎 𝜋 [ 𝑒 ⟨ 𝜆 , 𝑍 𝑛 ⟩ ] .

By Gärtner–Ellis theorem (Theorem 3.2), it is enough to check that the limit

Λ ( 𝜆 ) ≔ lim 𝑛 → ∞ 1 𝑛 Λ 𝑛 ( 𝑛 𝜆 )

exists, is finite and differentiable everywhere in ℝ𝑑, and satisfies Λ(𝜆)=log𝜌(𝚷𝜆). To begin, note that

Λ 𝑛 ( 𝜆 ) = log ∑ 𝑦 1 , ⋯ , 𝑦 𝑛 ℙ 𝜎 𝜋 ( 𝑌 1 = 𝑦 1 , ⋯ , 𝑌 𝑛 = 𝑦 𝑛 ) ∏ 𝑖 = 1 𝑛 𝑒 ⟨ 𝜆 , 𝑓 ( 𝑦 𝑘 ) ⟩ = log ∑ 𝑦 𝑛 ( 𝚷 𝜆 ) 𝑛 ( 𝜎 , 𝑦 𝑛 ) .

Since 𝚷𝜆 is irreducible, we have

Λ ( 𝜆 ) = log 𝜌 ( 𝚷 𝜆 ) .

To show that it is differentiable, we apply the implicit function theorem. Explicitly, consider the functions 𝐹𝑦:ℝ×ℝ|Σ|×ℝ→ℝ×ℝ|Σ|, parametrized by 𝑦∈ℝ|Σ|, defined by

𝐹 𝑦 ( 𝜌 , 𝑥 , 𝜆 ) = ( ⟨ 𝑦 , 𝑥 ⟩ − 1 , 𝚷 𝜆 𝑥 − 𝜌 𝑥 ) .

Clearly, 𝐹𝑦 is continuously differentiable. Hence, it suffices to show that for every 𝜆0 with the associated Perron-Frobenius eigenvalue 𝜌0 and left and right eigenvectors 𝑦0 and 𝑥0 of 𝚷𝜆0 satisfying ⟨𝑦0,𝑥0⟩=1, we have (1) 𝐹𝑦0(𝜌0,𝑥0,𝜆0)=0 and (2) the Jacobian matrix

𝜕 𝜌 , 𝑥 𝐹 𝑦 0 ( 𝜌 0 , 𝑥 0 , 𝜆 0 ) = ( 0 𝑦 0 𝑇 − 𝑥 0 𝚷 𝜆 0 − 𝜌 0 𝐼 . )

is invertible. Indeed, (1) is clear, and (2) holds because if it did not, there exists (𝑢,𝑣)∈ℝ×ℝ|Σ|∖{(0,0)} such that

{ ⟨ 𝑦 0 , 𝑣 ⟩ = 0 , − 𝑢 𝑥 0 + 𝚷 𝜆 0 𝑣 − 𝜌 0 𝑣 = 0 ,
which is impossible. This implies, by the implicit function theorem, that there exists a continuously differentiable function 𝜆 ↦ ( 𝜌 ( 𝜆 ) , 𝑥 ( 𝜆 ) ) on a neighborhood of 𝜆 0 such that 𝐹 𝑦 0 ( 𝜌 ( 𝜆 ) , 𝑥 ( 𝜆 ) , 𝜆 ) = 0 . In particular, 𝜆 ↦ log 𝜌 ( 𝚷 𝜆 ) = log 𝜌 ( 𝜆 ) is continuously differentiable on a neighborhood of 𝜆 0 . The proof is finished by noting that 𝜆 0 is arbitrary. □

As a corollary, we have the following.

Corollary 4.5. The empirical averages 𝐿𝑛𝐘(𝑖)=1𝑛∑𝑘=1𝑛𝟙𝑖(𝑌𝑘), with 𝑖∈Σ, satisfy the LDP with the good rate function

𝐼 ( 𝑞 ) = sup 𝜆 ∈ ℝ 𝑑 { ⟨ 𝜆 , 𝑞 ⟩ − log 𝜌 ( 𝚷 𝜆 ) } = { sup 𝑢 > 0 ∑ 𝑗 ∈ Σ 𝑞 𝑗 log [ 𝑢 𝑗 ( 𝐮 𝚷 ) 𝑗 ] 𝑞 ∈ 𝑀 1 ( Σ ) , ∞ 𝑞 ∉ 𝑀 1 ( Σ )
where 𝜋 𝜆 ( 𝑖 , 𝑗 ) = 𝜋 ( 𝑖 , 𝑗 ) 𝑒 𝜆 𝑗 and the inequality between vectors is compared entrywise.

Proof. The first equality follows immediately from Theorem 4.4 by taking

𝑓 = ( 𝟙 1 , 𝟙 2 , ⋯ , 𝟙 | Σ | ) .

To prove the second inequality, we first note that one inequality is more obvious than the other: By taking 𝐮 to be the left probability eigenvector of 𝚷𝜆, we see the inequality “≤”. To prove the other inequality, assume 𝑞∈𝑀1(Σ) and choose 𝜆𝑗=log[𝑢𝑗/(𝐮𝚷)𝑗] so that 𝐮𝚷𝜆=𝐮 and that 𝜌(𝚷𝜆)=1. Therefore, by definition,

𝐼 ( 𝑞 ) ≥ ∑ 𝑗 = 1 | Σ | 𝑞 𝑗 log [ 𝑢 𝑗 ( 𝐮 𝚷 ) 𝑗 ] ,
finishing the proof. □

We also consider a derived process {(𝑌𝑘𝑌𝑘+1)}𝑘≥0 of consecutive pairs to obtain Sanov’s theorem. Such a process has the transition matrix 𝚷(2) defined by

𝜋 ( 2 ) ( ( 𝑘 × ℓ , 𝑖 × 𝑗 ) ) = 𝟙 ℓ ( 𝑖 ) 𝜋 ( 𝑖 , 𝑗 ) .

As is discussed in the following, one can determine the large deviations of the pair empirical measure

𝐿 𝑛 , 2 𝐘 ( 𝑦 ) = 1 𝑛 ∑ 𝑖 = 1 𝑛 𝟙 𝑦 ( 𝑌 𝑖 − 1 𝑌 𝑖 )

For 𝑞∈𝑀1(Σ2), we write

𝑞 1 ( 𝑖 ) = ∑ 𝑗 = 1 | Σ | 𝑞 ( 𝑖 , 𝑗 ) and 𝑞 2 ( 𝑖 ) = ∑ 𝑗 = 1 | Σ | 𝑞 ( 𝑗 , 𝑖 ) ,

and call 𝑞 shift-invariant if 𝑞1=𝑞2.

Theorem 4.6. Assume that 𝚷 is irreducible. Then for every probability measure 𝑞∈𝑀1({(𝑖,𝑗):𝜋(𝑖,𝑗)>0}),

𝐼 2 ( 𝑞 ) = { ∑ 𝑖 𝑞 1 ( 𝑖 ) 𝐻 ( 𝑞 ( ⋅ | 𝑖 ) | 𝜋 ( 𝑖 , ⋅ ) ) if 𝑞 is shift-invariant, ∞ otherwise.

Proof. By Corollary 4.5,

𝐼 2 ( 𝑞 ) = sup 𝑢 > 0 ∑ 𝑖 , 𝑗 ∈ Σ 𝑞 ( 𝑖 , 𝑗 ) log [ 𝑢 𝑖 , 𝑗 ( 𝐮 𝚷 ( 2 ) ) 𝑖 , 𝑗 ] = sup 𝑢 > 0 ∑ 𝑖 , 𝑗 ∈ Σ 𝑞 𝑖 , 𝑗 log [ 𝑢 𝑖 , 𝑗 ∑ 𝑘 𝑢 𝑘 , 𝑖 𝜋 𝑖 , 𝑗 ] .

If 𝑞 is not invariant, then 𝑞1(𝑗0)<𝑞2(𝑗0) for some 𝑗0. For 𝐮 such that 𝑢(⋅,𝑗)=1 when 𝑗≠𝑗0 and 𝑢(⋅,𝑗0)=𝑒𝛼, we have 𝐼2(𝑞)=∞ if we let 𝛼→∞.

If 𝑞 is invariant,

∑ 𝑖 , 𝑗 ∈ Σ 𝑞 ( 𝑖 , 𝑗 ) log [ ∑ 𝑘 𝑢 𝑘 , 𝑖 𝑞 2 ( 𝑗 ) ∑ 𝑘 𝑢 𝑘 , 𝑗 𝑞 1 ( 𝑖 ) ] = 0 .

Hence,

𝐼 2 ( 𝑞 ) − ∑ 𝑖 𝑞 1 ( 𝑖 ) 𝐻 ( 𝑞 ( ⋅ | 𝑖 ) | 𝜋 ( 𝑖 | ⋅ ) ) = sup 𝑢 > 0 ∑ 𝑖 , 𝑗 ∈ Σ 𝑞 ( 𝑖 , 𝑗 ) log [ 𝑢 𝑖 , 𝑗 𝑞 1 ( 𝑖 ) ∑ 𝑘 𝑢 𝑘 , 𝑖 𝑞 ( 𝑖 , 𝑗 ) ] = sup 𝑢 > 0 { − ∑ 𝑗 𝑞 2 ( 𝑗 ) 𝐻 ( 𝑞′ ( ⋅ | 𝑗 ) | 𝑢′ ( ⋅ | 𝑗 ) ) } ,

where 𝑢′(⋅|𝑗)=𝑢(⋅,𝑗)∑𝑖𝑢(𝑖,𝑗) and 𝑞′(⋅|𝑗)=𝑞(⋅,𝑗)∑𝑖𝑞(𝑖,𝑗). This implies

𝐼 2 ( 𝑞 ) ≤ ∑ 𝑖 ∈ Σ 𝑞 1 ( 𝑖 ) 𝐻 ( 𝑞 ( ⋅ | 𝑖 ) | 𝜋 ( 𝑖 , ⋅ ) ) .

Taking 𝐮>0 approaching 𝑞 proves the theorem. □

A. Probability theory

A.1. Basic inequalities

Proposition A.1 (Borel-Cantelli). Let (𝑆𝑛)𝑛=1∞ be a sequence of events in a probability space (𝒳︀,ℬ︀,𝜇). Then,

𝜇 ( lim sup 𝑛 → ∞ 𝑆 𝑛 ) ≤ lim 𝑁 → ∞ ∑ 𝑛 = 𝑁 ∞ 𝜇 ( 𝑆 𝑛 ) .

Proposition A.2 (Markov). Let 𝑋 be a nonnegative random variable. Then, for every 𝛼>0,

𝜇 ( 𝑋 ≥ 𝛼 ) ≤ 𝛼 − 1 ⋅ 𝔼 [ 𝑋 ] .

Proposition A.3 (Hölder). Let 𝑋,𝑌 be non-negative random variables. Then, for 𝑝,𝑞∈[1,∞] satisfying 1𝑝+1𝑞=1,

𝔼 ( 𝑋 𝑝 ) 1 / 𝑝 𝔼 ( 𝑌 𝑞 ) 1 / 𝑞 ≥ 𝔼 ( 𝑋 𝑌 ) ,
where the equality holds if and only if 𝑋 = 𝑐 𝑌 for some 𝑐 > 0 .

Proof. Without loss of generality, assume 𝔼(𝑋𝑝)=𝔼(𝑌𝑞)=1 to paraphrase the proposition: 1≥𝔼(𝑋𝑌) with equality holding if and only if 𝑋=𝑐𝑌 for some 𝑐>0. Under the circumstances, it is not hard to verify that Young’s inequality

𝑋 𝑌 ≤ 𝑋 𝑝 𝑝 + 𝑌 𝑞 𝑞
holds if and only if 𝑋 𝑝 = 𝑌 𝑞 . The paraphrased proposition then follows by integrating both sides. □
Proposition A.4 (Jensen). Let 𝑋 be a real-valued random variable and 𝜑:ℝ→ℝ is convex. If 𝔼(𝑋) and 𝔼(𝜑(𝑋)) are defined, then 𝔼(𝜑(𝑋))≥𝜑(𝔼(𝑋)) with the convention 𝜑(+∞)=lim𝑥→∞𝜑(𝑥) and 𝜑(−∞)=lim𝑥→−∞𝜑(𝑥).

Proof. We make use of the property of convex functions that

𝜑 ( 𝑥 ) = sup { 𝑎 𝑥 + 𝑏 : 𝜑 ( 𝑥 ) ≥ 𝑎 𝑥 + 𝑏 for all 𝑥 ∈ ℝ } .
(A.1)

The left-hand side is by definition larger than the other, and thus it remains to show the remaining. To this end, it suffices to show that for all (𝑥0,𝑦0) satisfying 𝜑(𝑥0)≥𝑦0, there exists a linear function 𝜓(𝑥)=𝑎(𝑥−𝑥0)+𝑦0 such that 𝜑(𝑥)≤𝜓(𝑥) for all 𝑥. Essentially, this is achieved by choosing

𝑎 ∈ [ sup 𝑥 < 𝑥 0 𝜑 ( 𝑥 ) − 𝜑 ( 𝑥 0 ) 𝑥 − 𝑥 0 , inf 𝑥 > 𝑥 0 𝜑 ( 𝑥 ) − 𝜑 ( 𝑥 0 ) 𝑥 − 𝑥 0 ] = [ lim inf 𝑥 → 𝑥 0 𝜑 ( 𝑥 ) − 𝜑 ( 𝑥 0 ) 𝑥 − 𝑥 0 , lim sup 𝑥 → 𝑥 0 𝜑 ( 𝑥 ) − 𝜑 ( 𝑥 0 ) 𝑥 − 𝑥 0 ] .

Now that (A.1) coincides with

𝜑 ( 𝑥 ) = sup { 𝑎 𝑥 + 𝑏 : 𝜑 ( 𝑥 ) ≥ 𝑎 𝑥 + 𝑏 for all 𝑥 ∈ ℝ , 𝑎 , 𝑏 ∈ ℚ } ,
(A.2)

one can enumerate the linear functions on the right-hand side by (𝜓𝑖)𝑖=1∞ and obtain

𝔼 ( 𝜑 ( 𝑋 ) ) ≥ 𝔼 ( max 1 ≤ 𝑖 ≤ 𝑛 𝜓 𝑖 ( 𝑋 ) ) ≥ max 1 ≤ 𝑖 ≤ 𝑛 𝜓 𝑖 ( 𝔼 ( 𝑋 ) ) .
If 𝔼 ( 𝑋 ) ∈ ℝ , then the proposition holds by letting 𝑛 → ∞ . If 𝔼 ( 𝑋 ) = ∞ (similar for 𝔼 ( 𝑋 ) = − ∞ ) and 𝜑 ( ∞ ) > − ∞ , then right-hand side of the above still converges to 𝜑 ( ∞ ) , while the proposition is trivial when 𝔼 ( 𝑋 ) = ∞ and 𝜑 ( ∞ ) = − ∞ . □

A.2. Radon-Nikodym theorem

Definition A.5 (absolute continuity). Let 𝜇 and 𝜈 be defined on a common measurable space (𝒳︀,ℬ︀). We say 𝜈 is absolutely continuous with respect to 𝜇, denoted by 𝜈≪𝜇, if 𝜈(𝐴)=0 for every 𝐴∈ℬ︀ satisfying 𝜇(𝐴)=0.

Theorem A.6 (Radon-Nikodym). Suppose 𝜈,𝜇 are two 𝜎-finite measures on a common measurable space (𝒳︀,ℬ︀) and 𝜈≪𝜇, then there exists a ℬ︀-measurable function 𝑓:𝒳︀→[0,∞) such that for every 𝐴∈ℬ︀,

𝜈 ( 𝐴 ) = ∫ 𝐴 𝑓 𝑑 𝜇 .

A.3. Laws of large numbers

Theorem A.7 (Weak Law of Large Numbers). Suppose (𝑋𝑖)𝑖=1∞ are i.i.d. and 𝔼(𝑋1)=0. Then, 𝑛−1∑𝑖=1𝑛𝑋𝑖→0 in probability.

Proof. Equivalently, we can assume 𝑋𝑖 is nonnegative and 𝔼(𝑋1)<∞ and prove 𝑛−1∑𝑖=1𝑛𝑋𝑖→𝔼(𝑋1). Let 𝑀>0 and 𝑋𝑖=𝑌𝑖,1+𝑌𝑖,2 with 𝑌𝑖,1=max{𝑋𝑖,𝑀}. Immediately,

ℙ ( 1 𝑛 ∑ 𝑖 = 1 𝑛 𝑌 𝑖 , 1 > 𝜀 ) ≤ 𝑛 𝑀 𝑛 2 𝜀 2 → 0 as 𝑛 → ∞ .

On the other hand,

ℙ ( 1 𝑛 ∑ 𝑖 = 1 𝑛 𝑌 𝑖 , 2 > 𝜀 ) ≤ 𝑛 𝔼 ( 𝑋 1 𝟙 𝑋 1 ≥ 𝑀 ) 𝑛 𝜀 → 0 as 𝑀 → ∞ .
The theorem is proved by combining the above. □
Lemma A.8 (Kronecker). Suppose 𝑎𝑛>0 and 𝑎𝑛↗︎∞. Then ∑𝑖=1∞𝑎𝑛−1𝑥𝑛<∞ implies 𝑎𝑛−1∑𝑖=1𝑛𝑥𝑖→0.

Proof. Writing 𝑏𝑛=(𝑎𝑛−1−𝑎𝑛−1−1) with 𝑎0−1≔0, one may use summation by parts to deduce

𝑎 𝑛 − 1 ∑ 𝑖 = 1 𝑛 𝑥 𝑖 = ∑ 𝑖 = 1 𝑛 𝑎 𝑖 ( 𝑎 𝑖 − 1 𝑥 𝑖 ) = ∑ 𝑖 = 1 𝑛 𝑎 𝑖 − 1 𝑥 𝑖 + ∑ 𝑖 = 1 𝑛 − 1 𝑎 𝑖 − 𝑎 𝑖 + 1 𝑎 𝑛 ∑ 𝑗 = 1 𝑖 𝑎 𝑗 − 1 𝑥 𝑗 .
The last expression converges to 0 as 𝑛 → ∞ . □
Proposition A.9 (Kolmogorov's Criterion of SLLN). Suppose (𝑋𝑖)𝑖=1∞ are independent such that 𝔼(𝑋𝑛)=0 and ∑𝑖=1∞𝑖−2Var(𝑋𝑖)<∞. Then, 𝑛−1∑𝑖=1𝑛𝑋𝑖→0 a.s.

Proof. By virtue of the independence, one observes that

𝔼 ( | ∑ 𝑖 = 1 ∞ 𝑋 𝑖 𝑖 | 2 ) ≤ ∑ 𝑖 = 1 ∞ Var ( 𝑋 𝑖 ) 𝑖 2 < ∞ ,
which, in particular, implies ∑ 𝑖 = 1 ∞ 𝑋 𝑖 𝑖 is finite almost surely, which in turn implies the conclusion by Lemma A.8. □
Proposition A.10 (Strong Law of Large Numbers). Suppose (𝑋𝑖)𝑖=1∞ are i.i.d. and 𝔼(𝑋1)=0. Then, 𝑛−1∑𝑖=1𝑛𝑋𝑖→𝔼(𝑋1) a.s.

Proof. It suffices to prove the case 𝔼(|𝑋1|)<∞, for if otherwise, one may still apply the result to 𝑌𝑛=min{𝑀,𝑋𝑛} for every 𝑀>0 if 𝔼(𝑋1+)<∞ (resp., 𝑌𝑛=max{−𝑀,𝑋𝑛}𝑋𝑛 if 𝔼(𝑋1−)>−∞) so that 𝔼(|𝑌𝑛|)<∞ and that 𝑌𝑛≤𝑋𝑛 (resp., 𝑌𝑛≥𝑋𝑛), leading to the conclusion by letting 𝑀→∞.

To begin, truncate 𝑋𝑛 to define

𝑌 𝑛 = 𝟙 { | 𝑋 𝑛 | ≤ 𝑛 } 𝑋 𝑛 − 𝔼 ( 𝑋 𝑛 𝟙 { | 𝑋 𝑛 | ≤ 𝑛 } ) .

Then, verify the assumption of Proposition A.9

∑ 𝑖 = 1 ∞ Var ( 𝑌 𝑖 ) 𝑖 2 ≤ ∑ 𝑖 = 1 ∞ 𝔼 ( | 𝑋 1 | 2 𝟙 { | 𝑋 1 | ≤ 𝑖 } ) 𝑖 2 = ( 𝔼 ( | 𝑋 1 | 2 ∑ 𝑖 = max { 1 , | 𝑋 1 | } 𝑛 1 𝑖 2 ) ) ≤ ℙ ( | 𝑋 1 | < 1 ) + 𝔼 ( | 𝑋 1 | 2 ∑ 𝑖 = | 𝑋 1 | 𝑛 2 𝑖 ( 𝑖 + 1 ) ) ≤ ℙ ( | 𝑋 1 | < 1 ) + 2 𝔼 ( | 𝑋 1 | ) .

to deduce

1 𝑛 ∑ 𝑖 = 1 ∞ 𝑌 𝑖 → 0 .
(A.3)

On the other hand, by the Borel-Cantelli lemma,

ℙ ( | 𝑋 𝑛 | > 𝑛 infinitely often ) ≤ lim sup 𝑛 → ∞ ∑ 𝑖 = 𝑛 ∞ ℙ ( | 𝑋 𝑖 | ≥ 𝑖 ) ≤ lim sup 𝑛 → ∞ 𝔼 ( | 𝑋 1 | ) .
(A.4)

Combining (A.3) and (A.4) gives that

lim 𝑛 → ∞ 𝑛 − 1 ∑ 𝑖 = 1 𝑛 𝑋 𝑖 = lim 𝑛 → ∞ 𝑛 − 1 ∑ 𝑖 = 1 𝑛 ( 𝑌 𝑖 + 𝔼 ( | 𝑋 1 | 𝟙 { | 𝑋 1 | ≤ 𝑖 } ) ) = 𝔼 ( 𝑋 1 ) .

□

B. Functional analysis

Theorem B.1 (Hahn-Banach Extension Theorem). Let 𝒳︀ be a real vector space. Suppose that

  • 𝒴︀ is a linear subspace of 𝒳︀,
  • 𝑝:𝒳︀→ℝ is a convex functional,
  • 𝑓:𝒴︀→ℝ is linear and 𝑓≤𝑝|𝒴︀.

Then, there exists a linear functional 𝑔:𝒳︀→ℝ such that 𝑔|𝒴︀=𝑓and𝑔≤𝑝.

Proof. The theorem is proved by transfinite induction.

If 𝒴︀≠𝒳︀, choose 𝑦∈𝒴︀∖𝒳︀, 𝒴︀′=span({𝑦}∪𝒳︀) and extend 𝑓 to 𝑓′:𝒴︀′→ℝ by

𝑓′ ( 𝑥 + 𝑡 𝑦 ) = 𝑓 ( 𝑥 ) + 𝑡 𝛼 for all 𝑥 ∈ 𝒴︀ , 𝑡 ∈ ℝ ,

where one may choose, if possible,

𝛼 ( = 𝑓′ ( 𝑥′ ) ) ∈ [ sup 𝑡 < 0 sup 𝑥 ∈ 𝒴︀ 𝑝 ( 𝑥 + 𝑡 𝑥′ ) − 𝑓 ( 𝑥 ) 𝑡 , inf 𝑡 > 0 inf 𝑥 ∈ 𝒴︀ 𝑝 ( 𝑥 + 𝑡 𝑥′ ) − 𝑓 ( 𝑥 ) 𝑡 ]

so that 𝑓′(𝑥)≤𝑝(𝑥) on 𝒴︀′. To see the above interval is indeed nonempty, note that the convexity of 𝑝 together with 𝑝≥𝑓 implies that for each 𝑡>0,

𝑝 ( 𝑧 + 𝑡 𝑥′ ) − 𝑓 ( 𝑧 ) 𝑡 ≥ 𝑝 ( 𝑧′ − 𝑡 𝑥′ ) − 𝑓 ( 𝑧′ ) − 𝑡 for all 𝑧 , 𝑧′ ∈ 𝒴︀ , 𝑡 > 0 ,

and hence the non-emptiness follows from the finite intersection property.

To conclude the proof, consider the set 𝒞︀ of all pairs (𝒴︀,𝑓) such that 𝒴︀ is a subspace of 𝒳︀ and that 𝑓:𝒴︀→ℝ is linear on 𝒴︀ with 𝑓≤𝑝|𝒴︀. Define further a partial order ≤ by

( 𝒴︀ , 𝑓 ) ≤ ( 𝒴︀′ , 𝑓′ ) if and only if 𝒴︀ ⊆ 𝒴︀′ and 𝑓′ | 𝒴︀ = 𝑓 .

Hence, for any chain {(𝒴︀𝑖,𝑓𝑖)}⊂𝒞︀, the space 𝒴︀=∪𝑖𝒴︀𝑖 is a vector space and the function 𝑓(𝑥)≔𝑓𝑖(𝑥) whenever 𝑥∈𝒴︀𝑖, which forms a maximal element (𝒴︀,𝑓)∈𝒞︀ of the chain. Hence, by Zorn’s lemma, there exists a maximal element (𝒴︀,𝑓)∈𝒞︀, and 𝒴︀=𝒳︀ by the first part of the proof. □

In the context of topological vector spaces, an equivalent of Theorem B.1 is phrased in terms of separation, as follows. Recall that a core point 𝑥 of a subset 𝐴 of a vector space 𝒳︀ is the point satisfying that for every 𝑦⊂𝒳︀ there exists 𝜀=𝜀(𝑦) such that 𝑦+𝛿𝑦∈𝐴 for all |𝛿|≤𝜀, for which we denote cor𝐴={𝑥∈𝐴:𝑥is a core point}.

Theorem B.2 (Hahn-Banach Separation Theorem). Let 𝐴 and 𝐵 be disjoint, nonempty, convex subsets of a real topological vector space 𝒳︀. Assume that cor𝐴≠∅. Then there is a linear functional 𝑓:𝒳︀→ℝ satisfying sup𝑎∈𝐴𝑓(𝑎)≤inf𝑏∈𝐵𝑓(𝑏) and 𝐴∪𝐵⊄{𝑓=𝛼} for all 𝛼. Moreover, if in addition int𝐴≠∅, then 𝑓 can be chosen so that 𝑓∈𝒳︀∗ and 𝑓(𝑎)<𝑓(𝑏) for all 𝑎∈𝐴 and 𝑏∈𝐵.

Proof of Theorem B.2 by Theorem B.1. We first prove the general case, after which we point out the necessary modifications for the case where int𝐴≠∅.

Let 𝐶=𝐴−𝐵 and 𝑧∈cor(𝐴−𝐵). Define 𝐶=𝐴−𝐵−𝑧 so that −𝑧∉𝐶 and its associated gauge

𝑝 𝐶 ( 𝑥 ) = inf { 𝑡 > 0 : 𝑥 ∈ 𝑡 𝐶 } .

Then, 𝑝𝐶:𝒳︀→ℝ is a sublinear functional. Indeed, since 0∈cor𝐶, 𝑝𝑐 is real-valued. Moreover, 𝑝𝐶(𝑡𝑥)=𝑡𝑝𝐶(𝑥) for all 𝑡>0 by definition and 𝑝𝐶(𝑥+𝑦)≤𝑝𝐶(𝑥)+𝑝𝐶(𝑦) by convexity of 𝐶. Consider the subspace 𝒴︀=span{−𝑧} and define the linear functional 𝑔(−𝑡𝑧)=𝑡. To apply the extension theorem, observe that 𝑝𝐶(−𝑧)≥1 and thus 𝑔≤𝑝|𝒴︀, yielding a linear extension 𝑓:𝒳︀→ℝ of 𝑔 satisfying 𝑓≤𝑝𝐶 by Theorem B.1. To see 𝑓 separates 𝐴 and 𝐵, observe that for any 𝑎∈𝐴 and 𝑏∈𝐵,

𝑓 ( 𝑎 ) = 𝑓 ( 𝑎 − 𝑏 − 𝑧 ) + 𝑓 ( 𝑧 ) + 𝑓 ( 𝑏 ) ≤ 𝑝 𝐶 ( 𝑎 − 𝑏 − 𝑧 ) + 𝑓 ( 𝑧 ) + 𝑓 ( 𝑏 ) ≤ 1 − 1 + 𝑓 ( 𝑏 ) = 𝑓 ( 𝑏 ) .
(B.1)

The number 𝛼 in question can be arbitrary in [sup𝑎∈𝐴𝑓(𝑎),inf𝑏∈𝐵𝑓(𝑏)]. To see that that 𝐴∪𝐵⊄{𝑓=𝑎}, note that 𝑧=𝑎−𝑏 for some 𝑎∈𝐴 and 𝑏∈𝐵 and 𝑓(𝑧)=−1=𝑓(𝑎)−𝑓(𝑏) as desired.

Now if int𝐴≠∅, pick 𝑧∈int(𝐴−𝐵) and proceed as before. Under the circumstances, 𝐶 is a neighborhood of 0. Hence, |𝑓(𝑥)|≤max{|𝑝𝐶(𝑥)|,|𝑝𝐶(−𝑥)|}≤1 for all 𝑥 in the neighborhood 𝐶∩−𝐶 of 0, proving the continuity. Furthermore, 𝑝𝐶(𝑎−𝑏−𝑧)<1 due to the fact 𝑧∈int(𝐴−𝐵), rendering (B.1) a strict inequality. □

Proof of Theorem B.1 by Theorem B.2. Let

𝐴 = { ( 𝑥 , 𝛼 ) ∈ 𝒳︀ × ℝ : 𝑝 ( 𝑥 ) < 𝛼 } and 𝐵 = { ( 𝑦 , 𝛽 ) ∈ 𝒴︀ × ℝ : 𝑓 ( 𝑦 ) ≥ 𝛽 } .

Then, 𝐴 and 𝐵 are convex and every point in 𝐴 is a core point. Thus, by Theorem B.2, there exists a linear functional ℎ:𝒳︀→ℝ and numbers 𝜌∈ℝ such that

sup ( 𝑥 , 𝛼 ) ∈ 𝐴 ℎ ( 𝑥 ) + 𝜌 𝛼 ≤ 𝛾 ≔ inf ( 𝑦 , 𝛽 ) ∈ 𝐵 ℎ ( 𝑦 ) + 𝜌 𝛽 ( 𝛾 ∈ ℝ ) .
(B.2)

Under the circumstances, we observe, by letting 𝛼→∞, that 𝜌≤0. It is clear that 𝜌≠0, for if otherwise, the inequality (B.1) above holds if and only if ℎ(𝑥)=0 for all 𝑥∈𝒳︀, contradicting Theorem B.2 as ℎ(𝐴)=ℎ(𝐵)={0}. Now that 𝜌<0, the inequality (B.2) implies that

𝜌 − 1 ℎ ( 𝑦 ) + 𝑓 ( 𝑦 ) ≤ 𝜌 − 1 𝛾 for all 𝑦 ∈ 𝒴︀ ⇒ 𝑓 = 𝜌 − 1 ( 𝛾 − ℎ | 𝒴︀ ) , 𝜌 − 1 𝑔 ( 𝑥 ) + 𝑝 ( 𝑥 ) ≥ 𝜌 − 1 𝛾 for all 𝑥 ∈ 𝒳︀ ⇒ 𝑝 ≥ 𝜌 − 1 ( 𝛾 − ℎ ) .
The proof is finished by choosing 𝑔 = 𝜌 − 1 ( 𝛾 − ℎ ) . □
Theorem B.3. Suppose 𝒳︀ is a locally convex real topological vector space. Suppose 𝐴 and 𝐵 are two disjoint, nonempty, convex sets in the locally convex topological vector space 𝒳︀. If 𝐴 is compact and 𝐵 is closed, then there exists an 𝑓∈𝒳︀∗ such that sup𝑎∈𝐴𝑓(𝑎)<inf𝑏∈𝐵𝑓(𝑏).
Proof. Suppose 𝑉 is a convex neighborhood of 0 such that (𝐴+𝑉)∩𝐵=∅. Apply Theorem B.2 to 𝐴+𝑉 and 𝐵 to obtain 𝑓∈𝒳︀∗ such that sup𝑎∈𝐴𝑓(𝑎)<sup𝑎∈𝐴+𝑉𝑓(𝑎) since 𝑓(𝐴) is compact and 𝑓(𝐴+𝑉) is open. □

C. Basics in convex analysis

Lemma C.1 (duality). Let 𝒳︀ be a locally convex topological vector space. If 𝑓:𝒳︀→(−∞,∞] is convex and lower semicontinuous, then 𝑓∗∗(𝑥)=𝑓(𝑥).

Proof. We should assume, without loss of generality, that 𝑓 is not identically ∞, for the lemma holds obviously otherwise. Define

ℰ︀ = { ( 𝑥 , 𝛼 ) ∈ 𝒳︀ × ℝ : 𝑓 ( 𝑥 ) ≤ 𝛼 } , ℰ︀ ∗ = { ( 𝜆 , 𝛼 ) ∈ 𝒳︀ ∗ × ℝ : 𝑓 ∗ ( 𝜆 ) ≤ 𝛼 } ,

which are convex subsets in the locally convex topological vector spaces 𝒳︀×ℝ and 𝒳︀∗×ℝ, respectively.

It is not hard to verify by definition that 𝑓∗∗≤𝑓. Hence, it suffices to prove the other inequality. Equivalently, it asserts that if 𝑓(𝑥)>𝛼, then there is (𝜆,𝛽)∈𝒳︀∗ such that ⟨𝜆,𝑥⟩−𝛽>𝛼. Then, observe that 𝐴={(𝑥,𝛼)} is compact and 𝐵=ℰ︀ is closed by lower semicontinuity of 𝑓 and nonempty by the fact 𝑓 is not identically ∞. Moreover, under the assumption 𝑓(𝑥)>𝛼, 𝐴∩𝐵=∅. These altogether allow us to apply the Hahn-Banach separation theorem (specifically, Theorem B.3) to yield some 𝜂∈𝒳︀∗ and 𝜌∈ℝ satisfying

𝛾 ≔ sup ( 𝑦 , 𝛽 ) ∈ ℰ︀ ⟨ 𝜂 , 𝑦 ⟩ − 𝜌 𝛽 < ⟨ 𝜂 , 𝑥 ⟩ − 𝜌 𝛼
(C.1)

where 𝜌≥0 must hold as there exists 𝑦∈𝒳︀ with 𝑓(𝑦)<∞.

If 𝜌>0, then (C.1) implies that 𝛼<⟨𝜌−1𝜂,𝑥⟩−𝜌−1𝛾. Moreover, (𝜌−1𝜂,𝜌−1𝛾)∈ℰ︀∗ as desired, for if otherwise, 𝑓∗(𝜌−1𝜂)>𝜌−1𝛾 contradicting the definition of 𝛾.

If 𝜌=0, then for all (𝜇,𝛽)∈ℰ︀∗, define (𝜇𝛿,𝛽𝛿)≔(𝜂𝛿+𝜇,𝛾𝛿+𝛽) for 𝛿>0. In fact, (𝜇𝛿,𝛽𝛿)∈ℰ︀∗ since

𝑓 ∗ ( 𝜇 𝛿 ) − 𝛽 𝛿 ≤ sup 𝑦 ∈ 𝒳︀ [ ⟨ 𝜇 𝛿 , 𝑦 ⟩ − 𝑓 ( 𝑦 ) − 𝛽 𝛿 ] ≤ sup 𝑦 ∈ 𝒳︀ [ 1 𝛿 ( ⟨ 𝜂 , 𝑦 ⟩ − 𝛾 ) + ( ⟨ 𝜇 , 𝑦 ⟩ − 𝑓 ∗ ( 𝜇 ) ) − 𝑓 ( 𝑦 ) ] ≤ 0 .

Moreover,

[ ⟨ 𝜂 𝛿 , 𝑥 ⟩ − 𝑓 ∗ ( 𝜂 𝛿 ) ] ≥ lim 𝛿 → 0 [ 1 𝛿 ( ⟨ 𝜂 , 𝑥 ⟩ − 𝛾 ) + ( ⟨ 𝜇 , 𝑥 ⟩ − 𝑓 ∗ ( 𝜇 ) ) ] = ∞ ,

yielding the desired 𝜆=𝜂𝛿 when 𝛿 is sufficiently small. □

Lemma C.2. Suppose 𝑓:ℝ𝑑→[0,∞] is a convex, lower semicontinuous function with inf𝜆∈ℝ𝑑𝑓(𝜆)=0 and 0∈ri𝒟︀𝑓∗, then 𝑓(𝜂)=0 for some 𝜂∈ℝ𝑑

Proof. Note that 𝑓∗(0)=0, and hence the lemma, by duality (Lemma C.1), is equivalent to the existence of 𝜂∈ℝ𝑑 such that ⟨𝜂,𝑥⟩≤𝑓∗(𝑥) for all 𝑥∈ℝ𝑑. This latter claim, by convexity of 𝑓∗, is equivalent to

⟨ 𝜂 , 𝑥 ⟩ ≤ lim 𝛿 → 0 + 𝑓 ∗ ( 𝛿 𝑥 ) − 𝑓 ∗ ( 0 ) 𝛿 = inf 𝛿 > 0 𝑓 ∗ ( 𝛿 𝑥 ) − 𝑓 ∗ ( 0 ) 𝛿 ≕ 𝑔 ( 𝑥 ) for all 𝑥 ∈ ℝ 𝑑 .

To prove the claim, define

𝐴 = { ( 𝑥 , 𝛼 ) ∈ ℝ 𝑑 × ℝ : 𝑔 ( 𝑥 ) ≤ 𝛼 } ─ and 𝐵 = { ( 0 , − 1 ) } ,

Obviously, 𝐵 is convex, compact, and nonempty. On the other hand, 𝐴 is nonempty, convex, and 𝐴∩𝐵=∅. Obviously, (0,0)∈𝐴. To prove convexity, note that 𝑔 is a convex function and closure of a convex set is convex. Indeed,

𝑔 ( 𝑡 𝑥 + ( 1 − 𝑡 ) 𝑦 ) = lim 𝛿 → 0 + 𝑓 ∗ ( 𝑡 𝛿 𝑥 + ( 1 − 𝑡 ) 𝛿 𝑦 ) 𝛿 ≤ lim 𝛿 → 0 + 𝑡 ⋅ 𝑓 ∗ ( 𝛿 𝑥 ) 𝛿 + ( 1 − 𝑡 ) ⋅ 𝑓 ∗ ( 𝛿 𝑦 ) 𝛿 = 𝑡 𝑔 ( 𝑥 ) + ( 1 − 𝑡 ) 𝑔 ( 𝑦 ) .

Finally, to prove 𝐴∩𝐵=∅, we first show that 0∈ri𝒟︀𝑔=𝒟︀𝑔. Under the circumstances, we deduce that 𝑔|𝒟︀𝑔 is continuous at 0∈ri𝒟︀𝑔=𝒟︀𝑔 and thus 𝐴∩𝐵=∅ follows naturally. To this end, note that 0∈ri𝒟︀𝑓∗ implies 0∈ri𝒟︀𝑔. Indeed, 𝑔(0)=0 and if 𝑥∈𝒟︀𝑔, then 𝑓∗(𝑥)<∞ and for all small 𝜀>0,

𝑔 ( − 𝜀 𝑥 ) = inf 𝛿 > 0 𝑓 ∗ ( 𝛿 ( − 𝜀 ) 𝑥 ) 𝛿 ≤ 𝑓 ∗ ( − 𝜀 𝑥 ) < ∞ .

In particular, the above implies 0∈ri𝒟︀𝑔. Moreover, 0∈ri𝒟︀𝑔 implies also ri𝒟︀𝑔=𝒟︀𝑔 since 𝑥∈𝒟︀𝑔 if and only if 𝑡𝑥∈𝒟︀𝑔 for all 𝑡>0.

We now may apply Theorem B.3 to 𝐴 and 𝐵 to yield some 𝜇∈𝒳︀ such that

⟨ 𝜇 , 0 ⟩ + 𝜌 = 𝜌 > sup ( 𝑥 , 𝛼 ) ∈ 𝐴 ⟨ 𝜇 , 𝑥 ⟩ − 𝜌 𝛼 ,

where 𝜌>0 since (0,0)∈𝐴. Hence, for every 𝑥∈𝒳︀ with 𝑓∗(𝑥)<∞, we have that

⟨ 𝜌 − 1 𝜇 , 𝜀 𝑥 ⟩ ≤ 𝑔 ( 𝜀 𝑥 ) + 1 for all 𝜀 > 0 ⇒ ⟨ 𝜌 − 1 𝜇 , 𝑥 ⟩ ≤ 𝑔 ( 𝑥 ) .

The proof is concluded by choosing 𝜂=𝜌−1𝜇. □

Lemma C.3. Let 𝑓 be an essentially smooth, convex function. If 𝑓(0)=0 and 𝑓∗(𝑥)=0 for some 𝑥∈ℝ𝑑, then 0∈𝒟︀𝑓˚.

Proof. Since 𝑓(0)=0, it follows by convexity of 𝑓 that

𝑓 ( 𝑡 𝜆 ) ≤ 𝑡 𝑓 ( 𝜆 ) , for all 𝑡 ∈ [ 0 , 1 ] , 𝜆 ∈ ℝ 𝑑 .

Moreover, since 𝑓∗(𝑥)=0,

𝑓 ( 𝑡 𝜆 ) ≥ ⟨ 𝑡 𝜆 , 𝑥 ⟩ − 𝑓 ∗ ( 𝑥 ) ≥ − 𝑡 | 𝜆 | | 𝑥 | .

Because 𝑓 is essentially smooth, there exists a closed ball 𝐵─𝑟(𝑧)⊂𝒟︀𝑓˚ in which 𝑓 is differentiable. Hence,

𝑀 = sup 𝜆 ∈ 𝐵 ─ 𝑟 ( 𝑧 ) { 𝑓 ( 𝜆 ) ∨ | 𝜆 | | 𝑥 | } < ∞

Hence, for any 𝑡∈(0,1] and any 𝜃∈𝐵─𝑡𝑟(𝑡𝑧) different from 𝑡𝑧, by the convexity of 𝑓,

𝑓 ( 𝜃 ) − 𝑓 ( 𝑡 𝑧 ) ≤ | 𝜃 − 𝑡 𝑧 | 𝑡 𝑟 ( 𝑓 ( 𝑦 ) − 𝑓 ( 𝑡 𝑧 ) ) ≤ 2 𝑡 𝑀 𝑡 𝑟 | 𝜃 − 𝑡 𝑧 | ,

where 𝑦=𝑡𝑧+𝑡𝑟|𝜃−𝑡𝑧|(𝜃−𝑡𝑧)∈𝐵─𝑡𝑟(𝑡𝑧). Similarly, 𝑓(𝜃)−𝑓(𝑡𝑧)≥−2𝑡𝑀𝑡𝑟|𝜃−𝑡𝑧|. Hence,

| 𝑓 ( 𝜃 ) − 𝑓 ( 𝑡 𝑧 ) | ≤ 2 𝑡 𝑀 𝑡 𝑟 | 𝜃 − 𝑡 𝑧 | for all 𝜃 ∈ 𝐵 ─ 𝑡 𝑟 ( 𝑡 𝑧 ) .
Observe that 𝑡 𝑧 ∈ 𝒟︀ 𝑓 ˚ because of the convexity of 𝒟︀ 𝑓 . Hence, by assumption, ∇ 𝑓 ( 𝑡 𝑧 ) exists, and by the preceding inequality, | ∇ 𝑓 ( 𝑡 𝑧 ) | ≤ 2 𝑀 𝑟 . Since 𝑓 is steep, by considering 𝑡 → 0 , in which case 𝑡 𝑧 → 0 , we conclude that 0 ∈ 𝒟︀ 𝑓 ˚ . □

References

  • [1] Dembo, Amir, and Zeitouni, Ofer, Large Deviations Techniques and Applications, Springer Berlin Heidelberg, 2010.↩