The restriction has degree at most the total degree
ProvedMIPRE.LowDegree.natDegree_lineRestrict_leA statement of the module MIPRE.Foundations.LowDegree.LineRestrict of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Restricting a polynomial to a line. The expansion stage's line measurements are indexed by the restriction to a line of the low-degree encoding of the ancilla's measurement outcome. This file is that operation: substitute the affine parametrization t -> u0 + t . w into a multivariate polynomial and read off the univariate coefficients. Two facts are all the consumers need: * eval_lineRestrict --- evaluating the restriction at t is evaluating the polynomial at the point u0 + t . w, so the restriction carries the same information along the line; * natDegree_lineRestrict_le --- the…
The restriction has degree at most the total degree.
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.LowDegree
open Finset
variable {F : Type*} [Field F] {m : ℕ}
theorem MIPRE.LowDegree.natDegree_lineRestrict_le (u₀ w : Fin m → F) (p : MvPolynomial (Fin m) F) :
(lineRestrict u₀ w p).natDegree ≤ p.totalDegree
Formalization Note MIPRE.LowDegree.natDegree_lineRestrict_le is declared in MIPRE/Foundations/LowDegree/LineRestrict.lean, lines 62–81. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
import Mathlib.Algebra.MvPolynomial.CommRing
import Mathlib.Algebra.MvPolynomial.Degrees
import Mathlib.Algebra.MvPolynomial.Eval
import Mathlib.Algebra.Polynomial.AlgebraMap
import Mathlib.Algebra.Polynomial.BigOperators
import Mathlib.Algebra.Polynomial.Degree.Lemmas
import Mathlib.Algebra.Polynomial.Eval.Degree
import Definitions.Def_MIPRE_Foundations_LowDegree_Encoding
import Definitions.Def_MIPRE_Foundations_LowDegree_LineRestrict
open MIPRE
open MIPRE.LowDegree
open Finset
variable {F : Type*} [Field F] {m : ℕ}theorem MIPRE.LowDegree.natDegree_lineRestrict_le (u₀ w : Fin m → F) (p : MvPolynomial (Fin m) F) :
(lineRestrict u₀ w p).natDegree ≤ p.totalDegree := by sorry