pub fn enforce_movdnn_constraints<E: FieldElement>(
    frame: &EvaluationFrame<E>,
    result: &mut [E],
    op_flag: &OpFlags<E>
) -> usize
Expand description

Enforces constraints of the MOVDNn operation. The MOVDNn operation moves the top element to depth n in the stack. Therefore, the following constraints are enforced:

  • The top element in the current frame should be equal to the element at depth n in the next frame. s0 - sn` = 0.