Filtering...

ensure-function-is-guard-verified

books/kestrel/error-checking/ensure-function-is-guard-verified

Included Books

other
(in-package "ACL2")
include-book
(include-book "def-error-checker")
include-book
(include-book "std/system/function-namep" :dir :system)
include-book
(include-book "std/system/guard-verified-p" :dir :system)
other
(def-error-checker ensure-function-is-guard-verified
  ((fn (function-namep fn (w state)) "Function to check."))
  :parents (error-checking)
  :short "Cause an error if a function is not guard-verified."
  :body (((guard-verified-p fn (w state)) "~@0 must be guard-verified."
     description)))