Expand description
Test helpers for ACE codegen, available under the testing feature or #[cfg(test)].
These provide reference evaluators for symbolic expressions, periodic columns, constraint folding, quotient recomposition, and DAG evaluation, suitable for validating the ACE pipeline from both within ace-codegen tests and from downstream integration tests (e.g. in miden-air).
Functions§
- eval_
base_ expr - Evaluate a base-field symbolic expression at concrete inputs.
- eval_
dag - Evaluate a lowered DAG against concrete inputs.
- eval_
ext_ expr - Evaluate an extension-field symbolic expression at concrete inputs.
- eval_
folded_ constraints - Evaluate the folded constraint accumulator from symbolic constraints.
- eval_
periodic_ values - Evaluate periodic columns at a point by computing the polynomial in coefficient form via inverse DFT, then evaluating with Horner’s method.
- eval_
quotient - Evaluate the quotient recomposition at
zetausing provided inputs. - fill_
inputs - Deterministic input filler for layout-sized buffers.
- zps_
for_ chunk - Compute the barycentric kernel value (
zps) for a single quotient chunk.