Included Books
other
(in-package "ACL2")
include-book
(include-book "ubody-plus")
include-book
(include-book "std/testing/assert-equal" :dir :system)
include-book
(include-book "std/testing/must-succeed-star" :dir :system)
other
(must-succeed* (defun p (x) (and (natp x) (natp 3))) (assert-equal (body 'p t (w state)) '(natp x)) (assert-equal (ubody+ 'p (w state)) '(if (natp x) (natp '3) 'nil)))
other
(assert-equal (ubody+ '(lambda (x y) (cons x (h '3))) (w state)) '(cons x (h '3)))
other
(assert-equal (ubody+ '(lambda (a) (h a '"abc")) (w state)) '(h a '"abc"))