InformationTheory.Shannon.RateDistortion.AchievabilityJointTypicalEncoder
Rate-distortion achievability — joint-typical lossy encoder + distortion typical set #
Two pieces of infrastructure for the lossy compression chain.
Joint-typical lossy encoder #
Symmetric counterpart to ChannelCodingAchievability.jointTypicalDecoder on the encoder
side of the lossy compression chain:
jointTypicalLossyEncoder— given a codebookc : Codebook M n βand a source wordx : Fin n → α, returns some (Classical.choose) message indexmwith(x, c m) ∈ jointlyTypicalSet μ Xs Ys n ε. Falls back to⟨0, hM⟩if no suchmexists.lossyCodeOfCodebook— bundles the joint-typical encoder + the codebook itself as decoder into aLossyCode M n α β.jointTypicalLossyEncoder_spec_of_exists/_of_not_exists—dif_pos/dif_negcharacterisations of the two branches.
Note: unlike the channel-coding decoder side (jointTypicalDecoder), the lossy encoder
does not require uniqueness of the typical match — any one is fine because the
encoder's job is only to commit to a single index. Hence we use Classical.choose
of ∃ m, _ rather than Classical.choose of ∃! m, _.
Distortion typical set #
The intersection of jointlyTypicalSet with the empirical-distortion constraint
blockDistortion d n x y ≤ 𝔼[d(X_0, Y_0)] + δ:
expectedJointDistortion μ X Y d— Bochner integral ofd(X, Y)underμ.distortionTypicalSet μ Xs Ys d n ε δ— set of(x, y)jointly typical and whose empirical block distortion is withinδof the joint expectation.- basic structure lemmas: subset to
jointlyTypicalSet, membership iff,MeasurableSet, finiteness.
References #
- T. M. Cover and J. A. Thomas, Elements of Information Theory (2nd ed.), Wiley, 2006.
InformationTheory.Shannon.jointTypicalLossyEncoder
sourceJoint-typical lossy encoder. Given a codebook c : Codebook M n β,
returns the first (any) message index m whose codeword is jointly typical with the
source word x. Falls back to ⟨0, hM⟩ if no such m exists.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.lossyCodeOfCodebook
sourceBundle a codebook + joint-typical lossy encoder into a LossyCode. The codebook
itself serves as the decoder.
Equations
- InformationTheory.Shannon.lossyCodeOfCodebook μ Xs Ys hM ε c = { encoder := InformationTheory.Shannon.jointTypicalLossyEncoder μ Xs Ys hM ε c, decoder := c }
Instances For
Used by
Distortion typical set #
InformationTheory.Shannon.expectedJointDistortion
sourceExpected per-symbol distortion 𝔼_μ[d(X, Y)] as a real Bochner integral. The
bound used in distortionTypicalSet references this quantity at i = 0; under
stationary i.i.d. hypotheses it is independent of i.
Equations
- InformationTheory.Shannon.expectedJointDistortion μ X Y d = ∫ (ω : Ω), ↑(d (X ω) (Y ω)) ∂μ
Instances For
Used by
InformationTheory.Shannon.distortionTypicalSet
sourceDistortion typical set. Pairs (x, y) ∈ (Fin n → α) × (Fin n → β) that are
both (a) jointly typical in the entropy sense (jointlyTypicalSet μ Xs Ys n ε) and
(b) whose empirical block distortion is within δ of the joint expectation
𝔼[d(X_0, Y_0)].
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.blockDistortion_le_of_mem_distortionTypicalSet
sourceOn distortionTypicalSet, the empirical block distortion is bounded
by the joint expectation plus δ.
Used by
Lower-bound joint-AEP independent probability #
The lower-bound counterpart to ChannelCoding.jointlyTypicalSet_indep_prob_le
for the single-codeword typical-match probability (Cover–Thomas).
The input hypothesis is in joint-law form μ.real {ω | (jX, jY) ∈ JTS} ≥ 1 - η,
as supplied by jointlyTypicalSet_prob_tendsto_one.
InformationTheory.Shannon.jointlyTypicalSet_indep_prob_ge
sourceAnti-direction (lower-bound) joint-AEP indep probability.
The probability under the product measure μX^n × μY^n that (X̃, Ỹ) lies in
the jointly typical set is bounded below by (1 - η) · exp(-n · (I + 3ε)).
See also jointlyTypicalSet_indep_prob_le.