InformationTheory

InformationTheory.Shannon.Chernoff.Basic

source

Chernoff information and the Hoeffding tradeoff exponent #

The Chernoff exponent C(P₁, P₂) and the Hoeffding tradeoff exponent E₂(α) (Cover–Thomas) for finite-alphabet pmfs P₁, P₂ : α → ℝ, together with the convexity of λ ↦ log Z(λ) and the achievability side of the Chernoff bound on the Bayes error of an n-sample binary hypothesis test.

Main definitions #

  • chernoffZSum P₁ P₂ lam — the Chernoff partition function Z(λ) := ∑ a, P₁(a)^(1-λ) · P₂(a)^λ.
  • chernoffInfo P₁ P₂ — the Chernoff information -sInf ((log ∘ Z) '' Icc 0 1).
  • chernoffMediator P₁ P₂ lam — the tilted mediator pmf P₁(a)^(1-λ) · P₂(a)^λ / Z(λ).
  • hoeffdingE2 P₁ P₂ alpha — the Hoeffding tradeoff exponent at Type I level alpha.
  • hoeffdingConstraintSet P₁ alpha — the constraint set {Q ∈ stdSimplex | klDivPmf Q P₁ ≤ alpha}.
  • bayesErrorMinPmf P₁ P₂ n — the optimal n-sample Bayes error with equal priors.

Main statements #

Implementation notes #

Everything is stated in finite-alphabet pmf form (α → ℝ) so that CsiszarProjection.klDivPmf can be reused directly. chernoffInfo and hoeffdingE2 are stated as sInf over an image of a compact set, so attainment follows from IsCompact.exists_sInf_image_eq. The convexity of log Z is obtained from the multiplicative Hölder bound Z(αλ₁ + βλ₂) ≤ Z(λ₁)^α · Z(λ₂)^β.

References #

  • T. M. Cover and J. A. Thomas, Elements of Information Theory (2nd ed.), Wiley, 2006.

Chernoff exponent: definition and basic properties #

noncomputable def

InformationTheory.Shannon.Chernoff.chernoffZSum

source
{α : Type u_1} [Fintype α] (P₁ P₂ : α) (lam : ) :

The Chernoff partition function Z(λ) := ∑_a P₁(a)^(1-λ) · P₂(a)^λ.

Equations
Instances For
    Used by
      noncomputable def

      InformationTheory.Shannon.Chernoff.chernoffInfo

      source
      {α : Type u_1} [Fintype α] (P₁ P₂ : α) :

      The Chernoff information C(P₁, P₂) := -min_{λ ∈ [0,1]} log Z(λ), stated as -sInf of the image; chernoffInfo_attained shows the minimum is realized.

      Equations
      Instances For
        Used by

          Endpoint values Z(0) = Z(1) = 1 #

          theorem

          InformationTheory.Shannon.Chernoff.chernoffZSum_lam_zero

          source
          {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_sum : a : α, P₁ a = 1) (_hP₂_nn : ∀ (a : α), 0 P₂ a) :
          chernoffZSum P₁ P₂ 0 = 1

          Z(0) = ∑ P₁(a) = 1 for pmf P₁.

          Used by
            theorem

            InformationTheory.Shannon.Chernoff.chernoffZSum_lam_one

            source
            {α : Type u_1} [Fintype α] (P₁ P₂ : α) (_hP₁_nn : ∀ (a : α), 0 P₁ a) (hP₂_sum : a : α, P₂ a = 1) :
            chernoffZSum P₁ P₂ 1 = 1

            Z(1) = ∑ P₂(a) = 1 for pmf P₂.

            Used by

              Strict positivity #

              theorem

              InformationTheory.Shannon.Chernoff.chernoffZSum_term_pos

              source
              {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (lam : ) (a : α) :
              0 < P₁ a ^ (1 - lam) * P₂ a ^ lam

              Each summand (P₁ a)^(1-λ) · (P₂ a)^λ is strictly positive under full support.

              Used by
                theorem

                InformationTheory.Shannon.Chernoff.chernoffZSum_pos

                source
                {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (lam : ) :
                0 < chernoffZSum P₁ P₂ lam

                Z(λ) > 0 under full support (any λ ∈ ℝ).

                Used by

                  Continuity #

                  theorem

                  InformationTheory.Shannon.Chernoff.chernoffZSum_continuous

                  source
                  {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                  Continuous fun (lam : ) => chernoffZSum P₁ P₂ lam

                  λ ↦ Z(λ) is continuous on .

                  Used by
                    theorem

                    InformationTheory.Shannon.Chernoff.chernoffLogZ_continuous

                    source
                    {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                    Continuous fun (lam : ) => Real.log (chernoffZSum P₁ P₂ lam)

                    λ ↦ log Z(λ) is continuous on (under full-support strict positivity of Z).

                    Used by

                      Attainment and nonnegativity of chernoffInfo #

                      theorem

                      InformationTheory.Shannon.Chernoff.chernoffInfo_attained

                      source
                      {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                      lamSet.Icc 0 1, chernoffInfo P₁ P₂ = -Real.log (chernoffZSum P₁ P₂ lam)

                      Chernoff information is attained: ∃ λ* ∈ Icc 0 1, chernoffInfo = -log Z(λ*).

                      Used by
                        theorem

                        InformationTheory.Shannon.Chernoff.chernoffInfo_nonneg

                        source
                        {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (hP₁_sum : a : α, P₁ a = 1) (_hP₂_sum : a : α, P₂ a = 1) :
                        0 chernoffInfo P₁ P₂

                        chernoffInfo P₁ P₂ ≥ 0.

                        Used by

                          Symmetry Z_{P₁,P₂}(λ) = Z_{P₂,P₁}(1 - λ) #

                          theorem

                          InformationTheory.Shannon.Chernoff.chernoffZSum_swap

                          source
                          {α : Type u_1} [Fintype α] (P₁ P₂ : α) (lam : ) :
                          chernoffZSum P₁ P₂ lam = chernoffZSum P₂ P₁ (1 - lam)

                          Symmetry of chernoffZSum under λ ↔ 1 - λ: Z_{P₁,P₂}(λ) = Z_{P₂,P₁}(1 - λ).

                          Used by

                            Hoeffding tradeoff exponent #

                            theorem

                            InformationTheory.Shannon.Chernoff.klDivPmf_self_eq_zero

                            source
                            {α : Type u_1} [Fintype α] (P : α) (hP_pos : ∀ (a : α), 0 < P a) :

                            klDivPmf P P = 0: the Kullback–Leibler divergence of a positive pmf with itself is zero.

                            Used by
                              noncomputable def

                              InformationTheory.Shannon.Chernoff.hoeffdingE2

                              source
                              {α : Type u_1} [Fintype α] (P₁ P₂ : α) (alpha : ) :

                              Hoeffding tradeoff exponent at Type I level alpha: E₂(α) := min { klDivPmf Q P₂ | Q ∈ stdSimplex ∧ klDivPmf Q P₁ ≤ α }.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                Used by
                                  def

                                  InformationTheory.Shannon.Chernoff.hoeffdingConstraintSet

                                  source
                                  {α : Type u_1} [Fintype α] (P₁ : α) (alpha : ) :
                                  Set (α)

                                  The Hoeffding constraint set K := {Q ∈ stdSimplex | klDivPmf Q P₁ ≤ α}.

                                  Equations
                                  Instances For
                                    Used by
                                      theorem

                                      InformationTheory.Shannon.Chernoff.hoeffdingConstraintSet_nonempty

                                      source
                                      {α : Type u_1} [Fintype α] (P₁ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₁_sum : a : α, P₁ a = 1) (alpha : ) (h_alpha_nn : 0 alpha) :

                                      The Hoeffding constraint set is non-empty when α ≥ 0 and P₁ is a positive pmf: P₁ itself satisfies klDivPmf P₁ P₁ = 0 ≤ α.

                                      Used by
                                        theorem

                                        InformationTheory.Shannon.Chernoff.hoeffdingConstraintSet_subset_stdSimplex

                                        source
                                        {α : Type u_1} [Fintype α] (P₁ : α) (alpha : ) :

                                        The Hoeffding constraint set is a subset of the simplex.

                                        Used by
                                          theorem

                                          InformationTheory.Shannon.Chernoff.hoeffdingConstraintSet_isClosed

                                          source
                                          {α : Type u_1} [Fintype α] (P₁ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (alpha : ) :

                                          The Hoeffding constraint set is closed (intersection of the closed simplex with the closed sublevel set of the continuous function Q ↦ klDivPmf Q P₁).

                                          Used by
                                            theorem

                                            InformationTheory.Shannon.Chernoff.hoeffdingE2_attained

                                            source
                                            {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (hP₁_sum : a : α, P₁ a = 1) (alpha : ) (h_alpha_nn : 0 alpha) :
                                            QstarhoeffdingConstraintSet P₁ alpha, hoeffdingE2 P₁ P₂ alpha = CsiszarProjection.klDivPmf Qstar P₂

                                            The Hoeffding infimum is attained: there exists Q* ∈ K with hoeffdingE2 P₁ P₂ alpha = klDivPmf Q* P₂.

                                            Used by
                                              theorem

                                              InformationTheory.Shannon.Chernoff.hoeffdingE2_nonneg

                                              source
                                              {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (hP₁_sum : a : α, P₁ a = 1) (alpha : ) (h_alpha_nn : 0 alpha) :
                                              0 hoeffdingE2 P₁ P₂ alpha

                                              hoeffdingE2 P₁ P₂ alpha ≥ 0.

                                              Used by

                                                Convexity of log Z(λ) via Hölder #

                                                The convexity of λ ↦ log Z(λ) on Icc 0 1 (Cover–Thomas). From Hölder's inequality one obtains the multiplicative form Z(αλ₁ + βλ₂) ≤ Z(λ₁)^α · Z(λ₂)^β; taking logarithms gives the convexity. The endpoints α = 0 and α = 1 are handled separately, since they fall outside the 1 < p requirement of Real.HolderConjugate.

                                                theorem

                                                InformationTheory.Shannon.Chernoff.chernoffZSum_holder_mul

                                                source
                                                {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) {lam₁ lam₂ a b : } (ha_pos : 0 < a) (hb_pos : 0 < b) (hab : a + b = 1) :
                                                chernoffZSum P₁ P₂ (a * lam₁ + b * lam₂) chernoffZSum P₁ P₂ lam₁ ^ a * chernoffZSum P₁ P₂ lam₂ ^ b

                                                Hölder multiplicative form for the Chernoff partition function: Z(αλ₁ + βλ₂) ≤ Z(λ₁)^α · Z(λ₂)^β for α, β ∈ (0, 1), α + β = 1.

                                                Stated under full-support P₁, P₂ > 0 to avoid 0^x corner cases.

                                                Used by
                                                  theorem

                                                  InformationTheory.Shannon.Chernoff.convexOn_chernoffLogZ

                                                  source
                                                  {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                                                  ConvexOn (Set.Icc 0 1) fun (lam : ) => Real.log (chernoffZSum P₁ P₂ lam)

                                                  λ ↦ log Z(λ) is convex on Icc 0 1.

                                                  Used by

                                                    Chernoff mediator T_λ (pmf form) #

                                                    noncomputable def

                                                    InformationTheory.Shannon.Chernoff.chernoffMediator

                                                    source
                                                    {α : Type u_1} [Fintype α] (P₁ P₂ : α) (lam : ) :
                                                    α

                                                    The Chernoff mediator pmf T_λ(a) := P₁(a)^(1-λ) · P₂(a)^λ / Z(λ).

                                                    Equations
                                                    Instances For
                                                      Used by
                                                        theorem

                                                        InformationTheory.Shannon.Chernoff.chernoffMediator_pos

                                                        source
                                                        {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (lam : ) (a : α) :
                                                        0 < chernoffMediator P₁ P₂ lam a

                                                        T_λ(a) > 0 under full-support P₁, P₂ > 0.

                                                        Used by
                                                          theorem

                                                          InformationTheory.Shannon.Chernoff.chernoffMediator_sum_eq_one

                                                          source
                                                          {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (lam : ) :
                                                          a : α, chernoffMediator P₁ P₂ lam a = 1

                                                          T_λ is a pmf: ∑ a, T_λ(a) = 1 (by construction).

                                                          Used by
                                                            theorem

                                                            InformationTheory.Shannon.Chernoff.chernoffMediator_lam_zero

                                                            source
                                                            {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (_hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (hP₁_sum : a : α, P₁ a = 1) (a : α) :
                                                            chernoffMediator P₁ P₂ 0 a = P₁ a

                                                            Mediator pmf bound: at endpoints lam = 0 (resp lam = 1), T_λ = P₁ (resp P₂) under full support + probability conditions.

                                                            Used by
                                                              theorem

                                                              InformationTheory.Shannon.Chernoff.chernoffMediator_lam_one

                                                              source
                                                              {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (_hP₂_pos : ∀ (a : α), 0 < P₂ a) (hP₂_sum : a : α, P₂ a = 1) (a : α) :
                                                              chernoffMediator P₁ P₂ 1 a = P₂ a
                                                              Used by

                                                                Uniqueness of the Hoeffding minimizer #

                                                                theorem

                                                                InformationTheory.Shannon.Chernoff.hoeffdingE2_unique

                                                                source
                                                                {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (_hP₁_sum : a : α, P₁ a = 1) (alpha : ) (_h_alpha_nn : 0 alpha) {Q₁ Q₂ : α} (hQ₁_mem : Q₁ hoeffdingConstraintSet P₁ alpha) (hQ₂_mem : Q₂ hoeffdingConstraintSet P₁ alpha) (hQ₁_min : hoeffdingE2 P₁ P₂ alpha = CsiszarProjection.klDivPmf Q₁ P₂) (hQ₂_min : hoeffdingE2 P₁ P₂ alpha = CsiszarProjection.klDivPmf Q₂ P₂) :
                                                                Q₁ = Q₂

                                                                The Hoeffding minimizer is unique: klDivPmf · P₂ is strictly convex on the convex constraint set K, so the minimizer of hoeffdingE2 is unique.

                                                                Used by

                                                                  Chernoff achievability (Bayes error upper bound) #

                                                                  The achievability side of Cover–Thomas: the Chernoff bound bayesErrorMinPmf P₁ P₂ n ≤ (1/2) · Z(λ)^n for every λ ∈ Icc 0 1 yields liminf_n -(1/n) log bayesErrorMinPmfchernoffInfo P₁ P₂. The n-fold IID structure is written directly with a finite sum ∑_{x : Fin n → α} of finite products ∏ i, P (x i).

                                                                  noncomputable def

                                                                  InformationTheory.Shannon.Chernoff.bayesErrorMinPmf

                                                                  source
                                                                  {α : Type u_1} [Fintype α] (P₁ P₂ : α) (n : ) :

                                                                  n-IID Bayes error in pmf form: bayesErrorMinPmf P₁ P₂ n := (1/2) · ∑_{x : Fin n → α} min(∏ P₁(x_i), ∏ P₂(x_i)).

                                                                  This is the optimal Bayes error for the 2-class hypothesis test with equal priors 1/2 : 1/2 on n IID samples (Bayes-optimal rule decides i := argmax_i P_i^n(x), giving error contribution (1/2) · min(P₁^n(x), P₂^n(x)) per x).

                                                                  Equations
                                                                  Instances For
                                                                    Used by

                                                                      Per-point bound min(a, b) ≤ a^(1-λ) · b^λ #

                                                                      theorem

                                                                      InformationTheory.Shannon.Chernoff.min_le_rpow_mul_rpow

                                                                      source
                                                                      {a b : } (ha : 0 a) (hb : 0 b) {lam : } (hlam_nn : 0 lam) (hlam_le : lam 1) :
                                                                      min a b a ^ (1 - lam) * b ^ lam

                                                                      Geometric mean inequality (degenerate Hölder form): min(a, b) ≤ a^{1-λ} · b^λ for a, b ≥ 0, λ ∈ [0, 1].

                                                                      Used by

                                                                        bayesErrorMinPmf ≤ (1/2) Z(λ)^n #

                                                                        theorem

                                                                        InformationTheory.Shannon.Chernoff.prod_rpow_mul_rpow

                                                                        source
                                                                        {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_nn : ∀ (a : α), 0 P₁ a) (hP₂_nn : ∀ (a : α), 0 P₂ a) {n : } (x : Fin nα) (lam : ) :
                                                                        i : Fin n, P₁ (x i) ^ (1 - lam) * P₂ (x i) ^ lam = (∏ i : Fin n, P₁ (x i)) ^ (1 - lam) * (∏ i : Fin n, P₂ (x i)) ^ lam

                                                                        Auxiliary: n-IID per-point factorization: ∏ i, (P₁ (x i)) ^ (1-lam) * (P₂ (x i)) ^ lam = (∏ i, P₁ (x i)) ^ (1-lam) * (∏ i, P₂ (x i)) ^ lam under P₁, P₂ ≥ 0.

                                                                        Used by
                                                                          theorem

                                                                          InformationTheory.Shannon.Chernoff.sum_prod_rpow_eq_Z_pow

                                                                          source
                                                                          {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_nn : ∀ (a : α), 0 P₁ a) (hP₂_nn : ∀ (a : α), 0 P₂ a) (lam : ) (n : ) :
                                                                          x : Fin nα, (∏ i : Fin n, P₁ (x i)) ^ (1 - lam) * (∏ i : Fin n, P₂ (x i)) ^ lam = chernoffZSum P₁ P₂ lam ^ n

                                                                          n-IID Chernoff partition function via product factorization: ∑_{x : Fin n → α} (∏ i, P₁ (x i))^(1-lam) · (∏ i, P₂ (x i))^lam = Z(λ)^n.

                                                                          Used by
                                                                            theorem

                                                                            InformationTheory.Shannon.Chernoff.bayesErrorMinPmf_le_half_Z_pow

                                                                            source
                                                                            {α : Type u_1} [Fintype α] (P₁ P₂ : α) (hP₁_nn : ∀ (a : α), 0 P₁ a) (hP₂_nn : ∀ (a : α), 0 P₂ a) (n : ) {lam : } (hlam_nn : 0 lam) (hlam_le : lam 1) :
                                                                            bayesErrorMinPmf P₁ P₂ n 1 / 2 * chernoffZSum P₁ P₂ lam ^ n

                                                                            The Chernoff bound bayesErrorMinPmf ≤ (1/2) · Z(λ)^n for each λ ∈ Icc 0 1.

                                                                            Used by

                                                                              Positivity of bayesErrorMinPmf #

                                                                              theorem

                                                                              InformationTheory.Shannon.Chernoff.bayesErrorMinPmf_pos

                                                                              source
                                                                              {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (n : ) :
                                                                              0 < bayesErrorMinPmf P₁ P₂ n

                                                                              bayesErrorMinPmf > 0 under full support P₁, P₂ > 0.

                                                                              Used by

                                                                                Per-λ rate lower bound #

                                                                                theorem

                                                                                InformationTheory.Shannon.Chernoff.chernoff_rate_ge_neg_log_Z_per_lam

                                                                                source
                                                                                {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) {lam : } (hlam_nn : 0 lam) (hlam_le : lam 1) {n : } (hn : 0 < n) :
                                                                                -(1 / n) * Real.log (bayesErrorMinPmf P₁ P₂ n) -Real.log (chernoffZSum P₁ P₂ lam) + Real.log 2 / n

                                                                                For each fixed λ ∈ Icc 0 1, -(1/n) log bayesErrorMinPmf ≥ -log Z(λ) + (log 2)/n (eventually for n ≥ 1).

                                                                                The + log 2 / n slack term vanishes as n → ∞, leaving -log Z(λ) (and after min over λ, chernoffInfo).

                                                                                Used by
                                                                                  theorem

                                                                                  InformationTheory.Shannon.Chernoff.chernoff_rate_ge_chernoffInfo_eventually

                                                                                  source
                                                                                  {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                                                                                  ∀ᶠ (n : ) in Filter.atTop, -(1 / n) * Real.log (bayesErrorMinPmf P₁ P₂ n) chernoffInfo P₁ P₂ + Real.log 2 / n

                                                                                  For each fixed λ* ∈ Icc 0 1 attaining chernoffInfo (= -log Z(λ*)), -(1/n) log bayesErrorMinPmfchernoffInfo + (log 2)/n (eventually for n ≥ 1).

                                                                                  Used by
                                                                                    theorem

                                                                                    InformationTheory.Shannon.Chernoff.chernoff_achievability

                                                                                    source
                                                                                    {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                                                                                    chernoffInfo P₁ P₂ Filter.liminf (fun (n : ) => -(1 / n) * Real.log (bayesErrorMinPmf P₁ P₂ n)) Filter.atTop

                                                                                    Chernoff achievability (rate-side lower bound): liminf_n -(1/n) log bayesErrorMinPmfchernoffInfo P₁ P₂.

                                                                                    Used by

                                                                                      Achievability main statement #

                                                                                      theorem

                                                                                      InformationTheory.Shannon.Chernoff.chernoff_lemma_achievability

                                                                                      source
                                                                                      {α : Type u_1} [Fintype α] (P₁ P₂ : α) [Nonempty α] (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) :
                                                                                      chernoffInfo P₁ P₂ Filter.liminf (fun (n : ) => -(1 / n) * Real.log (bayesErrorMinPmf P₁ P₂ n)) Filter.atTop

                                                                                      Chernoff bound (achievability half): the exponential convergence rate of bayesErrorMinPmf is at least chernoffInfo P₁ P₂.

                                                                                      See also chernoff_achievability.

                                                                                      Used by