Filtering...

add-io-pairs-tests-sub-1

books/std/util/add-io-pairs-tests-sub-1

Included Books

other
(in-package "ACL2")
include-book
(include-book "add-io-pairs")
gfunction
(defun g
  (x y)
  (declare (xargs :guard (and (natp x) (natp y))))
  (mv (non-exec (* 10 x)) (* 10 y)))
g2function
(defun g2
  (x)
  (declare (xargs :guard (natp x)))
  (non-exec (* 100 x)))
other
(add-io-pair (g 100 7) (mv 1000 70))
other
(add-io-pair (g 700 7) (mv 7000 70))
other
(add-io-pair (g2 7) 700)