Binary block code Created 2026-09-24 Updated 2026-09-29
A binary code is a set of distinct words in whose minimum pairwise Hamming distance is . Here is the block length and is the number of codewords.
If two nonempty set families on coordinates have every cross-intersection greater than an integer , their density product obeys the displayed bound. Complementing the second set family separates it from the first by Hamming distance greater than . Harper inequality bounds the first set family's radius- neighbourhood from below. If , disjointness yields . The binary entropy function tail estimate bounds these two factors by Gaussian tails; their deficits from the middle rank sum to at least , proving the claim.
For , the number of binary words within Hamming distance of a fixed word is at most , with the binary entropy function in natural logarithms. In , each summand weight for is at least . Also , so . These two bounds give the approximate-recovery denominator in the list-decoding Fano inequality.
Hamming ball 2026-10-03
The Hamming ball of radius about a word is the set of words whose Hamming distance from is at most .
Hamming cube Created 2026-10-06 Updated 2026-10-07
The Hamming cube is , or equivalently , equipped with Hamming distance. Under its uniform probability measure, the distance from a fixed vertex has the binomial distribution with parameters . This converts geometric ball sizes into probability tails.
This Hamming distance on partitions identifies a group with its complement because exchanging the two group names does not change the partition. Complementation is an isometry of the ordinary Hamming distance, so minimizing over this two-element group action gives a quotient metric and preserves the triangle inequality. Negating a zero-one indicator is not complementation; with membership vectors, it is.
Minimum distance of a code Created 2026-10-03 Updated 2026-10-06
The minimum distance of a code is the least Hamming distance between distinct codewords. For a linear code, translation invariance makes this equal to the least Hamming weight of a nonzero codeword.
On binary words of length , normalized Hamming distance is the fraction of differing coordinates. Unlike unscaled Hamming distance, it makes the Hamming cubes a Lévy family under uniform probability measures.