Get the trap field from a bool-format.
(bool-format->trap x) → trap
This is an ordinary field accessor created by fty::defprod.
Function:
(defun bool-format->trap$inline (x) (declare (xargs :guard (bool-formatp x))) (declare (xargs :guard t)) (mbe :logic (b* ((x (and t x))) (identity (cdr (std::da-nth 2 x)))) :exec (cdr (std::da-nth 2 x))))
Theorem:
(defthm any-p-of-bool-format->trap (b* ((trap (bool-format->trap$inline x))) (acl2::any-p trap)) :rule-classes :rewrite)
Theorem:
(defthm bool-format->trap$inline-of-bool-format-fix-x (equal (bool-format->trap$inline (bool-format-fix x)) (bool-format->trap$inline x)))
Theorem:
(defthm bool-format->trap$inline-bool-format-equiv-congruence-on-x (implies (bool-format-equiv x x-equiv) (equal (bool-format->trap$inline x) (bool-format->trap$inline x-equiv))) :rule-classes :congruence)