InformationTheory

InformationTheory.Shannon.Hoeffding.Tradeoff

source

Hoeffding tradeoff exponent — scaffolding and variational form #

Scaffolding towards Cover-Thomas.x:

-(1/n) log β_n(alpha) → hoeffdingE2 P₁ P₂ alpha

hoeffdingE2, hoeffdingE2_attained, and hoeffdingE2_unique are published in InformationTheory/Shannon/Chernoff/Basic.lean. This file adds the pmf-form infrastructure and the Pythagoras-based minimizer bound.

Main definitions #

Main statements #

Implementation notes #

pmf ↔ Measure bridge (helper) #

noncomputable def

InformationTheory.Shannon.HoeffdingTradeoff.pmfToMeasure

source
{α : Type u_1} [Fintype α] [MeasurableSpace α] (P : α) (hP_nn : ∀ (a : α), 0 P a) (hP_sum : a : α, P a = 1) :

Lift a pmf vector P : α → ℝ to Measure α via PMF.ofFintype.

Equations
Instances For
    Used by
      instance

      InformationTheory.Shannon.HoeffdingTradeoff.pmfToMeasure_isProbabilityMeasure

      source
      {α : Type u_1} [Fintype α] [MeasurableSpace α] (P : α) (hP_nn : ∀ (a : α), 0 P a) (hP_sum : a : α, P a = 1) :
      Used by
        theorem

        InformationTheory.Shannon.HoeffdingTradeoff.pmfToMeasure_apply_singleton

        source
        {α : Type u_1} [Fintype α] [Nonempty α] [MeasurableSpace α] [MeasurableSingletonClass α] (P : α) (hP_nn : ∀ (a : α), 0 P a) (hP_sum : a : α, P a = 1) (a : α) :
        (pmfToMeasure P hP_nn hP_sum) {a} = ENNReal.ofReal (P a)
        Used by
          theorem

          InformationTheory.Shannon.HoeffdingTradeoff.pmfToMeasure_real_singleton

          source
          {α : Type u_1} [Fintype α] [Nonempty α] [MeasurableSpace α] [MeasurableSingletonClass α] (P : α) (hP_nn : ∀ (a : α), 0 P a) (hP_sum : a : α, P a = 1) (a : α) :
          (pmfToMeasure P hP_nn hP_sum).real {a} = P a
          Used by

            steinTypeII_at_level_pmf definition and basic properties #

            noncomputable def

            InformationTheory.Shannon.HoeffdingTradeoff.steinBetaSet_pmf

            source
            {α : Type u_1} (P₁ P₂ : α) (n : ) (alpha : ) :

            n-IID Type II error set (pmf form).

            s : Finset (Fin n → α) is the acceptance region for H₀. The Type I error is 1 - ∑_{x ∈ s} ∏ P₁(x_i) and the Type II error is ∑_{x ∈ s} ∏ P₂(x_i). Convention matches Stein/OptimalExponent.lean :: steinBetaSet (Measure path) with Finset instead of Set + MeasurableSet.

            Equations
            Instances For
              Used by
                noncomputable def

                InformationTheory.Shannon.HoeffdingTradeoff.steinTypeII_at_level_pmf

                source
                {α : Type u_1} (P₁ P₂ : α) (n : ) (alpha : ) :

                Optimal Type II error (pmf form).

                Equations
                Instances For
                  Used by
                    theorem

                    InformationTheory.Shannon.HoeffdingTradeoff.sum_prod_pi_eq_pow_sum

                    source
                    {α : Type u_1} [Fintype α] (P : α) (n : ) :
                    x : Fin nα, i : Fin n, P (x i) = (∑ a : α, P a) ^ n

                    ∑_{x : Fin n → α} ∏ i, P (x i) = (∑ a, P a)^n for pmf-like vectors.

                    Used by
                      theorem

                      InformationTheory.Shannon.HoeffdingTradeoff.one_mem_steinBetaSet_pmf

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

                      1 ∈ steinBetaSet_pmf (take s := univ).

                      Used by
                        theorem

                        InformationTheory.Shannon.HoeffdingTradeoff.steinTypeII_at_level_pmf_nonneg

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

                        steinTypeII_at_level_pmf P₁ P₂ n alpha ≥ 0.

                        Used by
                          theorem

                          InformationTheory.Shannon.HoeffdingTradeoff.steinTypeII_at_level_pmf_le_one

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

                          steinTypeII_at_level_pmf P₁ P₂ n alpha ≤ 1.

                          Used by

                            Hoeffding constraint set convexity + Qstar full support #

                            theorem

                            InformationTheory.Shannon.HoeffdingTradeoff.hoeffdingConstraintSet_convex

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

                            The Hoeffding constraint set is convex: intersection of the convex simplex with the convex sublevel set of the convex functional Q ↦ klDivPmf Q P₁.

                            Used by

                              Pythagoras-based minimizer bound #

                              theorem

                              InformationTheory.Shannon.HoeffdingTradeoff.hoeffding_minimizer_ge

                              source
                              {α : Type u_1} [Fintype α] [Nonempty α] (P₁ P₂ : α) (hP₁_pos : ∀ (a : α), 0 < P₁ a) (hP₂_pos : ∀ (a : α), 0 < P₂ a) (_hP₁_sum : a : α, P₁ a = 1) (hP₂_sum : a : α, P₂ a = 1) (alpha : ) (_h_alpha_nn : 0 alpha) {Qstar : α} (hQs_mem : Qstar Chernoff.hoeffdingConstraintSet P₁ alpha) (hQs_pos : ∀ (a : α), 0 < Qstar a) (hQs_min : Chernoff.hoeffdingE2 P₁ P₂ alpha = CsiszarProjection.klDivPmf Qstar P₂) {P : α} (hP_mem : P Chernoff.hoeffdingConstraintSet P₁ alpha) (hP_pos : ∀ (a : α), 0 < P a) :

                              Hoeffding Sanov minimizer: for any P ∈ K with full support and minimizer Qstar, klDivPmf Qstar P₂ ≤ klDivPmf P P₂.

                              Used by