Enforces constraints for the stack manipulation operations.
Enforces constraints of the CSWAP and CSWAPW operation. Each of the operation effects
the stack in the following way:
Enforces constraints of the DUPn and MOVUPn operations. The DUPn operation copies the element
at depth n in the stack and pushes the copy onto the stack, whereas MOVUPn opearation moves the
element at depth n to the top of the stack. Therefore, the following constraints are enforced:
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:
Enforces constraints of the PAD operation. The PAD operation pushes a ZERO onto
the stack. Therefore, the following constraints are enforced:
Enforces constraints of the SWAP operation. The SWAP operation swaps the first
two elements in the stack. Therefore, the following constraints are enforced:
Enforces constraints of all the SWAP{W, W2, W3, DW} operations. Each of the operation
effects the stack in the following way:
Returns the number of transition constraints for the stack manipulation operations.
Builds the transition constraint degrees for the stack manipulation operations.