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