Included Books
other
(in-package "ACL2")
include-book
(include-book "assert-bang")
other
(defsection must-not-be-table-key :parents (std/testing) :short "A top-level @(tsee assert$)-like command to ensure that a @(see table) does not include a certain key." :long "@(def must-not-be-table-key)" (defmacro must-not-be-table-key (key table) (declare (xargs :guard (and (symbolp key) (symbolp table)))) `(assert! (not (assoc-eq ',KEY (table-alist ',TABLE (w state)))))))