Implementation of defmin-int.
The implementation functions have formal parameters consistently named as follows: