Filtering...

mbt-dollar

books/std/basic/mbt-dollar

Included Books

other
(in-package "ACL2")
include-book
(include-book "xdoc/constructors" :dir :system)
other
(defsection mbt$
  :parents (std/basic mbt)
  :short "Variant of @(tsee mbt) that allows any non-@('nil') value."
  :long (topstring (p "While @(tsee mbt)'s guard obligation requires
     the argument to be @(tsee equal) to @('t'),
     this variant only requires it to be @(tsee iff)-equivalent to @('t'),
     i.e. non-@('nil').")
    (@def "mbt$"))
  (defmacro mbt$
    (x)
    `(mbt (if ,X
        t
        nil))))