Returns all postconditions merged into a single function
Returns all postconditions merged into a single function
A postcondition is a function that takes three parameters, s0, s1 and r.
A postcondition is a function that takes three parameters, s0, s1 and r. s0 is the abstract state before the command was run, s1 is the abstract state after the command was run, and r is the result from the command's run method. The postcondition function should return a Boolean (or a Prop instance) that says if the condition holds or not. You can add several conditions to the postConditions list.
Returns all preconditions merged into a single function
Returns all preconditions merged into a single function
A precondition is a function that takes the current abstract state as parameter and returns a boolean that says if the precondition is fulfilled or not.
A precondition is a function that takes the current abstract state as parameter and returns a boolean that says if the precondition is fulfilled or not. You can add several conditions to the precondition list
Used internally.
Used internally.
A command that binds its result for later use