InformationTheory.Shannon.WynerZiv.Basic
Wyner–Ziv lossy distributed coding #
The rate-distortion function for Wyner–Ziv lossy compression with side
information Y available at the decoder only (Cover–Thomas):
R_WZ(D) = min_{p(u|x), f : U × Y → X̂} [ I(X ; U) − I(Y ; U) ]
with the minimization subject to the Markov chain U − X − Y and the distortion
constraint 𝔼 d(X, f(U, Y)) ≤ D.
This file defines the WynerZivCode structure, the joint pmf marginals, the
WynerZivConstraint feasible set, the wynerZivRatePmf rate function, the
slice-attainment lemma, and the rate-equality wrapper wyner_ziv_tendsto. The
achievability and converse legs are developed in WynerZiv/Achievability.lean and
WynerZiv/Converse.lean.
Main definitions #
WynerZivCode— a Wyner–Ziv block code (X-side encoder, side-information decoder).wzMarginalXY,wzMarginalXU,wzMarginalYU— the marginals of a joint pmf.WynerZivConstraint— the feasible(q, f)pairs.wynerZivRatePmf— the rate functionR_WZ(D).
Main statements #
continuous_wzObjective— continuity of the objectiveI(X;U) − I(Y;U).wynerZivRatePmf_attained_slice— the objective attains its minimum on a decoder slice.wyner_ziv_tendsto— the rate-equality form from two-sided bounds.
Implementation notes #
The decoder f : U × β → γ is carried as an external second component, so the
constraint set lives on (α × β × U → ℝ) × (U × β → γ). The auxiliary alphabet
U is taken as an argument rather than constructed from a cardinality bound.
Wyner–Ziv block code #
InformationTheory.Shannon.WynerZivCode
sourceA Wyner–Ziv block code of length n with M codewords. Encoder is
X-side only; decoder takes (codeword, side info Y^n) and reproduces an
estimate of X^n over the reconstruction alphabet γ.
Instances For
Used by
InformationTheory.Shannon.WynerZivCode.expectedBlockDistortion
sourceExpected block distortion of a Wyner–Ziv code under a joint source measure
P_XY on α × β. The source is i.i.d., so (X^n, Y^n) is distributed
according to Measure.pi (fun _ => P_XY) on (α × β)^n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.WynerZivCode.expectedBlockDistortion_nonneg
sourceExpected block distortion is non-negative (the integrand is a non-negative real-valued function).
Used by
pmf form: 3-variable marginals and mutual informations #
InformationTheory.Shannon.wzMarginalXY
source(α, β)-marginal of a joint pmf q : α × β × U → ℝ.
Instances For
Used by
InformationTheory.Shannon.wzMarginalXU
source(α, U)-marginal of a joint pmf q : α × β × U → ℝ.
Instances For
Used by
InformationTheory.Shannon.wzMarginalYU
source(β, U)-marginal of a joint pmf q : α × β × U → ℝ.
Instances For
Used by
InformationTheory.Shannon.wzMutualInfoXU
source3-variable mutual information I(X ; U) for a joint pmf q : α × β × U → ℝ,
defined as mutualInfoPmf (wzMarginalXU q).
Equations
Instances For
Used by
InformationTheory.Shannon.wzMutualInfoYU
source3-variable mutual information I(Y ; U) for a joint pmf q : α × β × U → ℝ,
defined as mutualInfoPmf (wzMarginalYU q).
Equations
Instances For
Used by
InformationTheory.Shannon.continuous_wzMarginalXY
sourcewzMarginalXY is continuous in q (finite sum of evaluations).
Used by
InformationTheory.Shannon.continuous_wzMarginalXU
sourcewzMarginalXU is continuous in q.
Used by
InformationTheory.Shannon.continuous_wzMarginalYU
sourcewzMarginalYU is continuous in q.
Used by
InformationTheory.Shannon.continuous_wzMutualInfoXU
sourcewzMutualInfoXU is continuous in q.
Used by
InformationTheory.Shannon.continuous_wzMutualInfoYU
sourcewzMutualInfoYU is continuous in q.
Used by
InformationTheory.Shannon.continuous_wzObjective
sourceThe Wyner–Ziv objective I(X ; U) − I(Y ; U) is continuous in the joint pmf.
Used by
Wyner–Ziv constraint set #
The decoder f : U × β → γ is carried as an external second component, so
the constraint set lives on the product (α × β × U → ℝ) × (U × β → γ). The
Markov constraint U − X − Y is encoded in cross-product form, well-defined
even where marginals vanish (inventory).
InformationTheory.Shannon.wzExpectedDistortion
sourceDistortion functional in pmf form for Wyner–Ziv:
∑_{x,y,u} q(x,y,u) · d(x, f(u,y)).
Equations
Instances For
Used by
InformationTheory.Shannon.wzMarkovCrossEq
sourceMarkov-chain cross-product form
q(x,y,u) · q_X(x,u') = q(x,y,u') · q_X(x,u) where q_X(x,u) := ∑_y q(x,y,u).
Encoded as a real-valued affine condition (well-defined where q_X vanishes —
both sides become 0).
Equations
Instances For
Used by
InformationTheory.Shannon.WynerZivConstraint
sourceWyner–Ziv constraint set — feasible (q, f) pairs satisfying:
q ∈ stdSimplex ℝ (α × β × U)— non-negative pmf with total mass 1.wzMarginalXY q = P_XY—(X, Y)marginal matches the source.wzMarkovCrossEq q— Markov chainU − X − Y.wzExpectedDistortion d q f ≤ D— expected distortion within budget.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.mem_WynerZivConstraint_iff
sourceMembership unfold for WynerZivConstraint.
Used by
Wyner–Ziv rate function #
InformationTheory.Shannon.wynerZivRatePmf
sourceThe Wyner–Ziv rate function (pmf form),
R_WZ(D) := sInf { I(X;U) − I(Y;U) | (q, f) ∈ WynerZivConstraint U P_XY d D },
with the auxiliary alphabet U taken as an argument.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.wynerZivRatePmf_le_of_feasible
sourceUpper bound from any feasible point: if (q, f) ∈ WynerZivConstraint
and the image is bounded below (which it always is on the simplex), then
wynerZivRatePmf ≤ I(X;U)(q) − I(Y;U)(q).
Used by
InformationTheory.Shannon.wynerZivRatePmf_attained_slice
sourceAttainment (slice form) — fix a decoder f₀ : U × β → γ and assume
the slice K f₀ := {q | (q, f₀) ∈ WynerZivConstraint U P_XY d D} is
non-empty. Then there exists a qStar ∈ K f₀ minimizing the Wyner–Ziv
objective I(X;U) − I(Y;U) over K f₀. This is the structural ingredient
that the achievability/converse proofs rely on; the full joint attainment
over (q, f) requires further hypotheses on (γ, U, β) and is deferred.
Used by
InformationTheory.Shannon.wynerZivRatePmf_image_bddBelow_of_objective
sourceThe image of the Wyner–Ziv constraint set under the objective is bounded
below by any caller-supplied lower bound B (the canonical bound is
-Real.log (Fintype.card U), since I(X;U) ≥ 0 and
I(Y;U) ≤ Real.log (Fintype.card U) on a finite alphabet).
Used by
Rate-equality wrapper #
InformationTheory.Shannon.wyner_ziv_tendsto
sourceWyner–Ziv theorem (rate-equality form): from achievability
R ≥ wynerZivRatePmf(D) and converse R ≤ wynerZivRatePmf(D),
R = wynerZivRatePmf(D). The two-sided hypotheses are discharged in
WynerZiv/Achievability.lean and WynerZiv/Converse.lean.