Filtering...

ensure-function-is-logic-mode

books/kestrel/error-checking/ensure-function-is-logic-mode

Included Books

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