Module miden_air::stack::system_ops

source ·

Constants

  • The degrees of constraints in the individual constraints of the system ops.
  • The number of unique transition constraints in the system operations.

Functions

  • Enforces unique constraints of the ASSERT operation. The ASSERT operation asserts the top element in the stack to ONE. Therefore, the following constraints are enforced:
  • Enforces constraints of the CLK operation. The CLK operation pushes the current cycle number to the stack. Therefore, the following constraints are enforced:
  • Enforces constraints of all the system operations.
  • Enforces unique constraints of the FMPADD operation. The FMPADD operation increments the top element in the stack by fmp register value. Therefore, the following constraints are enforced:
  • Enforces constraints of the FMPUPDATE operation. The FMPUPDATE operation increments the fmp register value by the first element value in the current trace. Therefore, the following constraints are enforced:
  • Returns the number of transition constraints required in all the system operations.
  • Builds the transition constraint degrees of all the system operations.