Max
The larger of two numbers
(Max x y) is the larger of the numbers x and y.
The guard for max requires its arguments to be rational (real, in ACL2(r)) numbers.
Max is a Common Lisp function. See any Common Lisp documentation for
more information.
Function: max
(defun max (x y)
(declare (xargs :guard (and (real/rationalp x)
(real/rationalp y))))
(if (> x y) x y))