Define the following distance function \mathsf{d}_A(\mathbf{x}, \mathbf{y}) on the words \mathbf{x}, \mathbf{y} \in \{0,1\}^n of length
n transmitted via a Z-channel :\mathsf{d}_A(\mathbf{x}, \mathbf{y}) \stackrel{\vartriangle}{=} \max\left\{ \big|\{i \mid x_i = 0, y_i = 1\}\big| , \big|\{i \mid x_i = 1, y_i = 0\}\big| \right\}. Define the sphere V_t(\mathbf{x}) of radius
t around a word \mathbf{x} \in \{0,1\}^n of length
n as the set of all the words at distance
t or less from \mathbf{x}, in other words, :V_t(\mathbf{x}) = \{\mathbf{y} \in \{0, 1\}^n \mid \mathsf{d}_A(\mathbf{x}, \mathbf{y}) \leq t\}. A
code \mathcal{C} of length
n is said to be
t-asymmetric-error-correcting if for any two codewords \mathbf{c}\ne \mathbf{c}' \in \{0,1\}^n, one has V_t(\mathbf{c}) \cap V_t(\mathbf{c}') = \emptyset. Denote by M(n,t) the maximum number of codewords in a
t-asymmetric-error-correcting code of length
n.
The Varshamov bound. For
n≥1 and
t≥1, :M(n,t) \leq \frac{2^{n+1}}{\sum_{j = 0}^t{\left( \binom{\lfloor n/2\rfloor}{j}+\binom{\lceil n/2\rceil}{j}\right)}}.
The constant-weight code bound. For
n > 2t ≥ 2, let the sequence
B0, B1, ..., Bn-2t-1 be defined as :B_0 = 2, \quad B_i = \min_{0 \leq j for i > 0. Then M(n,t) \leq B_{n-2t-1}. == Notes ==