Filtering...

theorem-namep-tests

books/std/system/theorem-namep-tests

Included Books

other
(in-package "ACL2")
include-book
(include-book "theorem-namep")
include-book
(include-book "std/testing/assert-bang" :dir :system)
include-book
(include-book "std/testing/must-succeed-star" :dir :system)
other
(assert! (theorem-namep 'car-cdr-elim (w state)))
other
(assert! (not (theorem-namep 'cons (w state))))
other
(assert! (not (theorem-namep 'aaaaaaaaa (w state))))
other
(must-succeed* (defthm th (acl2-numberp (+ x y)))
  (assert! (theorem-namep 'th (w state))))
other
(assert! (not (theorem-namep 8 (w state))))
other
(assert! (not (theorem-namep "car-cdr-elim" (w state))))