InformationTheory.Shannon.AWGN.Basic
AWGN channel capacity #
The continuous specialization of the Shannon noisy-channel coding theorem to the
additive white Gaussian noise channel (CoverβThomas): the
power-constrained capacity has the closed form C = (1/2) log(1 + P/N).
Main definitions #
awgnChannel Nβ the AWGN channel kernel sending inputxto the law ofY = x + ZwithZ βΌ π©(0, N), i.e.gaussianReal x N.AwgnCode M n Pβ a block code with an output-power constraint and a measurable decoder, specialized to alphabetβ.awgnPowerConstraintSet Pβ the probability measures with lower-integral second moment at mostP.awgnCapacity P Nβ the supremum of the channel mutual information over inputs in the power-constraint set.
Main statements #
awgnCapacity_eqβ the power-constrained capacity equals(1/2) log(1 + P/N), as the sandwich of the Gaussian-achievable lower bound and the max-entropy upper bound.
Implementation notes #
awgnChannel Nis defined directly bytoFun x := gaussianReal x N, matching the conclusion form ofgaussianReal_conv_gaussianReal(meanmβ + mβ, variancevβ + vβ). Its kernel measurability field is supplied as the explicit hypothesisIsAwgnChannelMeasurable Nrather than constructed inline.awgnPowerConstraintSet Puses the lower integralβ«β» ofReal (xΒ²) βp β€ ofReal Prather than the Bochnerβ« xΒ² βp β€ P. The Bochner integral returns0on a non-integrable integrand, so the naive Bochner constraint would admit heavy-tailed inputs with infinite second moment and falsify the converse bound; the lower integral forces genuine integrability ofxΒ².awgnCapacity P Nis written as a baresSup: thestdSimplexform inChannelCoding/ShannonTheorem.leanassumes aFintypealphabet and does not apply to the continuous AWGN input.
The AWGN channel kernel #
InformationTheory.Shannon.AWGN.IsAwgnChannelMeasurable
sourceThe AWGN measurability hypothesis: (fun x : β => gaussianReal x N) is
measurable as a map β β Measure β. This is supplied as an explicit hypothesis so
that the kernel can be built without the (not yet available) Mathlib API for
mean-measurability of gaussianReal m v.
Equations
Instances For
Used by
InformationTheory.Shannon.AWGN.awgnChannel
sourceAWGN channel kernel: on input x : β, the output Y = x + Z with Z βΌ π©(0, N).
The kernel returns the law of Y directly as gaussianReal x N (mean shifted to x,
variance equal to the noise power N); building it requires IsAwgnChannelMeasurable N.
Equations
- InformationTheory.Shannon.AWGN.awgnChannel N h_meas = { toFun := fun (x : β) => ProbabilityTheory.gaussianReal x N, measurable' := h_meas }
Instances For
Used by
InformationTheory.Shannon.AWGN.awgnChannel_apply
sourceUsed by
InformationTheory.Shannon.AWGN.awgnChannel.instIsMarkovKernel
sourceawgnChannel N is a Markov kernel (each fibre is a probability measure).
Used by
The AWGN block code #
InformationTheory.Shannon.AWGN.AwgnCode
sourceBlock code with a power constraint and a measurable decoder, specialized to
input/output alphabet β. Adds the two fields missing from Code M n β β:
decoder_measβ required becauseMeasurableSingletonClass (Fin n β β)fails for continuous output alphabet (every singleton has Lebesgue measure 0).power_constraintβ the output-power constraint(1/n) β (encoder m i)Β² β€ Pfor every messagem.
Instances For
Used by
InformationTheory.Shannon.AWGN.AwgnCode.toCode
sourceForget the power constraint and decoder measurability to get a bare Code.
Instances For
Used by
The power-constraint set and capacity #
InformationTheory.Shannon.AWGN.awgnPowerConstraintSet
sourcePower constraint set: probability measures with a (genuine, lintegral) second
moment β€ P. Using the lower integral β«β» x, ofReal (xΒ²) βp β€ ofReal P instead of the
Bochner β« x, xΒ² βp β€ P matters: Bochner β« returns 0 on a non-p-integrable
integrand (MeasureTheory.integral_undef), so the naive Bochner constraint would admit
heavy-tailed inputs (e.g. wide Cauchy laws) with infinite second moment via the spurious
β« xΒ² βp = 0 β€ P, making the converse bound (1/2)log(1+P/N) false. The lintegral form
forces β«β» ofReal(xΒ²) < β, hence genuine integrability of xΒ², ruling out those inputs.
awgnPowerConstraintSet_mem_iff_integrable bridges back to the Bochner moment + the
integrability regularity used by the converse phases.
Equations
Instances For
Used by
InformationTheory.Shannon.AWGN.awgnPowerConstraintSet_mem_iff_integrable
sourceMembership in awgnPowerConstraintSet P (lintegral form) yields both the genuine
integrability of xΒ² and the Bochner second-moment bound β« xΒ² βp β€ P. This is the
bridge the converse phases (AWGN/CapacityConverseMaxent.lean) consume: the lintegral
constraint carries the regularity (Integrable (fun x => xΒ²) p) the Bochner form alone
cannot supply.
@audit:ok
Used by
InformationTheory.Shannon.AWGN.awgnCapacity
sourcePower-constrained channel capacity. Supremum of I(p; W) over probability
measures p in awgnPowerConstraintSet P (second moment β€ P, lintegral form).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.AWGN.gaussianInput_mem_constraintSet
sourceThe Gaussian input π©(0, P) lies in the AWGN constraint set
awgnPowerConstraintSet P.
@audit:ok
Used by
InformationTheory.Shannon.AWGN.awgnCapacity_ge_gaussian
sourceThe AWGN capacity is bounded below by (1/2) log(1 + P/N), achieved by the
Gaussian input via the closed-form mutual information hypothesis h_bridge_gauss.
@audit:superseded-by(awgn_capacity_closed_form_genuine)
Used by
InformationTheory.Shannon.AWGN.awgnCapacity_le_gaussian
sourceThe AWGN capacity is bounded above by (1/2) log(1 + P/N): every input
satisfying the second-moment constraint has mutual information at most
(1/2) log(1 + P/N) via the Gaussian max-entropy bound h_max_ent.
@audit:superseded-by(awgn_capacity_closed_form_genuine)
Used by
InformationTheory.Shannon.AWGN.awgnCapacity_eq
sourceAWGN capacity closed form (CoverβThomas): the supremum over
power-constrained inputs equals (1/2) log(1 + P/N), obtained as the sandwich of
the Gaussian-achievable lower bound and the max-entropy upper bound. The hypotheses
h_bridge_gauss, h_max_ent, h_bdd carry the closed-form mutual information and
boundedness inputs as explicit hypotheses.
@audit:superseded-by(awgn_capacity_closed_form_genuine)