Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ordered coefficient and evaluation coordinates for polynomial matching

Definition
CatalyticTreeEval_PolynomialCoordinates

by sragavan · Nov 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

catalytic-computingmatching-vectorspolynomials

Given an ordered list of monomials, coefficient coordinates record a polynomial coefficient at each listed monomial, and evaluation coordinates record the value of that monomial at a point. Both vectors have dimension exactly the list length. A support-covering list allows their inner product to recover polynomial evaluation.

Definition code
import Definitions.Def_CatalyticTreeEval_Main_Polynomials

set_option autoImplicit false

namespace CatalyticTreeEval.Main

/-- The value of one monomial at a point, with a product over all variables. -/
noncomputable def monomialValue {m H : ℕ} (x : Vec m H) (v : Monomial H) : ZMod m :=
  ∏ j, x j ^ v j

/-- Coefficients in a supplied ordered list of monomials; absent coefficients are zero. -/
noncomputable def coefficientCoordinates {m H : ℕ} (f : Poly m H) (ms : List (Monomial H)) :
    Vec m ms.length := fun j => MvPolynomial.coeff (ms.get j) f

/-- Evaluation coordinates in the same supplied order as the coefficient coordinates. -/
noncomputable def evaluationCoordinates {m H : ℕ} (x : Vec m H) (ms : List (Monomial H)) :
    Vec m ms.length := fun j => monomialValue x (ms.get j)

end CatalyticTreeEval.Main
Source
Henzinger, Pyne and Ragavan, Catalytic Tree Evaluation from Matching Vectors, https://arxiv.org/html/2602.14320v3, Appendix B, Lemma B.4.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me