IID X_n, rate function I(x) = sup_λ[λx − log E e^{λX}]: P(S_n/n ≈ x) ~ e^{−n I(x)}. Sanov, Freidlin-Wentzell for SDEs.