In applied mathematics, the Johnson bound (named after Selmer Martin Johnson) is a limit on the size of error-correcting codes, as used in coding theory for data transmission or communications.
Definition Let C be a q-ary code of length n, i.e. a subset of 𝔽qn. Let d be the minimum distance of C, i.e.
d=minx,y∈C,x≠yd(x,y), where d(x,y) is the Hamming distance between x and y. Let Cq(n,d) be the set of all q-ary codes with length n and minimum distance d and let Cq(n,d,w) denote the set of codes in Cq(n,d) such that every element has exactly w nonzero entries. Denote by |C| the number of elements in C. Then, we define Aq(n,d) to be the largest size of a code with length n and minimum distance d:
Aq(n,d)=maxC∈Cq(n,d)|C|. Similarly, we define Aq(n,d,w) to be the largest size of a code in Cq(n,d,w):
Aq(n,d,w)=maxC∈Cq(n,d,w)|C|. Theorem 1 (Johnson bound for Aq(n,d)): If d=2t+1,
Aq(n,d)≤qn∑i=0t(ni)(q−1)i+(nt+1)(q−1)t+1−(dt)Aq(n,d,d)Aq(n,d,t+1). If d=2t+2,
Aq(n,d)≤qn∑i=0t(ni)(q−1)i+(nt+1)(q−1)t+1Aq(n,d,t+1). Theorem 2 (Johnson bound for Aq(n,d,w)): (i) If d>2w,
Aq(n,d,w)=1. (ii) If d≤2w, then define the variable e as follows. If d is even, then define e through the relation d=2e; if d is odd, define e through the relation d=2e−1. Let q∗=q−1. Then,
Aq(n,d,w)≤⌊nq∗w⌊(n−1)q∗w−1⌊⋯⌊(n−w+e)q∗e⌋⋯⌋⌋⌋ where ⌊ ⌋ is the floor function. Remark: Plugging the bound of Theorem 2 into the bound of Theorem 1 produces a numerical upper bound on Aq(n,d).
See also Elias Bassalygo bound Gilbert–Varshamov bound Griesmer bound Hamming bound Plotkin bound Singleton bound
References Johnson, Selmer Martin (April 1962). "A new upper bound for error-correcting codes". IRE Transactions on Information Theory: 203–207. Huffman, William Cary; Pless, Vera S. (2003). Fundamentals of Error-Correcting Codes. Cambridge University Press. ISBN 978-0-521-78280-7.