Skip to content
Surf Wiki
Save to docs
general/error-detection-and-correction

From Surf Wiki (app.surf) — the open knowledge base

Chien search


In abstract algebra, the Chien search, named after Robert Tienwen Chien, is a fast algorithm for determining roots of polynomials defined over a finite field. Chien search is commonly used to find the roots of error-locator polynomials encountered in decoding Reed-Solomon codes and BCH codes.

Algorithm

The problem is to find the roots of the polynomial Λ(x) (over the finite field GF(q)): \Lambda(x) = \lambda_0 + \lambda_1 x + \lambda_2 x^2 + \cdots + \lambda_t x^t

The roots may be found using brute force: there are a finite number of x, so the polynomial can be evaluated for each element x**i. If the polynomial evaluates to zero, then that element is a root.

For the trivial case , only the coefficient λ0 need be tested for zero. Below, the only concern will be for non-zero x**i.i, so decoder is not interested in the x=0 case. --

A straightforward evaluation of the polynomial involves O(t2) general multiplications and O(t) additions. A more efficient scheme would use Horner's method for O(t) general multiplications and O(t) additions. Both of these approaches may evaluate the elements of the finite field in any order.

Chien search improves upon the above by selecting a specific order for the non-zero elements. In particular, the finite field has a (constant) generator element α. Chien tests the elements in the generator's order α1, α2, α3, ..... Consequently, Chien search needs only O(t) multiplications by constants and O(t) additions. The multiplications by constants are less complex than general multiplications.

The Chien search is based on two observations:

  • Each non-zero \beta may be expressed as \alpha^{i_\beta} for some i_\beta, where \alpha is a primitive element of \mathrm{GF}(q), i_\beta is the power number of primitive element \alpha. Thus the powers \alpha^i for 0 \leq i cover the entire field (excluding the zero element).
  • The following relationship exists: \begin{array}{lllllllllll} \Lambda(\alpha^i) &=& \lambda_0 &+& \lambda_1 (\alpha^i) &+& \lambda_2 (\alpha^i)^2 &+& \cdots &+& \lambda_t (\alpha^i)^t \ &\triangleq& \gamma_{0,i} &+& \gamma_{1,i} &+& \gamma_{2,i} &+& \cdots &+& \gamma_{t,i} \ \Lambda(\alpha^{i+1}) &=& \lambda_0 &+& \lambda_1 (\alpha^{i+1}) &+& \lambda_2 (\alpha^{i+1})^2 &+& \cdots &+& \lambda_t (\alpha^{i+1})^t \ &=& \lambda_0 &+& \lambda_1 (\alpha^i),\alpha &+& \lambda_2 (\alpha^i)^2,\alpha^2 &+& \cdots &+& \lambda_t (\alpha^i)^t,\alpha^t \ &=& \gamma_{0,i} &+& \gamma_{1,i},\alpha &+& \gamma_{2,i},\alpha^2 &+& \cdots &+& \gamma_{t,i},\alpha^t \ &\triangleq& \gamma_{0,i+1} &+& \gamma_{1,i+1} &+& \gamma_{2,i+1} &+& \cdots &+& \gamma_{t,i+1} \end{array}

In other words, we may define each \Lambda(\alpha^i) as the sum of a set of terms {\gamma_{j,i} \mid 0\leq j \leq t}, from which the next set of coefficients may be derived thus: \gamma_{j,i+1} = \gamma_{j,i},\alpha^j

In this way, we may start at i = 0 with \gamma_{j,0} = \lambda_j, and iterate through each value of i up to (q-1). If at any stage the resultant summation is zero, i.e. \sum_{j=0}^t \gamma_{j,i} = 0, then \Lambda(\alpha^i) = 0 also, so \alpha^i is a root. In this way, we check every element in the field.

When implemented in hardware, this approach significantly reduces the complexity, as all multiplications consist of one variable and one constant, rather than two variables as in the brute-force approach.

References

  • {{Citation
  • {{Citation
  • {{Citation |access-date= April 21, 2010 |archive-date=2014-06-30 |archive-url=https://web.archive.org/web/20140630172526/http://web.stanford.edu/class/ee387/handouts/notes7.pdf
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Chien search — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report