Pith. sign in

REVIEW 5 minor 14 references

Decoding Downset codes over a finite grid

T0 review · 0 major / 5 minor · reviewed 2026-08-14 · deepseek-v4-flash

Pith's one-line read A deterministic polynomial-time algorithm decodes every downset code over a finite grid up to half its minimum distance.

desk verdict A clean, correct generalization of the Kim-Kopparty decoder to downset codes; the one cited-but-unproved lemma is elementary, and the paper deserves a serious referee. read the letter →

arxiv 1908.07215 v1 pith:BCFNVT7A submitted 2019-08-20 cs.CC math.CO

classification cs.CCmath.CO MSC 94B3568W30
keywords downsetcodesuniquedecodingReed-MullerproductsetsweighteddistanceSchwartz-Zippellemmamonomialenumerationtheorempolynomialcode
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

The paper claims that the deterministic polynomial-time unique-decoding algorithm originally built for bounded-total-degree polynomials over a product grid can be adapted to decode every downset code over a finite grid. A downset code is specified by a monomial set $D$ that is closed under taking factors, and the code consists of all evaluations of polynomials whose monomials lie in $D$. The adaptation is a recursive decoder that, given a weighted received word, finds the unique codeword within weighted distance $\mu(S,D)/2$ whenever one exists, where $\mu(S,D)=\min_{\alpha\in D}|\nabla(\alpha)|$ is the code's minimum distance. This matters because downset codes package many natural polynomial code families---total-degree, individual-degree, weighted-degree, and support-size constraints---into one class with a uniform decoding procedure.

What carries the argument

The central object is the downset $D$, a finite set of monomials closed under taking factors; the code $C(S,D)$ evaluates all polynomials whose monomials lie in $D$, with each variable individually bounded by the grid size. The argument is carried by coefficient peeling along a distinguished variable: write every codeword as a polynomial in the last variable $Y$, decode each vertical line with the univariate weighted Reed-Solomon decoder, convert the recovered leading coefficients into a weighted word on the $(m-1)$-dimensional grid, and repeat. Three ingredients keep the recursion exact: Lemma 2 gives the minimum distance $\mu(S,D)=\min_{\alpha\in D}|\nabla(\alpha)|$, Lemma 3(2) bounds the distance of a sliced downset by the product of the slice distances, and Lemma 4 supplies the weighted-distance inequality that prevents two distinct codewords from both being inside the promised radius.

What would settle it

Search over a small instance, such as $S=\{0,1\}^2$ with the downset $D=\{1,X\}$ (so $\mu=2$), trying weighted received words with weights drawn from a fine grid and all distinct pairs $G,H\in C(S,D)$; if any triple satisfies $\Delta(w,G)+\Delta(w,H)<2$, then Lemma 4 is false and the theorem's proof does not close. Running the described decoder on that triple would then show whether it actually returns the wrong codeword.

Watch

Extended reading notes

Core claim

The central claim, Theorem 5, is that for every finite grid $S_1\times\cdots\times S_m$ over a field, every downset $D\subseteq M$, and every weighted received word $w:S\to F\times[0,1]$, there is a deterministic polynomial-time algorithm that outputs a codeword $C\in C(S,D)$ with $\Delta(w,C)<\mu(S,D)/2$ whenever such a $C$ exists. The algorithm decomposes a codeword as $\sum_{i=0}^d P_i(X)Y^{d-i}$, decodes each vertical line $\{x\}\times S_m$ as a univariate weighted Reed-Solomon code to recover the coefficient of $Y^{d-i}$, assembles those coefficients into a weighted word in the remaining $m-1$ variables, and recurses until the base case $m=1$. The proof shows by induction that the recovered coefficient polynomial at each level is exactly the true one, using the downset version of the Schwartz-Zippel lemma for the distance formula and the weighted-distance inequality of Lemma 4 to rule out two close codewords. The result subsumes product-set Reed-Muller decoding, individual-degree-bounded decoding, and linear decoding of multilinear polynomials over the Boolean cube.

Load-bearing premise

The load-bearing premise is Lemma 4, the weighted-distance triangle-type inequality, which is cited from the earlier paper and not proved here; if two distinct codewords could both sit within half the minimum distance of a weighted received word, the recursive decoder would have no way to choose correctly.

Editorial extensions

If this is right

  • Every downset code over a finite grid has a deterministic polynomial-time unique decoder up to half its minimum distance, with the radius computed directly from the monomial set $D$.
  • The decoder unifies previously separate settings: total-degree Reed-Muller codes over product sets, codes with individual degree bounds, weighted-degree codes, and multilinear decoding over the Boolean cube.
  • Because the minimum distance formula is explicit, designing a downset code comes with a computable decoding radius, not just an existence guarantee.
  • Weighted received words are supported throughout, so the decoder can take reliability information as input at every level of the recursion.
  • If no codeword lies within $\mu(S,D)/2$, the algorithm still runs in polynomial time and outputs an arbitrary polynomial, so the theorem is a true promise-style unique decoder.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • A testable extension is to run the same coefficient-peeling scheme on other families where a distance bound factors over a product structure; the proof suggests that only the distance inequality and the base decoder matter, not the grid's field geometry.
  • The repeated use of weighted received words means the decoder could plausibly serve as a subroutine in soft-decision or list-decoding pipelines, since those produce weights rather than hard symbol values.
  • The downset formulation gives a design knob for explicit codes: choosing a factor-closed monomial set shapes rate and distance, and this paper shows any such choice is decodable; constructing good downset codes for specific noise models is an obvious next step.
  • A more speculative consequence is that codes defined by other combinatorial closure properties, such as closure under a different partial order on monomials, may admit the same recursion if they have an analogous distance formula.
Share X Bluesky LinkedIn Reddit HN

Signed reviews

No signed human review yet.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

0 major / 5 minor

Summary. The paper studies unique decoding of downset codes over product grids. A downset code C(S,D) is the evaluation code of polynomials whose monomial support lies in a downset D. The main result (Theorem 5) is a deterministic polynomial-time algorithm, adapted from Kim and Kopparty, that given any weighted received word and a downset D finds the unique codeword at weighted distance < mu(S,D)/2, if it exists; if none exists, it outputs an arbitrary polynomial. The proof uses the Schwartz-Zippel lemma for downset codes (via Macaulay's theorem), a slicing lemma on the largest degree in the last variable, and induction on m with Forney's generalized-minimum-distance decoding for the m=1 base. The core inequality (1) is established by a case analysis, and the induction step uses Lemma 3 to bound mu(~S,D_{d-i}).

Significance. If the result holds, it provides a clean generalization of the Kim-Kopparty decoder to a natural and fairly general family of polynomial codes, subsuming total-degree, individual-degree, and multilinear cases. The paper is clearly written and the proof is rigorous; the external dependencies are standard and correctly cited. The main theorem gives an explicit algorithmic guarantee, and the manuscript does not rely on fitted parameters or circular reasoning. The main limitation is the reliance on the cited weighted-distance triangle inequality (Lemma 4), but this lemma is true and easy to verify in the specialized setting.

minor comments (5)
  1. [Algorithm 1, line 9] The pseudocode defines w_{i,x}(y) = w(x,y), but the proof and the preceding line require w_{i,x}(y) = w_i(x,y); additionally, the codomain should be F x [0,1] rather than F, since the decoder receives a weighted word. Please correct this so the pseudocode is self-contained and type-correct.
  2. [Theorem 5 and Section 2] The phrase 'weighted codeword' should be 'weighted received word', since w is not a codeword but the received word that is input to the decoder.
  3. [Lemma 4] Since this inequality is load-bearing for both the case analysis and the induction, please include the short pointwise proof or state it as a specialized corollary of [KK17, Lemma 2.1] with a few lines of argument; the current one-sentence reference is correct but less self-contained than the rest of the paper.
  4. [Algorithm 1, input comment] The comment 'finite grid in Fn' should be 'finite grid in F^m'; the grid is a product of m subsets of F.
  5. [Display before Inequality (1)] The notation Delta(f_i(x), P_i(x)) overloads Delta for a pointwise quantity; consider denoting this quantity by d_x to avoid confusion with the global distance Delta(f_i, P_i).

Circularity Check

0 steps flagged · score 0.0 of 10

No circularity found: the decoding theorem is an independent adaptation of an external algorithm, with all load-bearing lemmas either proved in-paper or cited from non-overlapping prior work.

full rationale

The claimed theorem (Theorem 5) is a new algorithmic result, and its derivation chain is self-contained apart from standard external ingredients. The minimum distance mu(S,D) is derived in Lemma 2 via a proved downset Schwartz-Zippel bound using Macaulay's theorem; the recursive slicing bound in Lemma 3 is proven in the paper. Lemma 4 (the weighted-distance triangle inequality) is cited to [KK17, Lemma 2.1], but this is not a self-citation: the authors of that paper are Kim and Kopparty, disjoint from the present authors, and the inequality is independently checkable for this paper's weighted distance—at each grid point the two weighted contributions sum to at least the Hamming contribution, giving Delta(w,G)+Delta(w,H) >= Delta(G,H). The main proof is an induction on m in which inequality (1) is established by a three-case analysis; no parameter is fitted to the target codeword, no output is assumed in the input, and no uniqueness theorem from the present authors is invoked. The only noted issues in the text are a pseudocode indexing typo (Algorithm 1, line 9, writes w(x,y) where w_{i,x}(y) is meant) and the inherited real-valued weights; neither constitutes a circular reduction. The paper is a legitimate adaptation of an external algorithm rather than a renaming or a fitted-input-as-prediction construction.

Assumptions & free parameters 0 free parameters · 6 assumptions · 0 invented entities

The central claim rests on standard algebraic facts (interpolation, Macaulay), the correctness of the Forney decoder, and a weighted-distance lemma from KK17. No fitted constants, no invented entities, and no circular self-citation are present.

assumptions (6)
  • standard math Multivariate interpolation: every function f:S->F has a unique representation as a polynomial with individual degrees < k_i (Fact 1).
    Defines the code space C(S,M) and the notion of evaluation; used throughout the algorithm and proof.
  • standard math Macaulay's theorem on counting monomials in the ideal of a zero set (Lemma 2 item 1).
    Provides the minimum distance formula mu(S,D) = min over alpha in D of |nabla(alpha)|, which sets the decoding radius.
  • domain assumption Correctness and polynomial-time guarantee of the weighted Reed-Solomon decoder of Forney (used as WeightedRSDecoder).
    The algorithm's base case and the per-coordinate step depend on this subroutine; its existence is cited to [Jr.66] and [KK17].
  • domain assumption Lemma 4: for distinct G,H in C(S,D), Delta(f,G)+Delta(f,H) >= Delta(G,H) >= mu(S,D) for any weighted f.
    The proof of the key inequality (1) invokes this lemma in cases (a) and (c); the proof is cited to [KK17, Lemma 2.1].
  • domain assumption The downset D is closed under factors, and the projections D_i = {beta | (beta,i) in D} are downsets with D0 superset ... superset D_d (Lemma 3 item 1).
    The recursive decomposition of the algorithm relies on these properties to apply the induction hypothesis to C(~S, D_{d-i}).
  • domain assumption The grid S is a product set S1 x ... x Sm with finite non-empty subsets S_i of the field F.
    The definition of the code, the unique representation Fact 1, and the recursive reduction all require the product structure.

how reviews work

0 comments
Cite this review

Pith. "Pith review of Decoding Downset codes over a finite grid." pith.science (2026). https://pith.science/paper/BCFNVT7A

@misc{pith2026190807215,
  author       = {Pith},
  title        = {Pith review of: Decoding Downset codes over a finite grid},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/BCFNVT7A}},
  note         = {Machine review of arXiv:1908.07215}
}
read the original abstract

In a recent paper, Kim and Kopparty (Theory of Computing, 2017) gave a deterministic algorithm for the unique decoding problem for polynomials of bounded total degree over a general grid. We show that their algorithm can be adapted to solve the unique decoding problem for the general family of Downset codes. Here, a downset code is specified by a family D of monomials closed under taking factors: the corresponding code is the space of evaluations of all polynomials that can be written as linear combinations of monomials from D.

Discussion (0). Continue with ORCID to comment.

Reference graph

Works this paper leans on

14 extracted references · 10 canonical work pages

  1. [1]

    Proof verification and the hardness of approximation problems

    Sanjeev Arora, Carsten Lund, Rajeev Motwani, Madhu Sudan, and Mario Szegedy. Proof verification and the hardness of approximation problems. J. ACM , 45(3):501--555, 1998

  2. [2]

    Non-deterministic exponential time has two-prover interactive protocols

    L \' a szl \' o Babai, Lance Fortnow, and Carsten Lund. Non-deterministic exponential time has two-prover interactive protocols. Computational Complexity , 1:3--40, 1991

  3. [3]

    BPP has subexponential time simulations unless EXPTIME has publishable proofs

    L \' a szl \' o Babai, Lance Fortnow, Noam Nisan, and Avi Wigderson. BPP has subexponential time simulations unless EXPTIME has publishable proofs. Computational Complexity , 3:307--318, 1993

  4. [4]

    Ideals, varieties, and algorithms

    David Cox, John Little, and Donal O'Shea. Ideals, varieties, and algorithms . Undergraduate Texts in Mathematics. Springer, New York, third edition, 2007. An introduction to computational algebraic geometry and commutative algebra

  5. [5]

    DeMillo and Richard J

    Richard A. DeMillo and Richard J. Lipton. A probabilistic remark on algebraic program testing. Inf. Process. Lett. , 7(4):193--195, 1978

  6. [6]

    David Forney Jr

    G. David Forney Jr. Generalized minimum distance decoding. IEEE Trans. Information Theory , 12(2):125--131, 1966

  7. [7]

    Kim and Swastik Kopparty

    John Y. Kim and Swastik Kopparty. Decoding reed-muller codes over product sets. Theory of Computing , 13(21):1--38, 2017

  8. [8]

    Karloff, and Noam Nisan

    Carsten Lund, Lance Fortnow, Howard J. Karloff, and Noam Nisan. Algebraic methods for interactive proof systems. J. ACM , 39(4):859--868, 1992

Show all 14 references
  1. [9]

    F. S. Macaulay. Some properties of enumeration in the theory of modular systems. Proceedings of the London Mathematical Society , s2-26(1):531--555, 1927

  2. [10]

    Irving S. Reed. A class of multiple-error-correcting codes and the decoding scheme. Trans. of the IRE Professional Group on Information Theory (TIT) , 4:38--49, 1954

  3. [11]

    Schwartz

    Jacob T. Schwartz. Fast probabilistic algorithms for verification of polynomial identities. J. ACM , 27(4):701--717, 1980

  4. [12]

    IP = PSPACE

    Adi Shamir. IP = PSPACE . J. ACM , 39(4):869--877, 1992

  5. [13]

    Madhu Sudan, Luca Trevisan, and Salil P. Vadhan. Pseudorandom generators without the XOR lemma. J. Comput. Syst. Sci. , 62(2):236--266, 2001

  6. [14]

    Probabilistic algorithms for sparse polynomials

    Richard Zippel. Probabilistic algorithms for sparse polynomials. In Symbolic and Algebraic Computation, EUROSAM '79, An International Symposiumon Symbolic and Algebraic Computation, Marseille, France, June 1979, Proceedings , pages 216--226, 1979

Pith tools

Reviewed August 14, 2026 · model on record in the stance chip above.