Coding Theory 08: Duursma Majority Voting
Coding theory / 08
Duursma majority voting
Duursma improves SV decoding by filling unknown syndromes through a structured majority vote.
SV decoding may fail before the theoretical half-distance radius because the required product syndromes are not all known. Duursma keeps a syndrome table and infers missing entries. In the notation of Chapter 3.3, the target range is \(\operatorname{wt}(e)\le t\) with
\[2t\le \deg G-2g+1,\]which is the designed half-distance condition for \(C_\Omega(D,G)\). If \(t=0\), the received word is already the transmitted word. For the table construction below assume \(t\ge1\) and \(g\ge1\) and fix a rational point \(Q\) outside the support of \(D\). For a divisor \(H\) and a nonzero function \(\Theta\), the \(H\)-order with respect to \(Q\) is the smallest integer \(m\) such that
\[\Theta\in L(H+(m-\deg H)Q).\]If no such integer exists, the order is defined as \(+\infty\). This order indexes bases and organizes the syndrome table.
Example 1: order on \(\mathbb P^1\)
With \(Q=P_\infty\) and \(H=0\), the \(H\)-order of \(x^m\) is \(m\). Duursma order is therefore an extension of ordinary polynomial degree.
Example 2: elliptic pole-order gaps
On an elliptic curve at \(O\), there is no order-one function. A basis indexed by pole order jumps from \(0\) to \(2\) and \(3\). This is one reason a table indexed by order is more flexible than a naive degree table.
Order calculus
For finite order, \(\mu_H(\Theta)=\deg H-H(Q)-v_Q(\Theta)\), where \(H(Q)\) denotes the coefficient at \(Q\). Consequently, if \(K\ge H\), then \(\mu_K(\Theta)=\mu_H(\Theta)+\deg(K-H)-(K-H)(Q)\). For functions of finite order, products satisfy
\[\mu_{H+H_0}(\Theta\Theta_0)=\mu_H(\Theta)+\mu_{H_0}(\Theta_0).\]This additivity is why the product table can be indexed by sums \(i+j\).
For a fixed divisor \(H\), put \(V_m=L(H+(m-\deg H)Q)\). Since \(Q\) is rational, the quotient \(V_m/V_{m-1}\) has dimension at most one: the new coefficient at \(Q\) lies in \(\mathbb F_q\). Choose one basis function for each nonzero quotient. These functions form a basis adapted to order, and functions of the same order have leading terms differing by a nonzero scalar.
Syndrome completion lemma
Use the filtration for \(H=A+A_0\) in the table below, and denote its basis function of order \(s\) by \(\phi_s\). Only orders through \(2t+3g-1\) are needed, as the termination argument below shows. Assume syndromes of all lower-order functions are known. If a product \(p\) has order \(s\), write \(p=\lambda\phi_s+p_{<s}\) with \(\lambda\ne0\). Knowing \(p\circ e\) determines \(\phi_s\circ e=(p\circ e-p_{<s}\circ e)/\lambda\). Every other product of order \(s\) is then handled by the same expansion.
Syndrome table and candidates
Set \(m_0=2t+2g-1\) and \(G_0=G-(\deg G-m_0)Q\le G\). Choose \(A\) of degree \(t\) disjoint from \(D\) and put \(A_0=G_0-A-(2g-1)Q\), also of degree \(t\). Choose bases \(\psi_i\) of \(L(A+(2g-1)Q)\) and \(\chi_j\) of \(L(A_0+(2g-1)Q)\) indexed by their respective finite orders. The table entries are
\[S_{ij}=\psi_i\chi_j\circ e.\]A product of order \(s=i+j\) belongs to \(L(G_0+(s-m_0)Q)\). In particular, entries with \(s\le\deg G\) lie in \(L(G)\) and are computable from the received vector. Compute the basis syndromes \(\phi_s\circ f=\phi_s\circ e\) in this initial order range as well; product entries alone need not supply every lower-order basis syndrome used in the completion lemma. For a target entry \((r,r_0)\), a row candidate has leading term \(\psi_r\) and vanishes against columns of order below \(r_0\); a column candidate has leading term \(\chi_{r_0}\) and vanishes against rows of order below \(r\). A test entry is one for which both candidates exist.
More explicitly, the normalized candidates have the forms
\[\Theta=\psi_r+\sum_{i<r}a_i\psi_i,\qquad \eta=\chi_{r_0}+\sum_{j<r_0}b_j\chi_j,\]with \((\Theta\chi_j)\circ e=0\) for \(j<r_0\) and \((\psi_i\eta)\circ e=0\) for \(i<r\). Each equation uses entries of order below \(r+r_0\), so the candidate coefficients are obtained from known linear systems.
Voting mechanism
For a missing order \(s\), consider a test entry \(S_{rr_0}\) with \(r+r_0=s\). Assuming the row candidate is a true locator gives one proposed value for the unknown syndrome of order \(s\). Assuming the column candidate is true gives the same proposed value. Duursma proves that correct votes outnumber incorrect votes.
The proposed value for the table entry is
\[S_{rr_0}^{\mathrm{vote}} =-\sum_{i<r}a_iS_{ir_0} =-\sum_{j<r_0}b_jS_{rj}.\]The two expressions agree because the candidate equations give \((\Theta\eta)\circ e=(\Theta\chi_{r_0})\circ e=(\psi_r\eta)\circ e\). Convert this proposed entry to a proposed value of \(\phi_s\circ e\) using the completion lemma. Votes from different entries are compared only after this conversion to the same basis syndrome.
The majority theorem is the key point: if all syndromes of order \(<s\) are known, \(s\ge 2g+2t\), and no locator has yet been found from the known rows or columns, then the test entries of order \(s\) vote, and the correct value wins by a positive margin. More precisely, in the notation of Chapter 3.3, correct votes exceed incorrect votes by at least
\[s-2g-2t+1>0.\]The positive margin guarantees the correct syndrome value at each step. Completing successive orders enlarges the known part of the table until a locator appears.
Why the vote determines the syndrome
The initial table entries are available because entries of product order at most \(\deg G\) come from functions in \(L(G)\), so their syndromes are computed from the received word. The completion lemma is triangular: once one order-\(s\) entry is known, its product expansion determines the basis syndrome \(\phi_s\circ e\) modulo already known lower-order terms, and then every other order-\(s\) entry follows by linearity.
For majority voting, a test entry of order \(s\) is correct whenever both the matching row and column orders contain true locators. If a test entry votes incorrectly, then neither of those two orders can contain a true locator; otherwise the candidate identity would force the true syndrome value. Propositions 3.5–3.7 of the source thesis count these alternatives over all pairs \(r+r_0=s\) and give the margin
\[\#\{\text{correct votes}\}-\#\{\text{incorrect votes}\}\ge s-2g-2t+1.\]The hypothesis \(s\ge2g+2t\) makes this margin positive.
Example 3: one unknown corner
In the cubic example, the syndrome table has a single unknown entry of highest order. Since it is the only test entry, the majority vote is trivial: the unique vote must be correct. This illustrates the mechanism without showing its full force.
Example 4: Klein quartic shows real majority voting
For the Klein quartic, the table has several unknown entries. Different row and column candidates generate competing votes. The positive voting margin determines the next syndrome value even when individual candidates vote incorrectly.
Algorithm outline
Duursma decoding proceeds as follows under the range hypothesis \(\deg G\ge2t+2g-1\).
- Compute the basis syndromes \(\phi_s\circ f\) and table entries of order at most \(\deg G\).
- Search fully known rows and columns, in increasing leading order, for an error locator.
- If no locator appears, identify the next unknown order \(s\).
- Form test entries and collect votes for the missing syndrome.
- Fill the syndrome value by majority and update all entries of that order.
- Return to the locator search.
- Once a locator is found, solve for error values using the completed syndromes in the divisor space specified below.
Termination and error-value recovery
Riemann-Roch gives \(\ell(A+gQ)\ge t+1\), so this space contains a nonzero function vanishing at the at most \(t\) error points. Its \(A\)-order is at most \(t+g\). Every product \(\psi_i\chi_j\) with \(i\le t+g\) and \(j\le t+2g-1\) has order at most
\[(t+g)+(t+2g-1)=2t+3g-1.\]Once these orders are completed, the corresponding row kernel contains a locator. The columns span \(L(A_0+(2g-1)Q)\), and \(\deg(A_0+(2g-1)Q)=t+2g-1\). The locator test from Article 07 therefore proves that each nonzero kernel element is a true locator. Thus the completion loop terminates by this order.
Suppose the selected locator \(\Theta\) has order \(u\), using either rows or columns, and let \(M\) be its zero set among the evaluation points. It lies in \(L(A+(u-t)Q)\) or \(L(A_0+(u-t)Q)\), whose bounding divisor has degree \(u\) and avoids the evaluation points. The corresponding effective divisor therefore gives \(\vert M\vert \le u\).
Since \(t\ge1\), Riemann-Roch ensures that the top row and column order \(t+2g-1\) occurs. A fully known row or column of order \(u\) therefore requires completion through order \(u+t+2g-1\). The basis syndromes now known give all syndromes for
\[Z=A+A_0+(u+2g-t-1)Q, \qquad \deg Z=u+t+2g-1.\]Solve against a basis of \(L(Z)\) for an error vector supported in \(M\). Two solutions would differ by a word of \(C_\Omega(D,Z)\) of weight at most \(u\), while its differential-code bound is \(\deg Z-(2g-2)=u+t+1>u\). The solution is therefore unique. This step uses the completed error syndromes, including those beyond the original known space \(L(G)\).
