Low-degree extensions #
Let h : H ↪ F embed a finite set H of size |H| in a field F. Every function
f : (Fin m → H) → F on the grid H ^ m is the restriction of a polynomial of low degree: the
low-degree extension
lowDegreeExtension h f x = ∑ u, f u * ∏ i, L (u i) (x i), where L a is the Lagrange basis
polynomial of the node h a among the nodes h H
Babai, Fortnow, Levin, Szegedy,
Arora and Barak, Chapter 19. It agrees with f on the grid
(Cslib.Code.lowDegreeExtension_apply_embed) and is a codeword of the Reed–Muller code of degree
m * (|H| - 1) (Cslib.Code.lowDegreeExtension_mem_reedMuller). It is also the evaluation of a
polynomial of degree at most |H| - 1 in each variable
(Cslib.Code.exists_degreeOf_le_eval_eq_lowDegreeExtension), which is
Goldreich, Exercise 7.12. For H = {0, 1} it is the multilinear extension,
which is not stated here.
Low-degree extensions encode truth tables into Reed–Muller codewords: the truth table of a
function on n = m * b bits, read as a function on (BitString b) ^ m, extends to a polynomial
in m variables of total degree at most m * (2 ^ b - 1) over a field with at least 2 ^ b
elements. Informally, evaluating the extension at a point costs |H| ^ m terms, linear in the
size of the truth table, which is what makes encodings of functions computable in exponential time;
no running time is formalized in this module.
Main definitions #
Cslib.Code.lowDegreeExtension: the low-degree extension.
Main results #
Cslib.Code.lowDegreeExtension_apply_embed: it extendsf.Cslib.Code.lowDegreeExtension_mem_reedMuller: it is a Reed–Muller codeword.Cslib.Code.exists_degreeOf_le_eval_eq_lowDegreeExtension: it has individual degree at most|H| - 1(Goldreich, Exercise 7.12).
References #
- [L. Babai, L. Fortnow, L. Levin, M. Szegedy, Checking computations in polylogarithmic time] [BFLS91]
- S. Arora, B. Barak, Computational Complexity: A Modern Approach, Chapter 19
- O. Goldreich, Computational Complexity: A Conceptual Perspective, draft
r4.pdf(March 2007), Exercise 7.12 (printed p. 307)
The low-degree extension extends f: it agrees with f on the grid.
Low-degree extension with individual degree
Goldreich, Exercise 7.12: for H ⊆ F (here embedded by h) and every
f : H ^ m → F, there is an m-variate polynomial of degree at most |H| - 1 in each variable
that agrees with f on H ^ m. The polynomial evaluates to lowDegreeExtension h f everywhere.
The guideline's f̂ x = ∑ a, f a * ∏ i, ∏ b ≠ a i, (x i - b) / (a i - b) is this extension, since
∏ b ≠ a i, (x i - b) / (a i - b) is the Lagrange basis polynomial of a i. The source's F is
the finite field of the Theorem 7.12 construction; here F is any field.
The low-degree extension is a Reed–Muller codeword of degree m * (|H| - 1): its
polynomial has degree at most |H| - 1 in each of the m variables.