Included Books
other
(in-package "ACL2")
include-book
(include-book "lambda-guard-verified-exec-fnsp")
include-book
(include-book "std/testing/assert-bang" :dir :system)
include-book
(include-book "std/testing/must-succeed-star" :dir :system)
other
(must-succeed* (defun f (x) (declare (xargs :verify-guards nil)) x) (defun g (x) (declare (xargs :verify-guards t)) x) (assert! (not (lambda-guard-verified-exec-fnsp '(lambda (x y) (cons (f x) (g (f y)))) (w state)))))
other
(must-succeed* (defun mycar (x) (declare (xargs :verify-guards nil)) (car x)) (assert! (not (lambda-guard-verified-exec-fnsp '(lambda (x y z) (cons (mycar z) (len y))) (w state)))) (defun f (x) (mbe :logic (mycar x) :exec (if (consp x) (car x) nil))) (assert! (lambda-guard-verified-exec-fnsp (make-lambda '(x) (body 'f nil (w state))) (w state))))