Deterministic decoding ties under radial noise #
A uniform message is encoded and corrupted by independent additive binary noise. If the noise
mass depends only on its Hamming weight, every nearest message has the same joint mass with a
fixed received word. Consequently any deterministic nearest decoder succeeds with probability
1 / |T(y)|, conditional on receiving y and the sent message belonging to the tie set T(y).
The joint-mass identity is valid even when that conditioning event has probability zero.
Messages are indexed by a finite type M. For a finite code C, take M = C and the subtype
inclusion as encoder. More generally an injective encoder identifies uniform messages with
uniform codewords; injectivity is not needed for the message-count formulation proved here.
This is the deterministic part of HQC v5.1, §6.1.5, Lemma 6.2 (p. 60). The radial-noise premise is explicit. No property of actual HQC noise, Reed–Solomon block independence, concrete decoder, decoding-failure rate or cryptographic security is established here.
Main definitions #
Cslib.BitString.additiveNoiseJoint: the joint law of received word and transmitted message.Cslib.BitString.IsRadial: equal Hamming weights have equal noise masses.
Main results #
Cslib.BitString.nearestMessages_card_mul_joint: the null-event-safe tie identity.Cslib.BitString.nearestMessages_conditional_success: success at a nonnull observation.Cslib.BitString.twoWayTie_failure_eq_half: exact half-error probability at each noise weight.
References #
- P. Gaborit et al., Hamming Quasi-Cyclic (HQC), version 5.1, §6.1.5, p. 60.
Under a uniform prior, radial noise assigns equal joint masses to nearest messages.
The nearest-message event at a fixed received word is the sum of its joint masses.
The null-event-safe tie law. The number of nearest messages times the joint success
mass is the probability of receiving y with the transmitted message among the nearest ones.
In particular this identity does not divide by a possibly zero event probability.
At a positive-probability tie event, the conditional success probability is the reciprocal
of the number of nearest messages. The numerator is the joint event Y = y and D(y) = m;
because the decoder returns a nearest message, success implies membership in the tie set.
Two-way ties cause exactly half errors at each noise weight. The noise vector is
recovered from the joint outcome as E m + y. No positive-mass premise is needed.