Get the bits field from a feat.
(feat->bits x) → bits
This is an ordinary field accessor created by fty::defprod.
Function:
(defun feat->bits$inline (x) (declare (xargs :guard (featp x))) (declare (xargs :guard t)) (let ((__function__ 'feat->bits)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (feat-bits-fix (cdr (std::da-nth 0 x)))) :exec (cdr (std::da-nth 0 x)))))
Theorem:
(defthm feat-bitsp-of-feat->bits (b* ((bits (feat->bits$inline x))) (feat-bitsp bits)) :rule-classes :rewrite)
Theorem:
(defthm feat->bits$inline-of-feat-fix-x (equal (feat->bits$inline (feat-fix x)) (feat->bits$inline x)))
Theorem:
(defthm feat->bits$inline-feat-equiv-congruence-on-x (implies (feat-equiv x x-equiv) (equal (feat->bits$inline x) (feat->bits$inline x-equiv))) :rule-classes :congruence)