InformationTheory

InformationTheory.Shannon.RateDistortion.AchievabilityStrongTypicality.FailureTendstoZero

source

Rate-distortion achievability (strong-typicality variant) — failure probability tends to zero #

The main probabilistic content codebookAvgFailureStrong_tendsto_zero. Carries the codebook-averaged random-coding failure probability to zero; the final assembly lives in AchievabilityStrongTypicality.lean.

theorem

InformationTheory.Shannon.measureReal_prod_eq_measureReal_prod_swap_image

source
{γ₁ : Type u_4} {γ₂ : Type u_5} [MeasurableSpace γ₁] [MeasurableSpace γ₂] (μ : MeasureTheory.Measure γ₁) (ν : MeasureTheory.Measure γ₂) [MeasureTheory.SFinite μ] [MeasureTheory.SFinite ν] {S : Set (γ₁ × γ₂)} (hS : MeasurableSet S) :
(μ.prod ν).real S = (ν.prod μ).real (Prod.swap '' S)
Used by
    theorem

    InformationTheory.Shannon.sum_weighted_le_const_add_sum_weighted_of_le_add

    source
    {ι : Type u_4} [Fintype ι] (w f g : ι) (A : ) (hw_nonneg : ∀ (i : ι), 0 w i) (hw_sum : i : ι, w i = 1) (h_le : ∀ (i : ι), f i A + g i) :
    i : ι, w i * f i A + i : ι, w i * g i
    Used by
      theorem

      InformationTheory.Shannon.measureReal_le_add_measureReal_of_subset_union

      source
      {γ : Type u_4} [MeasurableSpace γ] (μ : MeasureTheory.Measure γ) [MeasureTheory.IsFiniteMeasure μ] {S A B : Set γ} (hS : S A B) :
      μ.real S μ.real A + μ.real B
      Used by
        theorem

        InformationTheory.Shannon.measureReal_prod_eq_sum_measureReal_singleton_mul_measureReal_section

        source
        {ι : Type u_4} {γ : Type u_5} [MeasurableSpace ι] [Fintype ι] [MeasurableSingletonClass ι] [MeasurableSpace γ] (μ : MeasureTheory.Measure ι) (ν : MeasureTheory.Measure γ) [MeasureTheory.IsFiniteMeasure μ] [MeasureTheory.IsFiniteMeasure ν] {R : Set (ι × γ)} (hR : MeasurableSet R) :
        (μ.prod ν).real R = c : ι, μ.real {c} * ν.real (Prod.mk c ⁻¹' R)
        Used by
          theorem

          InformationTheory.Shannon.measureReal_prod_le_of_measure_section_le_ofReal

          source
          {γ₁ : Type u_4} {γ₂ : Type u_5} [MeasurableSpace γ₁] [MeasurableSpace γ₂] (μ : MeasureTheory.Measure γ₁) (ν : MeasureTheory.Measure γ₂) [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.SFinite ν] {R : Set (γ₁ × γ₂)} (hR : MeasurableSet R) (b : ) (hb : 0 b) (h_section : ∀ (x : γ₁), ν (Prod.mk x ⁻¹' R) ENNReal.ofReal b) :
          (μ.prod ν).real R b
          Used by
            theorem

            InformationTheory.Shannon.tendsto_measureReal_compl_zero_of_tendsto_measure_one

            source
            {Ω : Type u_4} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (E : Set Ω) (hE_meas : ∀ (n : ), MeasurableSet (E n)) (hE : Filter.Tendsto (fun (n : ) => μ (E n)) Filter.atTop (nhds 1)) :
            Filter.Tendsto (fun (n : ) => (μ (E n)).toReal) Filter.atTop (nhds 0)
            Used by
              theorem

              InformationTheory.Shannon.weightedSum_section_pred_le_of_section_measure_le

              source
              {κ : Type u_4} {ι : Type u_5} [MeasurableSpace κ] [Fintype κ] [MeasurableSingletonClass κ] [MeasurableSpace ι] (W : MeasureTheory.Measure κ) [MeasureTheory.IsProbabilityMeasure W] (Q : MeasureTheory.Measure ι) [MeasureTheory.IsProbabilityMeasure Q] (Pred : κιProp) (hPred_meas_x : ∀ (c : κ), MeasurableSet {x : ι | Pred c x}) (hPred_meas_prod : MeasurableSet {p : κ × ι | Pred p.1 p.2}) (b : ) (hb : 0 b) (h_section_bound : ∀ (x : ι), W {c : κ | Pred c x} ENNReal.ofReal b) :
              c : κ, W.real {c} * Q.real {x : ι | Pred c x} b
              Used by
                theorem

                InformationTheory.Shannon.piMeasure_section_no_match_le_of_typical

                source
                {ιx : Type u_4} {M : Type u_5} [MeasurableSpace ιx] [Fintype M] {γ : Type u_6} [MeasurableSpace γ] [MeasurableSingletonClass γ] (p : MeasureTheory.Measure γ) [MeasureTheory.IsProbabilityMeasure p] (Match : (Mγ)ιxProp) [(c : Mγ) → DecidablePred fun (x : ιx) => Match c x] (T_X : Set ιx) (b : ) (hb : 0 b) (h_typical : xT_X, (MeasureTheory.Measure.pi fun (x : M) => p).real {c : Mγ | ¬Match c x} b) (x : ιx) :
                (MeasureTheory.Measure.pi fun (x : M) => p) {c : Mγ | x T_X ¬Match c x} ENNReal.ofReal b
                Used by
                  theorem

                  InformationTheory.Shannon.encoderFailure_subset_notTypical_union_noMatch

                  source
                  {ιx : Type u_4} {ιy : Type u_5} (T_X : Set ιx) (DTS JSTS : Set (ιx × ιy)) {M : Type u_6} (c : Mιy) (enc : ιxM) (hJTS_subset : xT_X, ∀ (y : ιy), (x, y) JSTS(x, y) DTS) (hEnc_spec : ∀ (x : ιx), (∃ (m : M), (x, c m) JSTS)(x, c (enc x)) JSTS) :
                  {x : ιx | (x, c (enc x))DTS} {x : ιx | xT_X} {x : ιx | x T_X ¬∃ (m : M), (x, c m) JSTS}
                  Used by
                    theorem

                    InformationTheory.Shannon.tendsto_measureReal_map_notMem_zero_of_tendsto_prob_one

                    source
                    {Ω : Type u_4} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {ιx : Type u_5} [(n : ) → MeasurableSpace (ιx n)] (jr : (n : ) → Ωιx n) (hjr : ∀ (n : ), Measurable (jr n)) (S : (n : ) → Set (ιx n)) (hS : ∀ (n : ), MeasurableSet (S n)) (Pn : (n : ) → MeasureTheory.Measure (ιx n)) (hPn : ∀ (n : ), MeasureTheory.Measure.map (jr n) μ = Pn n) (h_aep : Filter.Tendsto (fun (n : ) => μ {ω : Ω | jr n ω S n}) Filter.atTop (nhds 1)) :
                    Filter.Tendsto (fun (n : ) => (Pn n).real {x : ιx n | xS n}) Filter.atTop (nhds 0)
                    Used by
                      theorem

                      InformationTheory.Shannon.weightedSum_fail_le_const_add_of_per_index_and_sum_bound

                      source
                      {κ : Type u_4} [MeasurableSpace κ] [Fintype κ] [MeasurableSingletonClass κ] (W : MeasureTheory.Measure κ) [MeasureTheory.IsProbabilityMeasure W] (fail g : κ) (A bound : ) (h_per : ∀ (c : κ), fail c A + g c) (h_sum_g : c : κ, W.real {c} * g c bound) :
                      c : κ, W.real {c} * fail c A + bound
                      Used by
                        theorem

                        InformationTheory.Shannon.measureReal_encoderFailure_le_notTypical_add_noMatch

                        source
                        {ιx : Type u_4} {ιy : Type u_5} [MeasurableSpace ιx] (Q : MeasureTheory.Measure ιx) [MeasureTheory.IsFiniteMeasure Q] (T_X : Set ιx) (DTS JSTS : Set (ιx × ιy)) {M : Type u_6} (c : Mιy) (enc : ιxM) (hJTS_subset : xT_X, ∀ (y : ιy), (x, y) JSTS(x, y) DTS) (hEnc_spec : ∀ (x : ιx), (∃ (m : M), (x, c m) JSTS)(x, c (enc x)) JSTS) :
                        Q.real {x : ιx | (x, c (enc x))DTS} Q.real {x : ιx | xT_X} + Q.real {x : ιx | x T_X ¬∃ (m : M), (x, c m) JSTS}
                        Used by
                          theorem

                          InformationTheory.Shannon.weightedSum_noMatch_le_of_typical

                          source
                          {ιx : Type u_4} {M : Type u_5} [MeasurableSpace ιx] [Fintype M] [DecidableEq M] [MeasurableSpace M] {γ : Type u_6} [Fintype γ] [MeasurableSpace γ] [MeasurableSingletonClass γ] (p : MeasureTheory.Measure γ) [MeasureTheory.IsProbabilityMeasure p] (Q : MeasureTheory.Measure ιx) [MeasureTheory.IsProbabilityMeasure Q] (T_X : Set ιx) (Match : (Mγ)ιxProp) [(c : Mγ) → DecidablePred fun (x : ιx) => Match c x] (hMeas_x : ∀ (c : Mγ), MeasurableSet {x : ιx | x T_X ¬Match c x}) (hMeas_prod : MeasurableSet {q : (Mγ) × ιx | q.2 T_X ¬Match q.1 q.2}) (b : ) (hb : 0 b) (h_typical : xT_X, (MeasureTheory.Measure.pi fun (x : M) => p).real {c : Mγ | ¬Match c x} b) :
                          c : Mγ, (MeasureTheory.Measure.pi fun (x : M) => p).real {c} * Q.real {x : ιx | x T_X ¬Match c x} b
                          Used by
                            theorem

                            InformationTheory.Shannon.encoder_strong_failure_prob_le_rdAmbient

                            source
                            {α : Type u_2} {β : Type u_3} [MeasurableSpace α] [MeasurableSpace β] [Fintype α] [DecidableEq α] [Nonempty α] [MeasurableSingletonClass α] [Fintype β] [DecidableEq β] [Nonempty β] [MeasurableSingletonClass β] (qStar : α × β) (hqStar_simp : qStar stdSimplex (α × β)) (hqStar_pos : ∀ (p : α × β), 0 < qStar p) {ε_join ε_X δ_kl : } (hε_join_pos : 0 < ε_join) (hε_X_nn : 0 ε_X) (hε_X_lt : ε_X < ε_join) (hδ_kl_pos : 0 < δ_kl) (qZ_min : ) (hqZ_min_pos : 0 < qZ_min) (hqZ_min_le : ∀ (p : α × β), qZ_min (ChannelCoding.pmfToMeasure qStar).real {p}) (hδ_kl_dominates : 8 * (Fintype.card α) * (Fintype.card β) * ε_X ^ 2 δ_kl * qZ_min) :
                            Used by
                              theorem

                              InformationTheory.Shannon.weightedSum_encoderFailure_le_notTypical_add_bound

                              source
                              {ιx : Type u_4} {M : Type u_5} [MeasurableSpace ιx] [Fintype M] [DecidableEq M] [MeasurableSpace M] {γ : Type u_6} [Fintype γ] [MeasurableSpace γ] [MeasurableSingletonClass γ] (Q : MeasureTheory.Measure ιx) [MeasureTheory.IsProbabilityMeasure Q] (p : MeasureTheory.Measure γ) [MeasureTheory.IsProbabilityMeasure p] (T_X : Set ιx) (DTS JSTS : Set (ιx × γ)) (enc : (Mγ)ιxM) (b : ) (hb : 0 b) (hMeas_x : ∀ (c : Mγ), MeasurableSet {x : ιx | x T_X ¬∃ (m : M), (x, c m) JSTS}) (hMeas_prod : MeasurableSet {q : (Mγ) × ιx | q.2 T_X ¬∃ (m : M), (q.2, q.1 m) JSTS}) (hJTS_subset : xT_X, ∀ (y : γ), (x, y) JSTS(x, y) DTS) (hEnc_spec : ∀ (c : Mγ) (x : ιx), (∃ (m : M), (x, c m) JSTS)(x, c (enc c x)) JSTS) (h_typical : xT_X, (MeasureTheory.Measure.pi fun (x : M) => p).real {c : Mγ | ¬∃ (m : M), (x, c m) JSTS} b) :
                              c : Mγ, (MeasureTheory.Measure.pi fun (x : M) => p).real {c} * Q.real {x : ιx | (x, c (enc c x))DTS} Q.real {x : ιx | xT_X} + b
                              Used by
                                theorem

                                InformationTheory.Shannon.exp_neg_ceilExp_mul_tendsto_zero_of_lt

                                source
                                (target : ) (R θ : ) (hθ_lt : θ < R) (h_target_eq : ∀ (n : ), target n = Real.exp (-n * θ)) :
                                Filter.Tendsto (fun (n : ) => Real.exp (-(Real.exp (n * R)⌉₊ * target n))) Filter.atTop (nhds 0)
                                Used by

                                  Main probabilistic content: codebookAvgFailureStrong → 0 #

                                  theorem

                                  InformationTheory.Shannon.codebookAvgFailureStrong_tendsto_zero

                                  source
                                  {α : Type u_2} {β : Type u_3} [MeasurableSpace α] [MeasurableSpace β] [Fintype α] [DecidableEq α] [Nonempty α] [MeasurableSingletonClass α] [Fintype β] [DecidableEq β] [Nonempty β] [MeasurableSingletonClass β] (qStar : α × β) (hqStar_simp : qStar stdSimplex (α × β)) (hqStar_pos : ∀ (p : α × β), 0 < qStar p) (d : DistortionFn α β) {R : } (hI_lt_R : mutualInfoPmf qStar < R) (ε_dist δ_typ : ) (hε_dist_pos : 0 < ε_dist) (hδ_typ_nn : 0 δ_typ) (ε_X ε_join δ_kl : ) (hε_X_pos : 0 < ε_X) (hε_join_pos : 0 < ε_join) (hδ_kl_pos : 0 < δ_kl) (hε_X_lt_ε_join : ε_X < ε_join) (h_rate_gap : mutualInfoPmf qStar + ((Fintype.card α) * ε_X * logSumAbs (rdAmbient qStar) ChannelCoding.iidYs + ε_X * logSumAbs (rdAmbient qStar) ChannelCoding.iidXs + ε_X * logSumAbs (rdAmbient qStar) (ChannelCoding.jointSequence ChannelCoding.iidXs ChannelCoding.iidYs) + δ_kl) < R) (h_dist_slack : ε_join * p : α × β, (d p.1 p.2) δ_typ) (h_jts_subset_dts : ∀ {n : }, 0 < n∀ (x : Fin nα) (y : Fin nβ), (x, y) jointStronglyTypicalSet (rdAmbient qStar) ChannelCoding.iidXs ChannelCoding.iidYs n ε_join(x, y) distortionTypicalSet (rdAmbient qStar) ChannelCoding.iidXs ChannelCoding.iidYs d n ε_dist δ_typ) (qZ_min : ) (hqZ_min_pos : 0 < qZ_min) (hqZ_min_le : ∀ (p : α × β), qZ_min (ChannelCoding.pmfToMeasure qStar).real {p}) (hδ_kl_dominates : 8 * (Fintype.card α) * (Fintype.card β) * ε_X ^ 2 δ_kl * qZ_min) :
                                  Filter.Tendsto (fun (n : ) => codebookAvgFailureStrong qStar d R n ε_join ε_dist δ_typ) Filter.atTop (nhds 0)

                                  Main tendsto_zero for the strong-encoder failure sequence.

                                  Hypotheses:

                                  • hqStar_pos : ∀ p, 0 < qStar p — strict positivity of qStar on α × β, required by conditionalStronglyTypicalSlice_mass_ge.
                                  • Slack parameters ε_X, ε_join, δ_kl and the slack-budget hypotheses h_rate_gap (strict rate over mutualInfoPmf + slacks) and the bridge slacks for jointStronglyTypicalSet ⊆ distortionTypicalSet.

                                  The proof is a conditional method-of-types AEP combined with joint strong typicality.

                                  Used by