Filtering...

if-star

books/std/basic/if-star

Included Books

other
(in-package "ACL2")
include-book
(include-book "xdoc/constructors" :dir :system)
other
(defsection std/basic/if*
  :parents (std/basic if*)
  :short "Rules about @(tsee if*)."
  :long (topstring (p "These rules are unrelated to
     the special status of @(tsee if*) in BDD reasoning.
     These rules are useful when @(tsee if*) is used
     as a more controllable version of the built-in @(tsee if),
     e.g. so that ACL2 does not do unwanted case splits."))
  (defthmd if*-when-true (implies a (equal (if* a b c) b)))
  (defthmd if*-when-false
    (implies (not a) (equal (if* a b c) c)))
  (defthmd if*-when-same (equal (if* a b b) b)))
in-theory
(in-theory (disable if*))