Included Books
other
(in-package "ACL2")
include-book
(include-book "std/util/define" :dir :system)
include-book
(include-book "xdoc/constructors" :dir :system)
other
(define logical-name-listp (names (wrld plist-worldp)) :returns (yes/no booleanp) :verify-guards nil :parents (std/system/event-name-queries) :short "Recognize true lists of logical names." :long (topstring (p "See @('logical-namep') in the ACL2 source code.") (p "While @('logical-namep') is not boolean-valued, this function always returns a boolean.") (p "We cannot use @(tsee std::deflist) to define this function because that macro attempts to prove that @('logical-namep') is boolean-valued.")) (cond ((atom names) (null names)) (t (and (logical-namep (car names) wrld) (logical-name-listp (cdr names) wrld)))))